GNU bug report logs - #55387
28.1.50; csv-mode: header does not align when line numbers are displayed

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Thu, 12 May 2022 15:38:02 UTC

Severity: normal

Tags: moreinfo

Found in version 28.1.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: joostkremers <at> fastmail.fm, 55387 <at> debbugs.gnu.org
Subject: bug#55387: 28.1.50; csv-mode: header does not align when line numbers are displayed
Date: Fri, 13 May 2022 19:01:23 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: joostkremers <at> fastmail.fm,  55387 <at> debbugs.gnu.org
> Date: Fri, 13 May 2022 17:52:11 +0200
> 
> I don't really understand your point here, so I'm probably
> misunderstanding something fundamental.  My thought was just that the
> thing that produces the line number would set a
> line-number-width/columns variable.

There's no such variable.  line-number-display-width is a function, it
computes the result anew when called.

> > Btw, isn't it true that the problem is not in displaying the
> > header-line, but in adjusting the alignment of the _body_ of the table
> > to the changes in header-line (which happen automatically)?  In which
> > case how will header-line construct help?
> 
> The header line isn't adjusted automatically by display-line-number-mode.

Does the problem happen only when display-line-number-mode is turned
on or off?  Or does it happen on other occasions, and if so, which
ones?

And what triggers recalculation of the header-line-format in this
mode?  That trigger is different between different users of modes like
this one, so coming up with a one-fits-all solution is not easy, if at
all possible.




This bug report was last modified 3 years and 11 days ago.

Previous Next


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