From: Christian Moe <mail@christianmoe.com>
To: mail@christianmoe.com
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>,
Le Wang <l26wang@gmail.com>
Subject: Re: Using org-mode for recipes (i.e. cooking)
Date: Thu, 24 Mar 2011 22:56:12 +0100 [thread overview]
Message-ID: <4D8BBDFC.30909@christianmoe.com> (raw)
In-Reply-To: <4D8BAF12.3000904@christianmoe.com>
PS. Using Eric Schulte's new with-time macro
(http://orgmode.org/worg/org-hacks.html#sec-1_2_6), part of the table
formula in my above example can be written more compactly:
$5 = '(if (string-match org-timer-re $3) (org-timer-secs-to-hms (-
(org-timer-hms-to-secs $2) (org-timer-hms-to-secs $4))) "")
becomes:
$5='(if (string-match org-timer-re $3) (with-time t (- $2 $4)) "")
next prev parent reply other threads:[~2011-03-24 21:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 11:47 Using org-mode for recipes (i.e. cooking) Le Wang
2011-03-24 20:52 ` Christian Moe
2011-03-24 21:56 ` Christian Moe [this message]
2011-03-25 19:25 ` brian powell
2011-03-30 6:30 ` Erik Hetzner
2011-07-26 18:01 ` Eric Abrahamsen
2011-07-26 19:03 ` Eric Schulte
2011-07-26 19:57 ` John Hendy
2011-07-27 5:00 ` Erik Hetzner
2011-07-27 12:50 ` Bastien
2011-07-27 2:30 ` Eric Abrahamsen
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=4D8BBDFC.30909@christianmoe.com \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=l26wang@gmail.com \
/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).