From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#52208: Changing `csv-separators' in `csv-mode' does not work Date: Tue, 30 Nov 2021 22:39:00 +0100 Message-ID: <87ilw98gsr.fsf@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20169"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52208@debbugs.gnu.org To: Tor Kringeland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 22:40:13 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msArF-00053R-9S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 22:40:13 +0100 Original-Received: from localhost ([::1]:55066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msArC-0006hq-CR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 16:40:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msAr4-0006hN-DU for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:40:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msAr4-0006Fm-4t for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msAr3-0007q1-KK for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 21:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52208 X-GNU-PR-Package: emacs Original-Received: via spool by 52208-submit@debbugs.gnu.org id=B52208.163830835130063 (code B ref 52208); Tue, 30 Nov 2021 21:40:01 +0000 Original-Received: (at 52208) by debbugs.gnu.org; 30 Nov 2021 21:39:11 +0000 Original-Received: from localhost ([127.0.0.1]:42714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msAqE-0007op-QT for submit@debbugs.gnu.org; Tue, 30 Nov 2021 16:39:11 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:49003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msAqD-0007oa-FS for 52208@debbugs.gnu.org; Tue, 30 Nov 2021 16:39:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1638308342; bh=F3mOHcBk50ogtB2U8yyZeYUwD7uyV3K6BH9mo0fil7A=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=UWPdQ7qEnrYc7H/0TpTrnaRYEMdhErQVXRArpQEB/VU3FnY9yUBxG3UD2vOBTcvZi rDByfXt9gSI/EdEOnMCYzj1l4VomMZxVVgTP+Ou2Zr1svRRhCGOp0f/p4LWPB5rUfr xpYQmAkTC2SdjuZwL/+RGOaLAWZnC9CvJMjihf9k= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs ([188.109.164.12]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3lY1-1mrtrB0YUt-000up9; Tue, 30 Nov 2021 22:39:02 +0100 In-Reply-To: (Tor Kringeland's message of "Tue, 30 Nov 2021 22:17:28 +0100") X-Provags-ID: V03:K1:EIHkrmh71SsI4+O34MUu/tBvG21XAYqLbyZxjqldGWIrXDj9UKH EGdWx9VwxzgaWvBHpv1V7tGL56BF7+mPrJ6fgl94a6KlpArciekCg7EzglN8tmxTMbz9sP0 3ExJGBFggO0MHrGEjNoY/CMC100/x4zT+yUWmB4nmGpmonxXic2sD1KNjKPV3kQcci8dYTJ ifPXRC4Y0TItV+YSvuzPQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:55Ipa9iAV80=:NrpGHcJAPvLDY8MdUJklHV 8NnMG2Ki83nJ8WWPyA1cZu4FLez/qzTO7AFDt+jm+4FsUC//HbQxQih9yzlS87zt4LPwOsGKd APdxZryMUP27n+QUplRIyoNgn0zxcyu2/A1b4NYh/Jf+DwtkDGBwTBWg6np3jsZeVIVR0QcFL 8H9THrOy9BW6HvZ/ghz89pMe2t3ai0HMjkzlW6i+TUjZ2oudu9rS1ZvivFYEWMAhJpGuio2QZ IUbYHlTvvY9WULrHkupXNdGQQJbzyUoDj8HnJvC7v3YhTPOA5wuj923dXkjTDkoKwSXNif02J eQ9A4Fkd+PFU5tMfTbXVz6InpOlnzZ4lnbw6fdD5Mm/zdu/bozC9w7QT1Qz9OCwS3FTRRvfoG UZ6pDBCSTAm1eVz/wXkwD4NZHeKaGCbHE9IS4os7ObhfaFYKQ0W+Z31zqC9I0QG93P0i4Ek3W LHj9qmp4ki5Fl92TIG0IoV1Wb6zHlzGiuwRQJUVNPyYhVXdqLKUnYL1TT4YoTEjwSglsckwVq JG3x/rU62xxC24hzoDU/USQfkoAK4Z6AWDa7hJ44hxEoDt4JcyLloCgZaQI533RFFINYpZWWn 87RziLk9MvCak5G+nwLJEP+6BXXqjChLtuibPh8IFz1MeosEw3q8bYFTvRRyXcbCxPDAMxoSI N96VG+F/M5c6whwDlNFwo1dZ8SkUZX9DQSRZv9ZYofh26SHkTGLmmgiWRodL/q5aOsRDm7cT+ oAQ24UH8lJ4xD671xfKWSyB2qROx5XagULJVXg6xSfJvhY51+INiOU7/n2HwkvgKkvlMq8Li X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221180 Archived-At: On Tue, 30 Nov 2021 22:17:28 +0100 Tor Kringeland 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