From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sven Ehret Subject: Re: (noob) interactive template? how? Date: Wed, 05 Nov 2014 21:06:28 +0100 Message-ID: <545A8344.8030803@ehlu.name> References: <5457EDFB.8070108@ehlu.name> <87a947g9a4.fsf@uw.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm6qy-0006UC-03 for emacs-orgmode@gnu.org; Wed, 05 Nov 2014 15:06:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm6qw-0008SI-9o for emacs-orgmode@gnu.org; Wed, 05 Nov 2014 15:06:51 -0500 Received: from [2a00:5080:1:b::10] (port=35051 helo=miezekator.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm6qw-0008SE-2j for emacs-orgmode@gnu.org; Wed, 05 Nov 2014 15:06:50 -0500 In-Reply-To: <87a947g9a4.fsf@uw.edu> 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: Brady Trainor Cc: emacs-orgmode@gnu.org Thank you a hundred times for your friendly and helpful response to message that was so brief that I admittedly consider it unreasonable dema= nd. I am a noob to Emacs and to Org-mode, and I do not know how to execute the emacs-lisp yet, but I have yanked the code into ~/.emacs. Now, the real key to my question was the part about pressing M-x. That I was not able to figure out. From the code I assumed that it was looking for a Recipe section, but all the other templates I came across worked with the C-c capture method. Thanks to you, I was able to introduce an Org file to my recipe project and I am happy to have another use case for Org. Cheers! Sven. Am 04.11.2014 um 00:21 schrieb Brady Trainor: > Sven Ehret writes: > >> Hello, >> >> sorry for my noob question. I searched the list but cannot find anythi= ng >> that would fit. >> > It's not clear how noob you are? To Emacs? To Org-mode? > > Do you know how to execute the emacs-lisp? Or otherwise insert into you= r init file? > > Do you know that these functions are commands because of the "(interact= ive)" lines, so can be called with M-x? Do you know the M-x ALT+x deal? > > The functions look for a headline "* Recipe", so your org buffer should= have that first. M-x recipe-template will prompt for Titel due to "read-= string" (I type "M-x describe-function" with cursor on "read-string" to r= ead the documentation, or the more brief "C-h f"). > > The command "food/gen-shopping-list" seems to look for an entry "* Eink= aufsliste", and headlines with "TOCOOK" state, but I did not succeed in g= etting the command to work. Perhaps I should have had some tabular data l= ike can be found at http://sachachua.com/blog/2012/06/emacs-org-grocery-l= ists-batch-cooking/.=20 > > Hope this helps reshape your question at least.=20 > >> My question is: How would I use the template(s) on >> http://lebensverrueckt.haktar.org/articles/org-mode-Food/ ? >> >> Thank you for your attention! >> >> Best, Sven. --=20 Sven Ehret E-Mail-Verschl=FCsselung? Ist gerne m=F6glich.