From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. " References: <87wowoh1m9.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> <871sevime2.fsf@nicolasgoaziou.fr> <87efivbas8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fF1b3-0004SJ-NC for emacs-orgmode@gnu.org; Sat, 05 May 2018 14:07:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fF1ay-0006zC-OS for emacs-orgmode@gnu.org; Sat, 05 May 2018 14:07:49 -0400 Received: from [195.159.176.226] (port=47862 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fF1ay-0006xv-Hl for emacs-orgmode@gnu.org; Sat, 05 May 2018 14:07:44 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fF1Yo-0006Ho-Jq for emacs-orgmode@gnu.org; Sat, 05 May 2018 20:05:30 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Aaron Ecay writes: >> Expansion templates are a great thing, but this is only sugar for Org, >> which is totally usable without them. Besides, some facilities are >> providing it for us. This falls into (2). By design, I'm convinced we >> should not include them. I also wish that anyone involved in this thread >> can take a step back to see the whole picture. > > This is a red herring. The changes do not eliminate expansion template > code from org. They merely substitute (incompatibly) one expansion > template mechanism for a new one. > > FWIW, I do think the idea is worth exploring of getting rid of the (old > and new) template expansion code and using emacsʼs built-in SRecode > template facility. Like most of the CEDET stuff, it looks horridly > overengineered at a first glance. But it is also included with emacs by > default (unlike e.g. yasnippet which otherwise looks more pleasant to > program to me), and it would be (even more) responsive to the concerns > from emacs-devel that were quoted in your full message. To be specific, > this would entail (eventually) getting rid of the > org-structure-template-alist variable entirely, as well as the menu now > bound to C-c C-,; the former would be replaced by (AFAIUI) template > files that would be included with org and/or created by users for their > custom templates; the latter would use SRecodeʼs built-in template > selection instead. Cool, I at least did not know that one. Can you a reproducible way to try it out? Without having to make my own templates etc. Rasmus -- Not everything that goes around comes back around, you know