bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52208: Changing `csv-separators' in `csv-mode' does not work


From: Stephen Berman
Subject: bug#52208: Changing `csv-separators' in `csv-mode' does not work
Date: Tue, 30 Nov 2021 22:39:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Tue, 30 Nov 2021 22:17:28 +0100 Tor Kringeland <tor.a.s.kringeland@ntnu.no> 
wrote:

> 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.

If you use `M-x customize-option' instead of setq, it takes effect in
the current Emacs session.

Steve Berman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]