From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFQN3-000805-39 for emacs-orgmode@gnu.org; Sun, 06 May 2018 16:35:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFQMz-0007Ac-Rn for emacs-orgmode@gnu.org; Sun, 06 May 2018 16:35:01 -0400 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:40977) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFQMz-0007AG-LC for emacs-orgmode@gnu.org; Sun, 06 May 2018 16:34:57 -0400 Received: by mail-wr0-x236.google.com with SMTP id g21-v6so25975055wrb.8 for ; Sun, 06 May 2018 13:34:57 -0700 (PDT) In-Reply-To: <87d0ya7z89.fsf@gmx.us> 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: Rasmus , emacs-orgmode@gnu.org 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=CA=BCt done anything with it myself. You can open up a blank .el file and test out some of emacs=CA=BCs built-in templates. M-x srecode-minor-mode, and then =E2=80=9CC-c / /=E2=80=9D 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 =E2=80=9CC-c / f=E2=80=9D for inser= ting a function and =E2=80=9CC-c / v=E2=80=9D for a variable The template file corresponding to this is located at $YOUR_EMACS_INSTALL_DIR/etc/srecode/el.srt. Just as an aside, I have now also learned that emacs also includes skeleton.el, which is yet a third template expansion library. Sigh. --=20 Aaron Ecay