GNU bug report logs - #50498
28.0.50; csv-mode header line is not literal

Previous Next

Package: emacs;

Reported by: Len Trigg <lenbok <at> gmail.com>

Date: Fri, 10 Sep 2021 03:10:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Len Trigg <lenbok <at> gmail.com>
Cc: 50498 <at> 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
Len Trigg <lenbok <at> 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




This bug report was last modified 3 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.