From: Lars Ingebrigtsen <larsi@gnus.org>
To: Len Trigg <lenbok@gmail.com>
Cc: 50498@debbugs.gnu.org
Subject: bug#50498: 28.0.50; csv-mode header line is not literal
Date: Fri, 10 Sep 2021 13:26:42 +0200 [thread overview]
Message-ID: <87k0jopt71.fsf@gnus.org> (raw)
In-Reply-To: <CAOGVwem7CMC8VXCTL+T5YaDdHB9=sM8zS1V+vFV4m4SbdvcKqg@mail.gmail.com> (Len Trigg's message of "Fri, 10 Sep 2021 15:09:16 +1200")
Len Trigg <lenbok@gmail.com> writes:
> csv-mode seems to interpret column names as format strings when header
> line is enabled. To reproduce, create the following as (say) foo.csv:
>
> --------------------
> column1 %column2 column3
> a b c
> --------------------
>
> Load this file and ensure that csv-mode is enabled, and call
> `csv-header-line` to turn on the header line. The header line that
> appears substitutes the current cursor column position number into the
> %c of the second column name in the header (it is even updated as the
> cursor is moved around). The header line should be literal.
Yup. I've now pushed a fix for this to GNU ELPA.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2021-09-10 11:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 3:09 bug#50498: 28.0.50; csv-mode header line is not literal Len Trigg
2021-09-10 11:26 ` Lars Ingebrigtsen [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
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=87k0jopt71.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=50498@debbugs.gnu.org \
--cc=lenbok@gmail.com \
/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).