From: Sven Ehret <sven@ehlu.name>
To: Brady Trainor <algebrat@uw.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: (noob) interactive template? how?
Date: Wed, 05 Nov 2014 21:06:28 +0100 [thread overview]
Message-ID: <545A8344.8030803@ehlu.name> (raw)
In-Reply-To: <87a947g9a4.fsf@uw.edu>
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 <sven@ehlu.name> 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.
next prev parent reply other threads:[~2014-11-05 20:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-03 21:04 (noob) interactive template? how? Sven Ehret
2014-11-03 23:21 ` Brady Trainor
2014-11-05 20:06 ` Sven Ehret [this message]
2014-11-05 22:03 ` Brady Trainor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545A8344.8030803@ehlu.name \
--to=sven@ehlu.name \
--cc=algebrat@uw.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.