From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivan Vilata i Balaguer Subject: Re: [PATCH] Allow relative times in clocktable tstart and tend options Date: Wed, 28 Nov 2012 17:11:46 +0100 Message-ID: <87ehjd9071.fsf@edgar.terramar.selidor.net> References: <20121121230733.GA15586@edgar.selidor.net> <87a9u1ao7v.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdkFO-0008Dr-Vy for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 11:12:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdkFF-0007EK-FL for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 11:12:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:37437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdkFF-0007EC-91 for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 11:12:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TdkFO-0006Jz-5M for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 17:12:26 +0100 Received: from 74.78.19.95.dynamic.jazztel.es ([95.19.78.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Nov 2012 17:12:26 +0100 Received: from ivan by 74.78.19.95.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Nov 2012 17:12:26 +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: emacs-orgmode@gnu.org Nicolas Goaziou (2012-11-28 13:47:32 +0100) wrote: > 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? Of course, I will do it ASAP. Thanks for considering the patch! -- Ivan Vilata i Balaguer -- https://elvil.net/