From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Bad alignment of grouped tags in fast selection dialog [9.2.1 (release_9.2.1-60-gb0379f @ /home/carlos/local/stow/emacs/share/emacs/site-lisp/org/)] Date: Wed, 13 Feb 2019 13:06:12 +0100 Message-ID: <87r2cbuc3v.fsf@nicolasgoaziou.fr> References: <87bm3gepff.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gttJ9-0005wy-1i for emacs-orgmode@gnu.org; Wed, 13 Feb 2019 07:06:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gttJ4-0001ff-HC for emacs-orgmode@gnu.org; Wed, 13 Feb 2019 07:06:30 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:34363) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gttIv-0001VZ-JV for emacs-orgmode@gnu.org; Wed, 13 Feb 2019 07:06:23 -0500 In-Reply-To: (Carlos Pita's message of "Tue, 12 Feb 2019 18:24:05 -0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Carlos Pita Cc: emacs-orgmode Hello, Carlos Pita writes: > Not a big deal, but here is a slightly better fix that avoids adding > some spaces before the closing }. > > The difference wrt to the previous one is just: > > - (unless (memq (caar tbl) '(:endgroup :endgrouptag)) (insert "\n")) > - (when (or ingroup intaggroup) (insert " ")) > + (unless (memq (caar tbl) '(:endgroup :endgrouptag)) > + (insert "\n") > + (when (or ingroup intaggroup) (insert " "))) > > That is, the when clause is inside the unless clause. Applied. Thank you. Regards, -- Nicolas Goaziou