From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: joostkremers@fastmail.fm, 55387@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 [thread overview]
Message-ID: <83a6blmnfw.fsf@gnu.org> (raw)
In-Reply-To: <875ym92zx0.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 13 May 2022 17:52:11 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: joostkremers@fastmail.fm, 55387@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.
next prev parent reply other threads:[~2022-05-13 16:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 15:33 bug#55387: 28.1.50; csv-mode: header does not align when line numbers are displayed Joost Kremers
2022-05-13 12:52 ` Lars Ingebrigtsen
2022-05-13 13:36 ` Eli Zaretskii
2022-05-13 13:41 ` Lars Ingebrigtsen
2022-05-13 14:12 ` Eli Zaretskii
2022-05-13 14:20 ` Eli Zaretskii
2022-05-13 15:55 ` Eli Zaretskii
2022-05-13 15:52 ` Lars Ingebrigtsen
2022-05-13 16:01 ` Eli Zaretskii [this message]
2022-05-13 16:04 ` Lars Ingebrigtsen
2022-05-13 17:09 ` Eli Zaretskii
2022-05-13 17:40 ` Lars Ingebrigtsen
2022-05-13 17:41 ` Lars Ingebrigtsen
2022-05-13 18:14 ` Lars Ingebrigtsen
2022-05-13 19:48 ` Lars Ingebrigtsen
2022-05-14 5:56 ` Eli Zaretskii
2022-05-14 11:28 ` Lars Ingebrigtsen
2022-05-14 11:34 ` Eli Zaretskii
2022-05-14 5:17 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a6blmnfw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=55387@debbugs.gnu.org \
--cc=joostkremers@fastmail.fm \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).