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

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

bug#37242: orgtbl-to-tsv drops empty cell


From: Bastien
Subject: bug#37242: orgtbl-to-tsv drops empty cell
Date: Mon, 17 Feb 2020 08:31:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Tak,

Tak Kunihiro <address@hidden> writes:

> When org-mode table is converted to tab delimitated text using
> orgtbl-to-tsv, empty cell is dropped out.  I think this is bug.
>
> GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29
> runemacs -Q
> (require 'org-table)
> (orgtbl-to-tsv '(("aaa") ("bbb") ("") ("ddd")) nil) ; => "aaa\nbbb\nddd"
> (orgtbl-to-tsv '(("aaa") ("bbb") ("") ("ddd")) '(:backend ascii)) ; => " aaa 
> \n bbb \n     \n ddd "


(orgtbl-to-tsv '(("aaa") ("bbb") ("") ("ddd")) nil) returns the same
output than orgtbl-to-csv, which is to ignore empty *lines* when the
backend is not set ("nil" here).

I don't think this is a bug.

(orgtbl-to-tsv '(("aaa" "AAA") ("bbb" "BBB") ("" "") ("ddd" "DDD")) nil)
returns something sensible.

Let me know if I miss something.

Otherwise I'll close this bug in a month or so.

Thanks,

-- 
 Bastien





reply via email to

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