GNU bug report logs - #52208
Changing `csv-separators' in `csv-mode' does not work

Previous Next

Package: emacs;

Reported by: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>

Date: Tue, 30 Nov 2021 21:18:01 UTC

Severity: normal

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
To: bug-gnu-emacs <at> gnu.org
Subject: Changing `csv-separators' in `csv-mode' does not work
Date: Tue, 30 Nov 2021 22:17:28 +0100
Changing the value of `csv-separators' /e.g./ to

  (setq csv-separators '(";"))

(from it's default value) while in an Emacs session does not have any
effect.  Putting this in a config and re-starting Emacs works, though.

When using `csv-align-mode' it's prudent to have just one "CSV
separator", otherwise things will look ugly if you happen to have
another separator character in the file.  If one wants to switch between
a CSV file whose delimiter is `;' and another whose delimiter is `,',
one would have to change the value of `csv-separators', which isn't so
bad, but restarting Emacs for this to take effect is vexing.




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

Previous Next


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