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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.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 15:41:50 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> I don't think I understand how this could work.  The line-number width
> is not fixed, it changes dynamically as needed.  How would the
> header-line adapt itself, except in some hook that is called by
> redisplay?

header-line-format would look like

(display-line-spaces <the rest>)

where display-line-spaces would indeed be updated by the redisplay code
(to be of the same length as (line-number-display-width 'columns)).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.