From: "Rudolf Adamkovič" <rudolf@adamkovic.org>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fix "inverted" behavior of `colnames' header argument
Date: Mon, 04 Nov 2024 00:53:54 +0100 [thread overview]
Message-ID: <m2ldxz98ml.fsf@adamkovic.org> (raw)
In-Reply-To: <m2plnc7ytq.fsf@adamkovic.org>
Rudolf Adamkovič <rudolf@adamkovic.org> writes:
> In fact, I do not understand the manual. It says: [...]
Upon further thinking, I think I now get it.
My understanding:
- =nil= ::
1. Drop the column names from the input, if tabular.
2. Run the code block, possibly producing results.
3. Re-add the column names, if any, to the results, if tabular.
N.B. Column names are row #1 if row #2 is a horizontal rule.
- =yes= ::
1. Drop the first row from the input, if tabular.
2. Run the code block, possibly producing results.
3. Re-add the row, if any, to the results, if tabular.
- no ::
Do not pre-process tabular inputs.
> Also, I tried the following with `emacs -Q':
I noticed that if I pass 'nil (with a quote) instead of nil, everything
works well. Why is that? And, no matter why that is, why do we say nil
in the manual instead of 'nil, if that is what the user must write?
Thank you!
Rudy
--
"I would prefer an intelligent hell to a stupid paradise."
--- Blaise Pascal
Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org
next prev parent reply other threads:[~2024-11-03 23:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-02 16:44 Fix "inverted" behavior of `colnames' header argument Rudolf Adamkovič
2024-11-02 18:39 ` Ihor Radchenko
2024-11-03 21:24 ` Rudolf Adamkovič
2024-11-03 22:10 ` Rudolf Adamkovič
2024-11-03 23:53 ` Rudolf Adamkovič [this message]
2024-11-04 20:06 ` Ihor Radchenko
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ldxz98ml.fsf@adamkovic.org \
--to=rudolf@adamkovic.org \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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/org-mode.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).