emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Timothy <tecosaur@gmail.com>
To: numbchild@gmail.com
Cc: emacs-orgmode@gnu.org, "Rudolf Adamkovič" <salutis@me.com>
Subject: Re: [BUG] Prefer lowercase #+results [9.5.2 (release_9.5.2-3-geb9f34 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]
Date: Thu, 13 Jan 2022 12:33:23 +0800	[thread overview]
Message-ID: <87r19cl08o.fsf@gmail.com> (raw)
In-Reply-To: <PAXPR08MB6640852F841621CF3051DC5EA3539@PAXPR08MB6640.eurprd08.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

Hi Christopher,

>> Is there a good reason for this?
>>
>> At a glance, I’d personally be tempted to make the use case insensitive, and
>> only use `org-babel-results-keyword’ when inserting, or remove it all together.
>
> Me too, I hope it can be case-insensitive, if org-mode internal has already case-sensitive
> processing. I suggest to keep one standard. I remember used to blocks like `#+BEGIN_SRC' etc are
> uppercase by default. Latter changed into lowercase. Then I did a lot of work to replace them. If we
> need to use lowercase, I suggest to use them all. It might improve regexp matching speed? Don’t know……

See my reply to Ihor, I actually misread the code. It *is* case insensitive (as it
should be). So, changing the default capitalisation of `org-babel-results-keyword'
would have no effect on the interpretation or function of existing documents.

Based on your comments on converting block case, maybe it would be worth
providing a function to normalise the case in an Org document?

All the best,
Timothy

  reply	other threads:[~2022-01-13  4:38 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08  8:58 [BUG] Prefer lowercase #+results [9.5.2 (release_9.5.2-3-geb9f34 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)] Rudolf Adamkovič
2022-01-08  9:47 ` Colin Baxter 😺
2022-01-08 18:18   ` Rudolf Adamkovič
2022-01-08 21:29 ` Tim Cross
2022-01-09 17:21   ` Rudolf Adamkovič
2022-01-10 10:26     ` Gyro Funch
2022-01-10 13:09       ` Timothy
2022-01-10 14:34         ` Kaushal Modi
2022-01-10 15:31         ` Colin Baxter 😺
2022-01-11  3:30           ` Ihor Radchenko
2022-01-11 14:57             ` Colin Baxter 😺
2022-01-11 15:15             ` Timothy
2022-01-11 19:13             ` Rudolf Adamkovič
2022-01-11 19:53               ` William Denton
2022-01-11 20:30               ` Colin Baxter 😺
2022-01-12 14:17               ` Ihor Radchenko
2022-01-12 16:00 ` Christopher M. Miles
2022-01-12 16:35   ` Timothy
2022-01-13  1:43     ` Ihor Radchenko
2022-01-13  4:27       ` Timothy
2022-01-13  3:29     ` Christopher M. Miles
2022-01-13  4:33       ` Timothy [this message]
2022-01-13  5:25         ` Christopher M. Miles
2022-01-14  2:00   ` Ihor Radchenko
2022-01-14  4:23     ` Christopher M. Miles

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=87r19cl08o.fsf@gmail.com \
    --to=tecosaur@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@gmail.com \
    --cc=salutis@me.com \
    /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).