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 18:28:01 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531754834 31610 195.159.176.226 (16 Jul 2018 15:27:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 15:27:14 +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 17:27:09 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 1ff5P3-00086U-Aw for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 17:27:09 +0200 Original-Received: from localhost ([::1]:52399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5RA-00022Z-BZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jul 2018 11:29:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff5Qv-0001yh-Tj for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:29:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff5Qs-0006dU-PA for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:29:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ff5Qs-0006dN-Ia for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ff5Qs-0000IR-CM for bug-gnu-emacs@gnu.org; Mon, 16 Jul 2018 11:29: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 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32172 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32172-submit@debbugs.gnu.org id=B32172.15317548861036 (code B ref 32172); Mon, 16 Jul 2018 15:29:02 +0000 Original-Received: (at 32172) by debbugs.gnu.org; 16 Jul 2018 15:28:06 +0000 Original-Received: from localhost ([127.0.0.1]:43932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff5Py-0000Ge-3k for submit@debbugs.gnu.org; Mon, 16 Jul 2018 11:28:06 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ff5Pw-0000GW-BD for 32172@debbugs.gnu.org; Mon, 16 Jul 2018 11:28:04 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EF7402204E; Mon, 16 Jul 2018 11:28:03 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 16 Jul 2018 11:28:03 -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=zhnF2XdChtmJwZRvxInWHfMS1gJyHs2TbRSOhj+EM5M=; b=i0Z+j/Fk /4NncIrafy2X6gIUQDBdw3Oqqs+MjdjGebnEgtiD16935aXNqMA6o2X0rz83H5OK tPU2e4SJIAx64lnAXqVuFrX2X4/5CEMhh5h/6vEg20Q8oEip98MbbGyuG1AnJ/1T Dohd//GGyy9hoXjSCX9fTMUUZGPvnXRhql6NoZrHfmTtioLvsxHdhncnN6norl+/ UWbPW+Idq/djQHGY80ZetlVfQf9bPH58D4Z/dlnWpkKbhwUBXQSYk1HgTwL8DWPL 2hM+7fxS8dZJqp5XCObveVW6wQMOr2+H2jL6EpRbSxaztTQyp61CeaSc+a3uRjpG 5fDEqYLwdT4IKA== 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=zhnF2XdChtmJwZRvxInWHfMS1gJyH s2TbRSOhj+EM5M=; b=Zu/dbhtD2LoQrzcXeGqzQcuBvKePHeDYK5bPkRZYjhaM/ USrIoT40QrjgLaTTIEPImaENHFBcIcwEwUwLuOZC8V2iITh7C729kie6Wjve0vbZ gBwRPKJT6/4FXQxwxHF2yXfCR/Tq1CIRJRe1JdnkNzd7SX43YE8K6Zk/C9CRhrce n/iZ/EZdOczLrLm+7Jvwdx8iMeCh2XxKvOgOE7AG1XemdgmZZzScwMp66VuenMWa Hmc25luzGlnqkJ7SSwHXP2CI6c0Eu9C/fm035w2dqJNR5iOHWTu4t8GlxZK3l3Qb o4KCOhfcb13CM5VEDD/089xOIaVkbhZly5zMxceTg== 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 0972510266; Mon, 16 Jul 2018 11:28:02 -0400 (EDT) In-Reply-To: (Filipp Gunbin's message of "Mon, 16 Jul 2018 15:58:01 +0300") 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:148577 Archived-At: tags 32172 notabug close 32172 quit On 16/07/2018 15:58 +0300, Filipp Gunbin wrote: > 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.