[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] (noob) interactive template? how?
From: |
Sven Ehret |
Subject: |
Re: [O] (noob) interactive template? how? |
Date: |
Wed, 05 Nov 2014 21:06:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Thank you a hundred times for your friendly and helpful response to
message that was so brief that I admittedly consider it unreasonable demand.
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 <address@hidden> writes:
>
>> Hello,
>>
>> sorry for my noob question. I searched the list but cannot find anything
>> 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 your init
> file?
>
> Do you know that these functions are commands because of the "(interactive)"
> 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 read the
> documentation, or the more brief "C-h f").
>
> The command "food/gen-shopping-list" seems to look for an entry "*
> Einkaufsliste", and headlines with "TOCOOK" state, but I did not succeed in
> getting the command to work. Perhaps I should have had some tabular data like
> can be found at
> http://sachachua.com/blog/2012/06/emacs-org-grocery-lists-batch-cooking/.
>
> Hope this helps reshape your question at least.
>
>> 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.
--
Sven Ehret
E-Mail-Verschlüsselung? Ist gerne möglich.