From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Plain list indentation on 'org-indent-item' with 'org-list-demote-modify-bullet' [9.2.4 (9.2.4-3-g7bc6f8-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190701/)] Date: Tue, 09 Jul 2019 11:59:09 +0200 Message-ID: <87wogrttoy.fsf@nicolasgoaziou.fr> References: <87lfx9vpq2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51889) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkmuA-0003NB-Ae for emacs-orgmode@gnu.org; Tue, 09 Jul 2019 05:59:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkmu9-0008PD-9r for emacs-orgmode@gnu.org; Tue, 09 Jul 2019 05:59:22 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:58387) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkmu9-0008M8-26 for emacs-orgmode@gnu.org; Tue, 09 Jul 2019 05:59:21 -0400 In-Reply-To: <87lfx9vpq2.fsf@gmail.com> (Gustavo Barros's message of "Sun, 07 Jul 2019 12:19:13 -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: Gustavo Barros Cc: emacs-orgmode@gnu.org Hello, Gustavo Barros writes: > 'org-indent-item' disrupts indentation of lines other than the first one = of a=20 > given item when 'org-list-demote-modify-bullet' is non-nil. More precise= ly,=20 > the lines below the first one get one extra space upon "org-metaright". > > Steps to reproduce: > > - Start with =3Demacs -Q=3D > > - Get the latest installed Org version with =3DM-x package-initialized RE= T=3D > > - Evaluate: > > #+begin_src emacs-lisp > (setq org-list-demote-modify-bullet > '(("+" . "-") ("-" . "+") ("*" . "+"))) > #+end_src > > (That=E2=80=99s literally the example of the manual). > > - Then find Org file with following contents with point placed where "|"= =20 > indicates: > > #+begin_verbatim > - foo > - |bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar = baz > bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar b= az > bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar b= az > bar baz bar baz bar baz > > #+begin_src emacs-lisp > (+ 1 1) > #+end_src > > > #+RESULTS: > : 2 > #+end_verbatim > > - Use "" to indent the second item, the result is: > > #+begin_verbatim > - foo > + bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar= baz > bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar baz ba= r baz > bar baz bar baz bar baz bar baz bar baz bar baz bar baz bar baz ba= r baz > bar baz bar baz bar baz > > #+begin_src emacs-lisp > (+ 1 1) > #+end_src > > > #+RESULTS: > : 2 > #+end_verbatim Fixed. Thank you. Regards, --=20 Nicolas Goaziou