emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Bruce D'Arcus <bdarcus@gmail.com>
Cc: Carlos Pita <carlosjosepita2@gmail.com>,
	org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: Keyword completion list: uppercase or lowercase? (was: Shower thought: submit an IETF RFC to register Org as a MIME type)
Date: Sat, 23 Oct 2021 22:21:42 +0800	[thread overview]
Message-ID: <87v91nes95.fsf@localhost> (raw)
In-Reply-To: <CAF-FPGPFS98GsOx0sphNiEahP5MxdfMbEKRoHtrYt9Kp5mTTCg@mail.gmail.com>

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

>> I just tried with clean Emacs:
>>
>> #+beg<complete -> #+begin_<complete> -> list of completions, all in lower case
>> #+BEG<complete -> #+BEGIN_<complete> -> list of completions, all in upper case
>
> Perhaps at some point the upper case should just be removed?

I am not sure if it is a good idea from backward compatibility point of
view. On the other hand, we managed to change the property drawer
default position. So, I do not see why it is impossible if most users
prefer lower case.

> This raises a related question I've wondered about:
>
> Why doesn't the completion insert the full begin/end, and put point inside?
>
> It's a bit of an awkward UX to add the end line ATM.

Adding full begin/end may not be good idea for completion-at-point:
1. It becomes awkward i.e. to insert the source block language and
   arguments (#+begin_src my-super-cool-programming-language :var x=1)
2. completion-at-point usually does not behave in such way.

Note that Org mode provides org-tempo doing exactly what you describe.

Best,
Ihor


  reply	other threads:[~2021-10-23 14:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22  1:21 Shower thought: submit an IETF RFC to register Org as a MIME type Carlos Pita
2021-10-23  6:45 ` Ihor Radchenko
2021-10-23  8:34   ` Carlos Pita
2021-10-23  8:36     ` Timothy
2021-10-23 13:41     ` Keyword completion list: uppercase or lowercase? (was: Shower thought: submit an IETF RFC to register Org as a MIME type) Ihor Radchenko
2021-10-23 13:51       ` Bruce D'Arcus
2021-10-23 14:21         ` Ihor Radchenko [this message]
2021-10-23 18:55       ` Keyword completion list: uppercase or lowercase? Carlos Pita

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=87v91nes95.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=bdarcus@gmail.com \
    --cc=carlosjosepita2@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).