From: Bastien <bzg@gnu.org>
To: Samuel Wales <samologist@gmail.com>
Cc: Emacs-orgmode list <emacs-orgmode@gnu.org>,
Susan Cragin <susancragin@earthlink.net>
Subject: Re: M-right does not demote some subheadings in a region
Date: Sun, 19 Jan 2014 16:51:05 +0100 [thread overview]
Message-ID: <87k3dw9dhy.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAJcAo8tw4w_nVWvfkW+Bn2cbZON4JctMTJTpdk+Mf+SNCwwFmw@mail.gmail.com> (Samuel Wales's message of "Fri, 17 Jan 2014 16:36:10 -0700")
Hi Samuel,
Samuel Wales <samologist@gmail.com> writes:
> It seems to work. Thank you, Bastien.
>
> I wasn't sure if this was the same bug as Susan's, but it seems to
> be.
Yes it is.
> Why does folding affect semantics?
Folding affects any function that has to deal with the visibility
state of the text.
When promoting or demoting a (set of) subtree, tags get re-aligned
automatically. Re-aligning tags possibly manipulates invisible text
(for example when the headline contains a bracket link), so that's
where the bug came from: after aligning the tags, the point was not
left where it should be, and some subtrees where skipped instead of
being promoted/demoted.
--
Bastien
next prev parent reply other threads:[~2014-01-19 15:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-13 2:49 M-right does not demote some subheadings in a region Samuel Wales
2014-01-15 16:36 ` Bastien
2014-01-17 23:36 ` Samuel Wales
2014-01-19 15:51 ` Bastien [this message]
2014-01-21 2:41 ` Samuel Wales
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3dw9dhy.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
--cc=susancragin@earthlink.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.