From: Filipp Gunbin <fgunbin@fastmail.fm>
To: 46328@debbugs.gnu.org
Subject: bug#46328: 28.0.50; csv-transpose replaces field delimiters in quoted fields with newlines
Date: Fri, 05 Feb 2021 17:17:39 +0300 [thread overview]
Message-ID: <m2wnvmegzg.fsf@fastmail.fm> (raw)
csv-mode 1.14 from elpa. Both csv-separators and csv-field-quotes have
default values.
Create a new csv file with this single line:
--8<---------------cut here---------------start------------->8---
description,"a line, with comma, and another comma"
--8<---------------cut here---------------end--------------->8---
C-c C-t transforms this to:
--8<---------------cut here---------------start------------->8---
description
"a line
with comma
and another comma"
--8<---------------cut here---------------end--------------->8---
The commas inside a (quoted) field were replaced by newlines, this looks
like a bug.
Thanks.
In GNU Emacs 28.0.50 (build 3, x86_64-apple-darwin20.2.0, NS appkit-2022.20 Version 11.1 (Build 20C69))
of 2021-02-05 built on fgunbin.local
Repository revision: f00afb9bb8b5356690e2a785d14aa89995c96f50
Repository branch: master
System Description: macOS 11.1
next reply other threads:[~2021-02-05 14:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 14:17 Filipp Gunbin [this message]
2021-02-05 14:46 ` bug#46328: additional test case Filipp Gunbin
2021-02-22 23:27 ` bug#46328: 28.0.50; csv-transpose replaces field delimiters in quoted fields with newlines Peder O. Klingenberg
2021-02-23 15:51 ` Lars Ingebrigtsen
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=m2wnvmegzg.fsf@fastmail.fm \
--to=fgunbin@fastmail.fm \
--cc=46328@debbugs.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).