all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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 16:36:22 +0300	[thread overview]
Message-ID: <83mtflmu5l.fsf@gnu.org> (raw)
In-Reply-To: <87ee0xvblm.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri,  13 May 2022 14:52:21 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 55387@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
> Date: Fri, 13 May 2022 14:52:21 +0200
> 
> I'm surprised that that's necessary -- surely
> `display-line-numbers-mode' should itself fix up the header line?  That
> is, there should be a header line format construct that modes can add to
> the front of `header-line-format' that's controlled by
> `display-line-numbers-mode'.
> 
> Eli, does this sound like a plan to you?

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?

Also, display-line-numbers-mode is not really a mode, in the sense
that there's no mode-specific code anywhere.  It's basically a
variable that tells redisplay to do or not do something.  So I don't
think I understand how can this "mode" control anything?





  reply	other threads:[~2022-05-13 13:36 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 [this message]
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
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mtflmu5l.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.