unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* csv-kill-fields broken in text mode
@ 2018-07-14  5:30 Bob Babcock
  2018-07-16 12:58 ` bug#32172: " Filipp Gunbin
  0 siblings, 1 reply; 6+ messages in thread
From: Bob Babcock @ 2018-07-14  5:30 UTC (permalink / raw)
  To: bug-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-07-17  2:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-14  5:30 csv-kill-fields broken in text mode Bob Babcock
2018-07-16 12:58 ` bug#32172: " 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

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).