From: Ingo Lohmar <i.lohmar@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: org-indent-mode incomplete refresh after org-toggle-heading [8.3.2 (8.3.2-51-g713fe8-elpaplus @ /home/il/.emacs.d/elpa/org-plus-contrib-20151221/)]
Date: Fri, 01 Jan 2016 22:56:08 +0100 [thread overview]
Message-ID: <87lh89rmkn.fsf@acer.localhost.com> (raw)
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
emacs -nw -q testfile,
M-x org-mode
M-x org-indent-mode
Enter following plain list:
- item1
- item1.1
- item2
Move to first line ("item1") and C-c * to org-toggle-heading. "item1"
becomes a heading (ok), "item1.1" gets line/wrap prefix for indentation
(ok), but "item2" is not affected at all.
I believe the last list item should get the prefixes as well, as it
belongs to the same subtree.
The same thing happens in a large tree structure (ie, it does not depend
on the first or the only heading being inserted). Debugging the
after-change function was sketchy (sometimes it was applied in a
narrowed buffer of zero length etc), but it seems that
org-indent-refresh-maybe does *not* realize it has affected a headline
and should work with the whole subtree.
Emacs : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.5)
of 2015-12-11
Package: Org-mode version 8.3.2 (8.3.2-51-g713fe8-elpaplus @ /home/il/.emacs.d/elpa/org-plus-contrib-20151221/)
next reply other threads:[~2016-01-01 21:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-01 21:56 Ingo Lohmar [this message]
2016-01-02 13:14 ` Bug: org-indent-mode incomplete refresh after org-toggle-heading [8.3.2 (8.3.2-51-g713fe8-elpaplus @ /home/il/.emacs.d/elpa/org-plus-contrib-20151221/)] Nicolas Goaziou
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=87lh89rmkn.fsf@acer.localhost.com \
--to=i.lohmar@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).