From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tor Kringeland Newsgroups: gmane.emacs.bugs Subject: bug#52208: Changing `csv-separators' in `csv-mode' does not work Date: Tue, 30 Nov 2021 22:17:28 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40530"; mail-complaints-to="usenet@ciao.gmane.io" To: 52208@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 22:20:14 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 1msAXu-000AM3-0q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 22:20:14 +0100 Original-Received: from localhost ([::1]:43206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msAXs-00074v-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 16:20:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msAVm-0004n8-RO for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msAVm-0003p1-IQ for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msAVm-0007HV-01 for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tor Kringeland Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 21:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52208 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163830706027953 (code B ref -1); Tue, 30 Nov 2021 21:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Nov 2021 21:17:40 +0000 Original-Received: from localhost ([127.0.0.1]:42708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msAVP-0007Gn-UV for submit@debbugs.gnu.org; Tue, 30 Nov 2021 16:17:40 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msAVO-0007Gd-8E for submit@debbugs.gnu.org; Tue, 30 Nov 2021 16:17:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msAVN-0003qY-R1 for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:17:37 -0500 Original-Received: from mailgw101.it.ntnu.no ([129.241.56.177]:55012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msAVL-0003kz-6o for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 16:17:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntnu.no; i=@ntnu.no; q=dns/txt; s=s1-1909-ntnu; t=1638307050; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=+XiQQGMN+sNSEhXVqh3UTu2pkocsICxK71Nas06nNOY=; b=hJcwbMoX6kNUYPUDVgI9Fj2f0NoWXsN6s4EjP0U31wAnQdwduIEDMqO9+c9WBFIzx+lGD kBmJma/aHniVJH0xM1cL6oPDjD5RiOT4Lm2xbR4mf1yB5ZSaD7SJb9uYgLbTBSlV4mr7vu2 kp1KZqsFSbmVQt9cb24MC9JDWMhjnqVIRSaKa9o8zY+AYF0GQsTsE/GSQYoxzAbG3dhv3nA A/qhHlDmZnJsOgFV5dKAOvkJV/oMIjeUKV6Ce406zbWqH7Cnu/sbL6D4SkpkqaAKaDL6GgI /PP7YMINAri7qaVzZqEHwSZHIXOwC+RLe6aKL/GcIeMeIMtRWR2zrn9fYhaA== Original-Received: from localhost (localhost [127.0.0.1]) by mailgw101.it.ntnu.no (Postfix) with ESMTP id C3E1B1DE2E11 for ; Tue, 30 Nov 2021 22:17:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw101.it.ntnu.no Original-Received: from mailgw101.it.ntnu.no ([127.0.0.1]) by localhost (mailgw101.it.ntnu.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NlzRt8aivL29 for ; Tue, 30 Nov 2021 22:17:30 +0100 (CET) Original-Received: from localhost (unknown [91.219.215.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: takringe@ntnu.no) by mailgw101.it.ntnu.no (Postfix) with ESMTPSA id 487131DE2E10 for ; Tue, 30 Nov 2021 22:17:30 +0100 (CET) Received-SPF: pass client-ip=129.241.56.177; envelope-from=tor.a.s.kringeland@ntnu.no; helo=mailgw101.it.ntnu.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:221179 Archived-At: 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.