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: Sat, 14 May 2022 08:17:08 +0300 [thread overview]
Message-ID: <8335hcn163.fsf@gnu.org> (raw)
In-Reply-To: <871qwx1gbx.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 13 May 2022 19:40:34 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: joostkremers@fastmail.fm, 55387@debbugs.gnu.org
> Date: Fri, 13 May 2022 19:40:34 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> I know. We would introduce such a variable and (offer to) use it in
> >> header-line-mode.
> >
> > That's impossible, because the value depends on the buffer position.
>
> We only care about the value of the first (displayed) line after the
> header line, so the new variable would only be updated when we're
> computing that line. I.e., line 1.
Maybe in this particular mode, but it isn't always true.
And I don't really understand what will such a variable solve. If
some Lisp program can use a value of a variable, it can also call a
function and use its return value, no?
(In any case, we cannot provide a simple variable, because the value
depends on the window -- if the same buffer is displayed in several
windows, the value could be different in each one of those windows.)
prev parent reply other threads:[~2022-05-14 5:17 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
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 [this message]
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=8335hcn163.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.