emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* C-u C-c C-q bug (I presume)
@ 2012-03-05  4:26 François Pinard
  0 siblings, 0 replies; only message in thread
From: François Pinard @ 2012-03-05  4:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi, Org maintainers.

For a long while, I've been redoing C-u C-c C-q from time to time for
realigning tags, not understanding why or when they stop to be aligned.

I just got a clue.  I'm not sure it covers everything, but at least, it
is a start and seems reproducible here.  If I do C-u C-c C-q, all
visible tags are getting aligned as expected.  However, tags on
collapsed entries lose the correct alignment they already have, not
always, but for those sub-headers containing a link, and only those.

If I expand all again, I see the misalignment, which C-u C-c C-q
corrects.  If I close once more, repeat C-u C-c C-q, the alignment is
lost again within the headers (having links) now invisible.

Another small detail, which might be another problem in the same area.
I noticed that C-d between the end of header and a tag does not remove a
space as I expected.  This is nice actually, it protects the tag
alignment.  However, if the header is not top-level, C-d /adds/ one or
more spaces and consequently shifts the tag to the right.  One space is
added per header-level.  That is, for top level headers, things are OK.
For headers just under top level, one space is added.  For headers one
level deeper, two spaces are added.  Etc.  The fact that the header
contains a link or not seems irrelevant for this second problem.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-05  4:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05  4:26 C-u C-c C-q bug (I presume) François Pinard

Code repositories for project(s) associated with this public inbox


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).