emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Using org-mode for recipes (i.e. cooking)


From: Christian Moe
Subject: Re: [O] Using org-mode for recipes (i.e. cooking)
Date: Thu, 24 Mar 2011 22:56:12 +0100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

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)) "")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]