[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56176: 28.1.50; csv-align-mode misaligns when display-line-numbers-m
From: |
Eli Zaretskii |
Subject: |
bug#56176: 28.1.50; csv-align-mode misaligns when display-line-numbers-mode is on |
Date: |
Mon, 27 Jun 2022 16:03:47 +0300 |
> Cc: Joost Kremers <joostkremers@fastmail.fm>, 56176@debbugs.gnu.org
> Date: Mon, 27 Jun 2022 08:55:07 -0400
> From: Stefan Monnier via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> I'm not sure the problem is on `csv-mode.el`, tho.
> I just tried it on a TSV file of mine where I can indeed see incorrect
> alignment (tho it is correct both when displaying the leftmost columns
> and when displaying the rightmost column: the errors show up only when
> I scrolled in the middle for me).
>
> But when I look with `C-u C-x =` at the TAB separator between two
> columns, I see that two misaligned separators both show:
>
> display (space :align-to 63)
>
> and when I try `M-: (current-column)` I see that one of them says 60 and
> the other says 61, so both elastic spaces *should* end at the same
> column 63, AFAICT, even tho they clearly don't on my screen. Also, the
> 60 -vs- 61 is odd because the column position on screen of those two
> positions differs by 3 rather than by 1, according to my eyes.
>
> So, my crystal ball suggests the error might be in the redisplay.
A recipe starting from "emacs -Q", preferably without csv-mode at all,
would be appreciated.