emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pinard@iro.umontreal.ca (François Pinard)
To: emacs-orgmode@gnu.org
Subject: C-u C-c C-q bug (I presume)
Date: Sun, 04 Mar 2012 23:26:59 -0500	[thread overview]
Message-ID: <87ipijhdv0.fsf@iro.umontreal.ca> (raw)

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.


François

                 reply	other threads:[~2012-03-05  4:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87ipijhdv0.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --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).