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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52208 in the body.
You can then email your comments to 52208 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52208; Package emacs. (Tue, 30 Nov 2021 21:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 30 Nov 2021 21:18:02 GMT) Full text and rfc822 format available.

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52208; Package emacs. (Tue, 30 Nov 2021 21:40:01 GMT) Full text and rfc822 format available.

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

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Cc: 52208 <at> debbugs.gnu.org
Subject: Re: bug#52208: Changing `csv-separators' in `csv-mode' does not work
Date: Tue, 30 Nov 2021 22:39:00 +0100
On Tue, 30 Nov 2021 22:17:28 +0100 Tor Kringeland <tor.a.s.kringeland <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52208; Package emacs. (Wed, 01 Dec 2021 04:04:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52208 <at> debbugs.gnu.org
Subject: Re: bug#52208: Changing `csv-separators' in `csv-mode' does not work
Date: Wed, 01 Dec 2021 05:03:16 +0100
Stephen Berman <stephen.berman <at> gmx.net> writes:

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

Yup.  You can also use `set-variable', so I've now mentioned that in the
`csv-separators' doc string.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 52208 <at> debbugs.gnu.org and Tor Kringeland <tor.a.s.kringeland <at> ntnu.no> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 01 Dec 2021 04:04:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Dec 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 80 days ago.

Previous Next


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