From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Erik L. Arneson" <dybbuk@LNouv.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: `org-agenda-get-timestamps' fails on active timestamp before first headline
Date: Thu, 24 Jun 2010 08:54:11 +0200 [thread overview]
Message-ID: <C57EB643-35F1-448A-94B5-D007C4417450@gmail.com> (raw)
In-Reply-To: <m2hbkx4fwd.fsf@tyche.LNouv.com>
Hi Erik,
you should not put active time stamps before the first headline.
Active time stamps have a specific meaning in Org-mode.
Still, I have made the change to catch this error.
Greetings
- Carsten
On Jun 20, 2010, at 10:18 PM, Erik L. Arneson wrote:
> Hi guys,
>
> I've discovered a bug in `org-agenda-get-timestamps' wherein an active
> timestamp before the first headline causes it to fail. I realize that
> this is probably an error in my use of active timestamps, but there
> was
> no really handy error message and this bugged me for weeks.
>
> I'm not familiar enough with org-mode to know what the correct
> behavior
> should be here (it'd be nice to get an error message saying "Don't use
> active timestamps that way!"), but here's an example .org file that
> will
> trigger the bug:
>
> --8<---------------cut here---------------start------------->8---
> #+BEGIN: clocktable :maxlevel 3 :scope today
> Clock summary at [2010-06-20 Sun 13:09]
>
> | L | Headline | Time |
> |---+---------------------------------------+--------|
> | | *Total time* | *0:13* |
> |---+---------------------------------------+--------|
> | 1 | Track down funky bug <2010-06-20 Sun> | 0:13 |
> #+END:
>
> * Track down funky bug <2010-06-20 Sun>
> :LOGBOOK:
> CLOCK: [2010-06-20 Sun 12:43]
> CLOCK: [2010-06-20 Sun 12:30]--[2010-06-20 Sun 12:43] => 0:13
> :END:
> --8<---------------cut here---------------end--------------->8---
>
> I hope this can help somebody else track down the right place to fix
> this bug.
>
> --
> Erik Arneson <dybbuk@LNouv.com>
> GPG Key ID: 1024D/62DA1D25
> Office: +1.541.291.9776
> Skype: callto://pymander
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
prev parent reply other threads:[~2010-06-24 7:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-20 20:18 `org-agenda-get-timestamps' fails on active timestamp before first headline Erik L. Arneson
2010-06-24 6:54 ` Carsten Dominik [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=C57EB643-35F1-448A-94B5-D007C4417450@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=dybbuk@LNouv.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).