From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Babcock Newsgroups: gmane.emacs.bugs Subject: csv-kill-fields broken in text mode Date: Sat, 14 Jul 2018 05:30:34 GMT Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 X-Trace: blaine.gmane.org 1531563522 4442 195.159.176.226 (14 Jul 2018 10:18:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2018 10:18:42 +0000 (UTC) User-Agent: Xnews/2006.08.24 To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 14 12:18:38 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 1feHdN-00011U-E7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jul 2018 12:18:37 +0200 Original-Received: from localhost ([::1]:40743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feHfS-0006Cg-Ky for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jul 2018 06:20:46 -0400 X-Received: by 2002:a1c:3f17:: with SMTP id m23-v6mr773800wma.17.1531546235468; Fri, 13 Jul 2018 22:30:35 -0700 (PDT) Original-Path: usenet.stanford.edu!h21-v6no6212355wmb.0!news-out.google.com!o12-v6ni22572wmc.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!2.eu.feeder.erje.net!feeds.phibee-telecom.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx19.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 20 Original-X-Complaints-To: abuse(at)newshosting.com Original-NNTP-Posting-Date: Sat, 14 Jul 2018 05:30:34 UTC X-Received-Bytes: 1339 X-Received-Body-CRC: 1974008474 X-Original-Bytes: 1156 Original-Xref: usenet.stanford.edu gnu.emacs.bug:166691 X-Mailman-Approved-At: Sat, 14 Jul 2018 06:20:38 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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:148520 Archived-At: 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.