From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +NtVIVApp17xLAAA0tVLHw (envelope-from ) for ; Mon, 27 Apr 2020 18:49:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gGe4N1gpp153OgAAbx9fmQ (envelope-from ) for ; Mon, 27 Apr 2020 18:50:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D314A942483 for ; Mon, 27 Apr 2020 18:49:58 +0000 (UTC) Received: from localhost ([::1]:58792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT8pK-00080a-Lv for larch@yhetil.org; Mon, 27 Apr 2020 14:49:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39444) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT8oi-0007vX-5y for emacs-orgmode@gnu.org; Mon, 27 Apr 2020 14:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT8og-00054d-8U for emacs-orgmode@gnu.org; Mon, 27 Apr 2020 14:49:19 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:51429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jT8oe-00054F-LD for emacs-orgmode@gnu.org; Mon, 27 Apr 2020 14:49:17 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 829BE420F9; Mon, 27 Apr 2020 14:49:13 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=fJYf1f9Hf4g2YqMUtwjdBFktPJo=; b=EXogY4 +2vXW1vVi1eNWfPZQXQduR13+/yhNWZ6ITGabNdWoHP2IVe2edIDuFD8j93Awrjg ZmZE1jxOQVy1dOZX/WO/qort5UZ3cDXXS+b7e9hHRJN40kmDfbSZxZRVASZmNkle WdKHqU4P5lty3ODmwDBacy589GiWTmmLvKtOk= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 749D1420F7; Mon, 27 Apr 2020 14:49:13 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=0agbfjzHuwFVfAaT+r2J3Gmmb5KE9O8rtJgvz2v+yL8=; b=JQby/84zdi6ZabeuUC0MxRO2dxiH2MR9vNq2KxShfJWxKE1FWX3YgM8rA09Y4ta2u8BsVN2+eVayn45VEhjKTs55E3YN5lGddN0n7VKsEcq/pdyG5hLjn6hMxmAU/HeA7RDoT/gVd+RN/ECXOElyZIAPCCcPUDTjdoREpwL9aJ0= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id C79EA420F6; Mon, 27 Apr 2020 14:49:12 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Kaushal Modi , tsuucat Subject: Re: Why not org-tempo insert upcased strings? In-Reply-To: References: <83C86A72-8727-4956-81C3-FE7F67CBCD2C@icloud.com> <87wo64m869.fsf@kyleam.com> <38A293DE-C67C-40FC-8096-15E723A68BBC@icloud.com> Date: Mon, 27 Apr 2020 18:49:11 +0000 Message-ID: <87r1w8ojbs.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: C9723D00-88B7-11EA-8B8A-C28CBED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 14:49:13 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.70 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-org list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -0.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=EXogY4 +; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=JQby/84z; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.55580967943774]; DWL_DNSWL_FAIL(0.00)[kyleam.com:server fail,209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.19), country: US(-0.00), ip: 209.51.188.17(-0.56)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com,icloud.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[kyle@kyleam.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; URIBL_BLOCKED(0.00)[icloud.com:email,gnu.org:url,pank.eu:email,kyleam.com:dkim,pobox.com:dkim,yhetil.org:url,nicolasgoaziou.fr:email,orgmode.org:url]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kyleam.com]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: x2M8UVaUsQXh Kaushal Modi writes: > On Mon, Apr 27, 2020, 4:35 AM tsuucat 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 (87r2tmwcrv.fsf@nicolasgoaziou.fr) 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/87mv2ya2ep.fsf@pank.eu/), which restored the ability for easy-template-like "