Ihor Radchenko <[email protected]> writes:

> This indeed does not work, because our csv parser refuses to parse
> newlines inside values.
>
> I think newlines can be handled if we convert them to spaces, like in
> the attached tentative patch.
>
> However, you need to force csv by C-u argument to org-table-import,
> because our heuristics to determine the separator cannot catch that we
> are looking at a csv table (it sees a line without commas and falls back
> to generic table parser).
>
> From 2c5cd25c6c4de279d8c114247b764a2124e4fbfa Mon Sep 17 00:00:00 2001
> Message-ID: 
> <2c5cd25c6c4de279d8c114247b764a2124e4fbfa.1764017230.git.yanta...@posteo.net>
> From: Ihor Radchenko <[email protected]>
> Date: Mon, 24 Nov 2025 21:45:43 +0100
> Subject: [PATCH] org-table-convert-region: Convert newlines to spaces in csv
>  tables

Applied, onto main.
Fixed.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=10325e064
We can also improve heuristics, but I'd need user input on that, and
there is no followup in this thread, so I just installed a safe fix.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to