From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Allow relative times in clocktable tstart and tend options Date: Wed, 28 Nov 2012 13:47:32 +0100 Message-ID: <87a9u1ao7v.fsf@gmail.com> References: <20121121230733.GA15586@edgar.selidor.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdh7G-0004Xi-7d for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 07:51:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tdh7C-0007V6-8X for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 07:51:50 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:48996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tdh7C-0007UA-1x for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 07:51:46 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn17so3970153wib.12 for ; Wed, 28 Nov 2012 04:51:44 -0800 (PST) In-Reply-To: <20121121230733.GA15586@edgar.selidor.net> (Ivan Vilata i. Balaguer's message of "Thu, 22 Nov 2012 00:07:33 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ivan Vilata i Balaguer Cc: emacs-orgmode@gnu.org Hello, Ivan Vilata i Balaguer writes: > * lisp/org-clock.el (org-clock-get-table-data): Pass tstart and tend > time strings through `org-matcher-time` to allow relative times besides > absolute ones, convert result to encoded time. > * doc/org.texi (The clock table): Document acceptance of relative times > in tstart and tend, link to syntax description. > > Inspired in the original relative times proposal by Ilya Shlyakhter, > this is less invasive and it doesn't modify core functions, thus it > avoids the original's infinite recursion when hitting normal dates in > other locations. > > TINYCHANGE Thank you for your patch. Would you mind providing a (couple) of simple test case(s) (or better, a complete ert test) for that situation? Regards, -- Nicolas Goaziou