unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bob Babcock <wssddc@nospam.wssddc.com>
To: bug-gnu-emacs@gnu.org
Subject: csv-kill-fields broken in text mode
Date: Sat, 14 Jul 2018 05:30:34 GMT	[thread overview]
Message-ID: <XnsA91FF5B7D9E9wssddcgisnet@127.0.0.1> (raw)

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.


             reply	other threads:[~2018-07-14  5:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14  5:30 Bob Babcock [this message]
2018-07-16 12:58 ` bug#32172: csv-kill-fields broken in text mode Filipp Gunbin
2018-07-16 15:28   ` Filipp Gunbin
2018-07-16 22:14     ` Noam Postavsky
2018-07-17  1:50       ` Filipp Gunbin
     [not found]   ` <mailman.3663.1531754953.1292.bug-gnu-emacs@gnu.org>
2018-07-17  2:01     ` Bob Babcock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=XnsA91FF5B7D9E9wssddcgisnet@127.0.0.1 \
    --to=wssddc@nospam.wssddc.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).