From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: add blocks to org-structure-template-alist Date: Sat, 28 Apr 2018 01:22:44 +0200 Message-ID: <87bme4tet7.fsf@nicolasgoaziou.fr> References: <13dd9dbd-8ae7-2572-88ac-afccb36533a7@verizon.net> <87in8ctftl.fsf@nicolasgoaziou.fr> <87efj0p7l9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCChZ-0007bp-VY for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 19:22:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCChZ-0007Rh-7K for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 19:22:53 -0400 In-Reply-To: <87efj0p7l9.fsf@gnu.org> (Bastien's message of "Sat, 28 Apr 2018 01:12:18 +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: Bastien Cc: emacs-orgmode@gnu.org, Charles Millar Hello, Bastien writes: > With the new template mechanism, can we have rich templates like the > one Charles quotes? > > (add-to-list 'org-structure-template-alist '("r" "#+begin_src rec :data? :type \n#+end_src" "")) > > allowing cursor positioning, etc? > > If yes, what pointer can we add to ORG-NEWS? I don't know, but I would suggest to use Yasnippet or some other specialized package for advanced templates like this one. Regards, -- Nicolas Goaziou 0x80A93738