[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43272: 27.1; variable-pitch-mode misaligns org-mode heading tags
From: |
Eli Zaretskii |
Subject: |
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@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.