emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brady Trainor <algebrat@uw.edu>
To: Sven Ehret <sven@ehlu.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: (noob) interactive template? how?
Date: Mon, 03 Nov 2014 15:21:39 -0800	[thread overview]
Message-ID: <87a947g9a4.fsf@uw.edu> (raw)
In-Reply-To: <5457EDFB.8070108@ehlu.name> (Sven Ehret's message of "Mon, 03 Nov 2014 22:04:59 +0100")

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.

  reply	other threads:[~2014-11-03 23:21 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 [this message]
2014-11-05 20:06   ` Sven Ehret
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a947g9a4.fsf@uw.edu \
    --to=algebrat@uw.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=sven@ehlu.name \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).