bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46328: 28.0.50; csv-transpose replaces field delimiters in quoted fi


From: Peder O. Klingenberg
Subject: bug#46328: 28.0.50; csv-transpose replaces field delimiters in quoted fields with newlines
Date: Tue, 23 Feb 2021 00:27:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt)

On Fri, 2021-02-05 17:17:39 +0300, Filipp Gunbin wrote:

> The commas inside a (quoted) field were replaced by newlines, this looks
> like a bug.

Caused by split-string not caring about char-syntax ?\".  Here's a
patch.  If a line has quote chars, use csv-forward-field to fetch each
field, ensuring consistency in what the mode considers a field.

Attachment: 0001-Fix-transposing-csv-files-with-quoted-fields.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]