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> <87h8nm7zhy.fsf@gmx.us> <878t8ufvi9.fsf@gnu.org> 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]:50009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKluk-0000Q6-8v for emacs-orgmode@gnu.org; Mon, 21 May 2018 10:35:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKluf-0000Ge-UC for emacs-orgmode@gnu.org; Mon, 21 May 2018 10:35:54 -0400 Received: from [195.159.176.226] (port=37299 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKluf-0000G7-Mi for emacs-orgmode@gnu.org; Mon, 21 May 2018 10:35:49 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fKlsS-0005GW-DC for emacs-orgmode@gnu.org; Mon, 21 May 2018 16:33:32 +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 Bastien writes: > Hi Rasmus, > > Rasmus writes: > >> Do you think org-tempo should try to detect "old" versions of >> org-structure-template-alist and give a better error if it sees one? > > Yes, it definitely should detect old format and fix it. I don’t remember if I replied to this or not. In any case, it will not be able to "fix" an old template, as it can be much more complex than the new syntax. I would simply raise an error with a helpful text if the "old" format is detected. Rasmus -- m-mm-mmm-mmmm bacon!