GNU bug report logs - #43272
27.1; variable-pitch-mode misaligns org-mode heading tags

Previous Next

Package: emacs;

Reported by: Protesilaos Stavrou <info <at> protesilaos.com>

Date: Tue, 8 Sep 2020 10:14:02 UTC

Severity: normal

Found in version 27.1

Done: Bastien <bzg <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 43272 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Protesilaos Stavrou <info <at> protesilaos.com>
Cc: 43272 <at> debbugs.gnu.org
Subject: Re: bug#43272: 27.1;
 variable-pitch-mode misaligns org-mode heading tags
Date: Tue, 08 Sep 2020 17:41:23 +0300
> From: Protesilaos Stavrou <info <at> protesilaos.com>
> Date: Tue, 08 Sep 2020 13:13:04 +0300
> 
> 1. Run 'emacs -Q'
> 2. Open a new Org file 'C-x C-f /tmp/test.org'
> 3. Insert the following contents:
> 
> * TODO this is a test                                                   :tag:
> * TODO here is another test                                             :tag:
> 
> The tags should align to the right with the standard monospaced font.
> 
> 4. Run 'M-x variable-pitch-mode'.
> 5. The tags are now misaligned.
> 
> Please see attached screenshots for the before and after states of the
> 'variable-pitch-mode' activation.

This is the expected behavior: with variable-pitch fonts, characters
no longer have the same width, so aligning text by counting columns no
longer works.  You need pixel-level alignment.

This should be fixed in Org, I think.




This bug report was last modified 4 years and 251 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.