all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Bob Babcock <wssddc@nospam.wssddc.com>
Cc: 32172@debbugs.gnu.org
Subject: bug#32172: csv-kill-fields broken in text mode
Date: Mon, 16 Jul 2018 15:58:01 +0300	[thread overview]
Message-ID: <m2k1pvl4me.fsf@fgunbin.playteam.ru> (raw)
In-Reply-To: <XnsA91FF5B7D9E9wssddcgisnet@127.0.0.1> (Bob Babcock's message of "Sat, 14 Jul 2018 05:30:34 GMT")

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.





  reply	other threads:[~2018-07-16 12:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14  5:30 csv-kill-fields broken in text mode Bob Babcock
2018-07-16 12:58 ` Filipp Gunbin [this message]
2018-07-16 15:28   ` bug#32172: " 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

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

  git send-email \
    --in-reply-to=m2k1pvl4me.fsf@fgunbin.playteam.ru \
    --to=fgunbin@fastmail.fm \
    --cc=32172@debbugs.gnu.org \
    --cc=wssddc@nospam.wssddc.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.