emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Gustavo Barros <gusbrs.2016@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87wogrttoy.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87lfx9vpq2.fsf@gmail.com> (Gustavo Barros's message of "Sun, 07 Jul 2019 12:19:13 -0300")

Hello,

Gustavo Barros <gusbrs.2016@gmail.com> 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	other threads:[~2019-07-09  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-07 15:19 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/)] Gustavo Barros
2019-07-09  9:59 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wogrttoy.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=gusbrs.2016@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).