From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) Subject: C-u C-c C-q bug (I presume) Date: Sun, 04 Mar 2012 23:26:59 -0500 Message-ID: <87ipijhdv0.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4PVo-000440-5x for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 23:27:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4PVm-00076R-FY for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 23:27:03 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:59888 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4PVm-00076D-Am for emacs-orgmode@gnu.org; Sun, 04 Mar 2012 23:27:02 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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=C3=A7ois