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> <87d0ya7z89.fsf@gmx.us> <87sh74r09d.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]:56994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFoeb-0007g7-II for emacs-orgmode@gnu.org; Mon, 07 May 2018 18:30:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFoeY-0007jE-9o for emacs-orgmode@gnu.org; Mon, 07 May 2018 18:30:45 -0400 Received: from [195.159.176.226] (port=60224 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFoeY-0007j2-2A for emacs-orgmode@gnu.org; Mon, 07 May 2018 18:30:42 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fFocO-0002xF-2q for emacs-orgmode@gnu.org; Tue, 08 May 2018 00:28:28 +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: > Hi Rasmus, > > 2018ko maiatzak 5an, Rasmus-ek idatzi zuen: > >> 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. > > I havenʼt done anything with it myself. > > You can open up a blank .el file and test out some of emacsʼs built-in > templates. M-x srecode-minor-mode, and then “C-c / /” will prompt you for > the name of a template to insert. Entering file:major-mode at the > resulting prompt might be the most interesting one. Certain keys are > bound to common templates, examples are “C-c / f” for inserting a function > and “C-c / v” for a variable Srecode seems pretty neat, though it might only work in file buffers. Other than being shipped with Emacs, does it have any advantage over yas? Are there any plans to merge the two or make them more compatible? > Just as an aside, I have now also learned that emacs also includes > skeleton.el, which is yet a third template expansion library. Sigh. I think it was too restrictive. I think I also tried abbrev and found it not sufficient. Rasmus -- It was you, Jezebel, it was you