From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross 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> <87d0ya7z89.fsf@gmx.us> <87sh74r09d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFRsZ-00020C-NN for emacs-orgmode@gnu.org; Sun, 06 May 2018 18:11:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFRsY-0007f2-NP for emacs-orgmode@gnu.org; Sun, 06 May 2018 18:11:39 -0400 Received: from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e]:36718) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFRsY-0007dy-GC for emacs-orgmode@gnu.org; Sun, 06 May 2018 18:11:38 -0400 Received: by mail-pg0-x22e.google.com with SMTP id z129-v6so14675391pgz.3 for ; Sun, 06 May 2018 15:11:38 -0700 (PDT) In-reply-to: <87sh74r09d.fsf@gmail.com> 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: Aaron Ecay Cc: emacs-orgmode@gnu.org, Rasmus > Just as an aside, I have now also learned that emacs also includes > skeleton.el, which is yet a third template expansion library. Sigh. also why we have yasnippets (yet another snippet for emacs). If lisp languages have a flaw, this is probably it - often, people find it easier to re-write functionality in a new library rather than spending time learning the API and underlying philosophy/mindset of a 3rp party. Understandable as we all prefer coding to reading manuals and APIs! I guess this is also one of the motivations to not implement yet another template system if it can be avoided. I have used both tempo and skeleton mode in the past. From memory, skeleton's strength was with fairly static templates e.g. copyright notice (though there is a mode for that as well!). Tempo was the one I used most often, but have to say, writing tempo templates is a bit of a pain and they are awfully ugly (at least mine were!). These days, I seem to be using yasnippets most of the time. It isn't because it is the best template solution, but rather it is because it seems to be incorporated into many other modes I use and I can often just install a package which has 80% of the snippets I need for a specific mode. I suspect it is a bit of a VHS v Betamax situation - yasnippets may not be the best solution, but it seems to have grabbed largest market share! Tim -- Tim Cross