emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Why not org-tempo insert upcased strings?


From: Kyle Meyer
Subject: Re: Why not org-tempo insert upcased strings?
Date: Mon, 27 Apr 2020 18:49:11 +0000

Kaushal Modi <address@hidden> writes:

> On Mon, Apr 27, 2020, 4:35 AM tsuucat <address@hidden> wrote:
>
>> Why the convention is changed in org-tempo?
>
> I'm a bit hazy about this, but I believe that org-tempo got introduced
> after this commit:
> https://code.orgmode.org/bzg/org-mode/commit/13424336a6f30c50952d291e7a82906c1210daf0

org-tempo was added in 94f1a5843 (org-tempo.el: New file for expansion
of templates, 2017-12-05) and already existed at the time of that
commit, 13424336a (org-element: Prefer lower case letters for blocks and
keywords, 2018-01-24).

  $ git ls-tree -r 13424336a6f30c50952d291e7a82906c1210daf0 | grep tempo
  100644 blob 38d21de5e15b8fed0ac0a2b7737064e2a7842350  lisp/org-tempo.el
  100644 blob 20062feebe108a0cb9a32f2bf9bb6fdd03924833  
testing/lisp/test-org-tempo.el

> This was a few years ago. There was even a discussion thread on this list
> that showed preference to make that change.
>
> https://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00449.html

I'm just a passive observer, but I agree that that message
(address@hidden) is probably the key one to point to.
It belongs to the thread that led to c04e357f3 (Replace easy templates
with org-insert-structure-template, 2017-11-05).  At that point, the
upper-case-inserting easy templates were replaced by the
lower-case-inserting org-insert-structure-template command.

Shortly after, Rasmus introduced org-tempo
(https://yhetil.org/orgmode/address@hidden/), which restored the
ability for easy-template-like "<s" expansion, but using
org-structure-template-alist and keeping with the decision to use lower
case.



reply via email to

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