From: Bastien <bzg@gnu.org>
To: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Cc: 37242@debbugs.gnu.org
Subject: bug#37242: orgtbl-to-tsv drops empty cell
Date: Mon, 17 Feb 2020 08:31:56 +0100 [thread overview]
Message-ID: <874kvpllee.fsf@gnu.org> (raw)
In-Reply-To: <20190831.163102.2050984724735970943.tkk@misasa.okayama-u.ac.jp> (Tak Kunihiro's message of "Sat, 31 Aug 2019 16:31:02 +0900 (JST)")
Hi Tak,
Tak Kunihiro <tkk@misasa.okayama-u.ac.jp> 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
next prev parent reply other threads:[~2020-02-17 7:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-31 7:31 bug#37242: orgtbl-to-tsv drops empty cell Tak Kunihiro
2020-02-17 7:31 ` Bastien [this message]
2020-02-18 7:13 ` Tak Kunihiro
2020-02-18 7:43 ` Bastien
2020-03-04 23:20 ` Tak Kunihiro
2020-05-22 13:36 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874kvpllee.fsf@gnu.org \
--to=bzg@gnu.org \
--cc=37242@debbugs.gnu.org \
--cc=tkk@misasa.okayama-u.ac.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.