From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#46328: 28.0.50; csv-transpose replaces field delimiters in quoted fields with newlines Date: Fri, 05 Feb 2021 17:17:39 +0300 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="26918"; mail-complaints-to="usenet@ciao.gmane.io" To: 46328@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 05 15:18:17 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 1l81w8-0006tH-Gs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 15:18:16 +0100 Original-Received: from localhost ([::1]:53362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l81w7-0004vT-KH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Feb 2021 09:18:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l81vu-0004vA-4r for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 09:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l81vt-0007SD-Tv for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 09:18:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l81vt-0000ph-Pw for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 09:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2021 14:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46328 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.16125346673178 (code B ref -1); Fri, 05 Feb 2021 14:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2021 14:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:43246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81vf-0000pC-Je for submit@debbugs.gnu.org; Fri, 05 Feb 2021 09:17:47 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81vd-0000p5-VP for submit@debbugs.gnu.org; Fri, 05 Feb 2021 09:17:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l81vd-0004oS-MX for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 09:17:45 -0500 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l81vb-0007IX-Nj for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2021 09:17:45 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B66A05C00D8 for ; Fri, 5 Feb 2021 09:17:41 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 05 Feb 2021 09:17:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=bLUT2yIG0idK1bCxCVvwyvK5YTYunLxWrsgsfbO2PVA=; b=XjKZTUOV KM0YXCKc54+lrdsxeF+Jnq7FStJx5hVbeM30UL9s4j/YWUCNQ4KoRZo84M39Bh/D 2Q49Tnui3AEg/TAix4CcfxVhdHM5GhjjXr0ej0HN2h+vgtwtLmlZ2+51tl5Lmr8l TYYhTT+TZXGnvqjFqn1tXuInHyYUTUU20AZFPajNWOkpsUx4OKbmdal+TRUIR5hC yKgdsDu4GgPjNMxdP8sERdDxAKx/WUS0iB/PUUTkPOAk02TaAGL605vWaA8rRFgB SJ8Orvml4a9yQ5Ut5dQA+PClq4mU8SJS4FbkT0M5RyMkF/ryAszHQC1+ZY2Gpm28 FWOMGL2YuQ4Ahw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=bLUT2yIG0idK1bCxCVvwyvK5YTYun LxWrsgsfbO2PVA=; b=YVuw1vRJ7QSKVs2uTf8lJAur/EE24X3p7V2YFurHU4nRA so5p6HRWaPinhYBbdiXN916Huy2K0n6ptoH08IJ0StU/vd//3T7Ar93H4nO2+cl9 tX4uiC1DNrSwfDhidg1VXseM59SZquJaIc5meOxoWw2eHfbLKvcwTVLIZoySTy1g 8e0LwNEY3/f7jcqGWRGVehytgclCsEdJ5YNuEJIrguFsHprRBv0JfUp3udZ3bjuc vdehpX3mQNS3AWCwpiav7z/2l2k07thT/ZjFnAuBI8B+h8MSQRmXrAogj5BD5PhQ /iV0VhZ2PutkImK42mBeEYzoMdAdF6D/YQfLj8hgQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeeigdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd enucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhm rghilhdrfhhmqeenucggtffrrghtthgvrhhnpedvgeeifffgueeugfeuieehueefiefgve evvdegveelleeugfejhfejgfevhfetudenucfkphepkeegrddvtdegrdduleefrddutdei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguh hnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA id 1AE8824005D for ; Fri, 5 Feb 2021 09:17:40 -0500 (EST) Mail-Followup-To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=66.111.4.25; envelope-from=fgunbin@fastmail.fm; helo=out1-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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:199384 Archived-At: csv-mode 1.14 from elpa. Both csv-separators and csv-field-quotes have default values. Create a new csv file with this single line: --8<---------------cut here---------------start------------->8--- description,"a line, with comma, and another comma" --8<---------------cut here---------------end--------------->8--- C-c C-t transforms this to: --8<---------------cut here---------------start------------->8--- description "a line with comma and another comma" --8<---------------cut here---------------end--------------->8--- The commas inside a (quoted) field were replaced by newlines, this looks like a bug. Thanks. In GNU Emacs 28.0.50 (build 3, x86_64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69)) of 2021-02-05 built on fgunbin.local Repository revision: f00afb9bb8b5356690e2a785d14aa89995c96f50 Repository branch: master System Description: macOS 11.1