From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: org table calc and lisp for hh:mm timetable Date: Sun, 20 Mar 2011 19:57:54 +0000 Message-ID: <877hbto98d.fsf@ucl.ac.uk> References: <9999237C-1FBD-481E-AF8D-D68DB85080CE@gmail.com> <87lj0gqjd3.fsf@ucl.ac.uk> <0DDD90AF-9B9A-4FE3-8080-74EF01E6E292@gmail.com> <4D7FDE8C.1030103@christianmoe.com> <00BD91C6-C610-4CDD-B3E0-E9FECDAA372C@gmail.com> <87k4fynog3.fsf@altern.org> <87r5a1lm00.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=60037 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1OlK-0003Lk-Gk for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 15:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1OlJ-0007kG-7g for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 15:58:06 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:33402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1OlJ-0007jv-0Y for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 15:58:05 -0400 In-Reply-To: <87r5a1lm00.fsf@gmail.com> (Eric Schulte's message of "Sun, 20 Mar 2011 11:50:23 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Bastien , emacs-orgmode@gnu.org, Martin Halder , mail@christianmoe.com "Eric Schulte" writes: > I wrapped Bastien's functions below in a simple macro, which IMO results > in a very nice way to handle time values in Org-mode tables as in the > attached org file (below). > > Note, the first argument to the `with-time' macro controls whether > results are returned as a time string or a numerical value. That > argument may be followed by any number of (possibly nested) expressions. > > If this looks to be generally useful I'd be happy to post it to worg. Although I don't need it now, I *know* I will need something like this in the future so please do put it up on Worg! Nice and elegant. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.90.g1fb3.dirty)