From: Subhan Tindall <subhan.tindall@rentrakmail.com>
To: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Possible bug report - error with time string recognition in clocktable
Date: Thu, 9 May 2013 16:08:14 -0700 [thread overview]
Message-ID: <CAKKEbDt3U_615ZAKkUqJDfzMkY9hp3pfz9g7SWi1ZJsE19Q4AQ@mail.gmail.com> (raw)
In-Reply-To: <CAKKEbDvbtoz6MVQc_krjonJ_WN9bLDuhDvsOCdxHRKjCJ0PmnQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
More info:
This appears to be failing in org-parse-time-string, when it compares the
string "<now>" 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 "<now>"
>
> #+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
[-- Attachment #2: Type: text/html, Size: 2610 bytes --]
prev parent reply other threads:[~2013-05-09 23:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 23:47 Possible bug report - error with time string recognition in clocktable Subhan Tindall
2013-05-09 23:08 ` Subhan Tindall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKKEbDt3U_615ZAKkUqJDfzMkY9hp3pfz9g7SWi1ZJsE19Q4AQ@mail.gmail.com \
--to=subhan.tindall@rentrakmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).