From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Newsgroups: gmane.emacs.devel Subject: Re: Supported/Bundled CSV support? Date: Wed, 16 Mar 2022 14:43:28 +0100 Message-ID: <14ace41e-daa3-4d82-bdc0-c5db179f9250@www.fastmail.com> 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="11926"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.5.0-alpha0-4907-g25ce6f34a9-fm-20220311.001-g25ce6f34 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 16 14:50:57 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nUU3E-0002tL-QY for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 14:50:57 +0100 Original-Received: from localhost ([::1]:54590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUU3D-00078W-C8 for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Mar 2022 09:50:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUTwQ-000304-Cy for emacs-devel@gnu.org; Wed, 16 Mar 2022 09:43:54 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:50093) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUTwO-0007Ga-Em for emacs-devel@gnu.org; Wed, 16 Mar 2022 09:43:54 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id B9ED332005C1 for ; Wed, 16 Mar 2022 09:43:49 -0400 (EDT) Original-Received: from imap45 ([10.202.2.95]) by compute1.internal (MEProxy); Wed, 16 Mar 2022 09:43:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=hBxw/PaSbicUogh6g5yDCu3x7wWu7GmlwJzUD1 n/3Gs=; b=C4iAxV/+w5n9BKy05zwGYDOjUdRN3sulB0uegblcLemwahZGndiRvb KBfxQWBAWUudbTZBv/fCZSdXVGYPuloqzBdcK2IH7wTAtuCtytBhN+dTj+71OnuZ S1TI1y6C4apcbKypqo8YuoRUrtEvKpWchBourkxbzsz05HOWEI4+dFLWbgA3xe2T li/Bp/eE9IV+fx05reoKiQ4QOr3ZbT9jothtH8kHimQB1kPcx4S9CWRfdmzFnwNS onQiouJexZmeD3SNWRb/L0B0Zg0DUYcwxbE2+6RAe+ON17r+Epi6tsIysB6oY1ko WboFsWMiy9XVy06OYEE8+T85zic0h8FA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=hBxw/PaSbicUogh6g 5yDCu3x7wWu7GmlwJzUD1n/3Gs=; b=VYP9SY7yBV7BOQLTPHJTmQwFa+xl4uX5i VcTRcQ7cMFipKL6Ca+L67emV0Imk0zajU01rcL5g90eJqnHDyvKVasY/KIQbcqEk 0Q+sHprKlzkTsJBem+DIwdqTB58eP0CVZhO4HUDWEQpKrr80zn2PJTkhyTZgrhih Pya9Gdwf3m1Rpc62GJVvQbgf/NFMBwSDBtd4MtemSqh2B46Ek5puNFmqq7v39rWS GKi0sWadznULYGXdquDL0mnjC1vehWLZubmkMrA+0EMrrTAJMqIw7isxju2hn+Sc xKPSgh4zRCR3SsKPYN0kishuRhycF+iSzCB9XsxYquvvhtA6HVlXw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefvddgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpeflohhoshhtuceojhhoohhsthhkrhgvmhgvrhhssehfrghs thhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpedtffejgfetffevveektefgvdfghf eiveeftdeuvefhjeevffdulefhlefhgfekjeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrih hlrdhfmh X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1140824A0074; Wed, 16 Mar 2022 09:43:49 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: Received-SPF: pass client-ip=64.147.123.24; envelope-from=joostkremers@fastmail.fm; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287225 Archived-At: On Mon, 14 Mar 2022, at 23:30, Stefan Monnier wrote: [csv-mode] > Don't know about Melpa, but in (Non)GNU ELPA, I can only find one such > package and it dates back to Dec 2021. Speaking of which, I recently had an occasion for using this package and I was somewhat surprised that I did not find a way to specify the field separator on a per-file (or per-buffer) basis. The file I wanted to open used `;` as separator, and some of the fields hat commas in them. Adding `;` to `csv-separators` caused Emacs to recognize *both* `;` and `,` as field separators, meaning that the file wasn't displayed correctly. I needed to set `csv-separators` to `(";")` to get Emacs to handle the file correctly. But if I make that permatent, I wouldn't be able to open any CSV files with commas as separators anymore. Did I miss something, or is this indeed how `csv-mode` works? If so, I'm inclined to create a bug report, cause I reckon few (in any) CSV files use more than one separator character. -- Joost Kremers Life has its moments