From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: org-envolve? Date: Mon, 28 Jul 2014 14:38:22 -1000 Message-ID: References: <87tx6175wf.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBvRF-0006KY-Nx for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 20:38:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBvR8-0004Dw-76 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 20:38:45 -0400 Received: from gproxy6-pub.mail.unifiedlayer.com ([67.222.39.168]:60148) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XBvR7-0004DT-V0 for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 20:38:38 -0400 In-Reply-To: (David Arroyo Menendez's message of "Mon, 28 Jul 2014 19:30:36 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Arroyo Menendez Cc: Bastien , emacs-orgmode@gnu.org Aloha David, David Arroyo Menendez writes: >>> + davidam-org-envolve-src(msg) >>> + davidam-org-src(msg) >> >> It's quicker to add values to `org-structure-template-alist' IMO. >> > > I'm taking a look to org-structure-template-alist, it seems for > autocompletion. How can I use it? org-try-structure-completion, it's not > an interactive function. IIUC, org-structure-template-alist is for Easy Templates (Section 15.2 in the manual). I think these function differently from your *-envolve-* functions. The Easy Templates prepare a container to be filled, and your functions (which I find handy, too, thanks!) take extant text and convert it to a source block or list. hth, Tom -- Thomas S. Dye http://www.tsdye.com