From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#32172: csv-kill-fields broken in text mode Date: Mon, 16 Jul 2018 15:58:01 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531745828 6945 195.159.176.226 (16 Jul 2018 12:57:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 12:57:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: 32172@debbugs.gnu.org To: Bob Babcock Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 16 14:57:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff33n-0001iw-B5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 14:57:03 +0200 Original-Received: from localhost ([::1]:51234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff35u-0000t9-H3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 08:59:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff35n-0000so-C7 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:59:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff35i-0001Oo-Hl for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:59:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37318) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ff35i-0001OV-D6 for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ff35i-0004eq-2P for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jul 2018 12:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32172 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153174590217853 (code B ref -1); Mon, 16 Jul 2018 12:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2018 12:58:22 +0000 Original-Received: from localhost ([127.0.0.1]:42336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff354-0004dt-1v for submit@debbugs.gnu.org; Mon, 16 Jul 2018 08:58:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff351-0004dd-HZ for submit@debbugs.gnu.org; Mon, 16 Jul 2018 08:58:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff34v-00017K-KC for submit@debbugs.gnu.org; Mon, 16 Jul 2018 08:58:14 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38607) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ff34v-00017C-Gm for submit@debbugs.gnu.org; Mon, 16 Jul 2018 08:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff34u-0000jE-DP for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:58:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff34p-00014Z-IY for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:58:12 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42933) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ff34p-00013Q-An for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 08:58:07 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3C8D321B64; Mon, 16 Jul 2018 08:58:04 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 16 Jul 2018 08:58:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=VUGt6bzA8DA6pXY/UdCun96pWAvl173r5MziegpEgQw=; b=uI4BhNS0 2FgeLpknPV1jU9l7kBTOkNdLN4moeR13exQk4UREx+1AxsrHBiYNuq1BoRn9JvuY Y/ArRsktnxLEsj6Y3/ZWwwRfu7UX+bMFi/N2S9UYR0orDNmHZvZDrgO0V3ATSkiU EIeY1/fpG4eTNZjGcZbH+1QlYuVirPC/2XzTPhjvtkVZztZL3bbc8UCyLbMr9mi2 A65Yq/qy6rM7o8gCeQcXuPVI0J++F4t7H68FwBNZD9Iw5vuiUI8G7zpBGz7t04mn 1qb+4zd8sfxfAwHlSnDM6Ft//ATtz/csEJPDWU3BgMc+HU1XBb/+TJG1xMHesE4X moM1i5jr95xPtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=VUGt6bzA8DA6pXY/UdCun96pWAvl1 73r5MziegpEgQw=; b=SmaZJEACR3jnrHo9cBes8f3BJeIM5Z9zSCbsm0sShDGJ3 PIWt5u06HHXUiqP9zigQ95ZuOwNmW+fOd6tGNodBgxH3Jme79kMlmuyWuP1M8iBD LXVXXrt9J6k7F5xfxHDn0fTRtXXcVeuuprZeb3rohdw2P+0HKl005MZ/9NgZ/Skq W6A5Cgf+UhzK3aMI9WSq0SspY0D/z0dBY/oFBbsipitdiHiIIADh9f6eAAOAc7Zb ShoL2TBMZfk1Z7N/do5tvnqngqJ7BAaCyS15OoKIuEVBcynzLInHtq8nZD3qIXYp d2uwIAumEX70pQDsjGAZINQCjkDdq8aHMLKCuC6zQ== X-ME-Proxy: X-ME-Sender: Original-Received: from fgunbin.playteam.ru (unknown [94.25.218.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 35AF51025D; Mon, 16 Jul 2018 08:58:03 -0400 (EDT) In-Reply-To: (Bob Babcock's message of "Sat, 14 Jul 2018 05:30:34 GMT") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148563 Archived-At: On 14/07/2018 05:30 +0000, Bob Babcock wrote: > I just discovered a surprising interaction: csv-kill-fields and csv-kill- > multiple-columns break if the buffer is in text mode and a (quoted) field > contains a comma. > > For example, take the line > "1,2","3" > and interactively delete the first field with csv-kill-fields. > > If the buffer is in csv or fundamental mode, the result is, as expected > "3" > > If the buffer is in text mode, the result is > 2","3" > > I have not tested other functions in csv-mode.el for similar breakage. > > Is there a better place to report this? Maybe the only change should be to > document the mode requirement. The only reason I'm in text mode is that I > am pasting csv data into an existing text file for reformat to fixed > columns. These commands are not standard commands, but csv-mode specific commands, so they work only in csv-mode.