all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: Eli Zaretskii <eliz@gnu.org>, 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 14:52:21 +0200	[thread overview]
Message-ID: <87ee0xvblm.fsf@gnus.org> (raw)
In-Reply-To: <87wneq7oeb.fsf@fastmail.fm> (Joost Kremers's message of "Thu, 12 May 2022 17:33:37 +0200")

Joost Kremers <joostkremers@fastmail.fm> writes:

> Eli Zaretskii suggested this can be fixed by doing something similar
> to what tabulated-list-mode does. I'm not sure I'll find time to dive
> into that any time soon, so I'm posting here to make sure the issue
> isn't forgotten.

I had a look at what tabulated-list-mode does, and it's a lot of code.
(And it doesn't really work well -- toggling the line numbers on and
then off again doesn't restore the column names).

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?

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





  reply	other threads:[~2022-05-13 12:52 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 [this message]
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
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=87ee0xvblm.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55387@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /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.