From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Tindall Subject: Re: Possible bug report - error with time string recognition in clocktable Date: Thu, 9 May 2013 16:08:14 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a8e60ff246004dc511fa6 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaZwg-0003b6-Td for emacs-orgmode@gnu.org; Thu, 09 May 2013 19:08:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UaZwe-0002OZ-4x for emacs-orgmode@gnu.org; Thu, 09 May 2013 19:08:18 -0400 Received: from mail-lb0-f178.google.com ([209.85.217.178]:61632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaZwd-0002OV-Px for emacs-orgmode@gnu.org; Thu, 09 May 2013 19:08:16 -0400 Received: by mail-lb0-f178.google.com with SMTP id x10so3570956lbi.23 for ; Thu, 09 May 2013 16:08:14 -0700 (PDT) In-Reply-To: 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: Org-Mode --047d7b3a8e60ff246004dc511fa6 Content-Type: text/plain; charset=ISO-8859-1 More info: This appears to be failing in org-parse-time-string, when it compares the string "" to org-ts-regexp0 Nothing in the regexp nor in the call tree is attempting to process the special time values. It seems like there is missing code needed either in org-parse-time-string to handle the special strings, or in the clock-updater code to convert the special time strings to actual times before passing them on. Is there somewhere else I should be submitting this bug? On Wed, May 8, 2013 at 4:47 PM, Subhan Tindall < subhan.tindall@rentrakmail.com> wrote: > The following clocktable line: > #+BEGIN: clocktable :tstart "<-7d>" :tend "" > > #+END: > > errors out on the tstart & tend times > According to all the documentation I can find, these are both valid > 'special' time strings. > Attempts to evaluate the clocktable with C-c C-c give the error: > > Updating dynamic block `clocktable' at line 57... > org-parse-time-string: Not a standard Org-mode time string: <-7d> > > however this: > #+BEGIN: clocktable :tstart "<2013-05-08 Wed>" :tend "<2013-05-09 Thu>" > #+END: > > works just fine > > > -- > Subhan Michael Tindall | Software Developer > | smt@rentrakmail.com > RENTRAK | www.rentrak.com | NASDAQ: RENT > -- Subhan Michael Tindall | Software Developer | smt@rentrakmail.com RENTRAK | www.rentrak.com | NASDAQ: RENT --047d7b3a8e60ff246004dc511fa6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
More info:
This appears to be failing in org-par= se-time-string, when it compares the string "<now>" to org-= ts-regexp0
Nothing in the regexp nor in the call tree is at= tempting to process the special time values.

It seems like there is missing code needed = either in org-parse-time-string to handle the special strings, or in the cl= ock-updater code to convert the special time strings to actual times before= passing them on.

Is there somewhere else I should be submitt= ing this bug?





On Wed, May 8, 2013 at 4:47 PM, Subhan Tindall <subhan.tindal= l@rentrakmail.com> wrote:
The following clocktable line:
#+BEGIN: clocktabl= e :tstart "<-7d>" :tend "<now>"
<= br>
#+END:

errors out on the tstart &= ; tend times
According to all the documentation I can find, these are both valid &#= 39;special' time strings.
Attempts to evaluate the clocktable= with C-c C-c give the error:

Updating dynamic block `clocktable' at line 57...
org-pa= rse-time-string: Not a standard Org-mode time string: <-7d>

however this:
#+BEGIN: clocktable :tstart "&= lt;2013-05-08 Wed>" :tend "<2013-05-09 Thu>"
#+END:

works just fine


<= /div>--
Subhan Michael Tindall | Software= Developer
| smt@rentrakmail.= com
RENTRAK | www.rentrak= .com | NASDAQ: RENT



--
Subhan Michael Tindall | Software Developer
| smt@rentrakmail.comRENTRAK | www.rentr= ak.com | NASDAQ: RENT
--047d7b3a8e60ff246004dc511fa6--