emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Plain list indentation on 'org-indent-item' with 'org-list-


From: Nicolas Goaziou
Subject: Re: [O] 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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hello,

Gustavo Barros <address@hidden> writes:

> 'org-indent-item' disrupts indentation of lines other than the first one of a 
> given item when 'org-list-demote-modify-bullet' is non-nil.  More precisely, 
> the lines below the first one get one extra space upon "org-metaright".
>
> Steps to reproduce:
>
> - Start with =emacs -Q=
>
> - Get the latest installed Org version with =M-x package-initialized RET=
>
> - Evaluate:
>
>   #+begin_src emacs-lisp
>   (setq org-list-demote-modify-bullet
>         '(("+" . "-") ("-" . "+") ("*" . "+")))
>   #+end_src
>
>   (That’s literally the example of the manual).
>
> - Then find Org file with following contents with point placed where "|" 
>   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 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
>
>     #+begin_src emacs-lisp
>     (+ 1 1)
>     #+end_src
>
>
>     #+RESULTS:
>     : 2
>   #+end_verbatim
>
> - Use "<M-right>" 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 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
>
>        #+begin_src emacs-lisp
>        (+ 1 1)
>        #+end_src
>
>
>        #+RESULTS:
>        : 2
>   #+end_verbatim

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]