* bug#52208: Changing `csv-separators' in `csv-mode' does not work
@ 2021-11-30 21:17 Tor Kringeland
2021-11-30 21:39 ` Stephen Berman
0 siblings, 1 reply; 3+ messages in thread
From: Tor Kringeland @ 2021-11-30 21:17 UTC (permalink / raw)
To: 52208
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#52208: Changing `csv-separators' in `csv-mode' does not work
2021-11-30 21:17 bug#52208: Changing `csv-separators' in `csv-mode' does not work Tor Kringeland
@ 2021-11-30 21:39 ` Stephen Berman
2021-12-01 4:03 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Berman @ 2021-11-30 21:39 UTC (permalink / raw)
To: Tor Kringeland; +Cc: 52208
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-01 4:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30 21:17 bug#52208: Changing `csv-separators' in `csv-mode' does not work Tor Kringeland
2021-11-30 21:39 ` Stephen Berman
2021-12-01 4:03 ` Lars Ingebrigtsen
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).