emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Clocking in emits an error
@ 2012-06-07  1:57 Avery Chan
  2012-06-07  2:14 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Avery Chan @ 2012-06-07  1:57 UTC (permalink / raw)
  To: emacs-orgmode

I have a plain list with checkboxes. I am trying to set a clock in time using
`C-c C-x C-i`. This emits this type of an error:

byte-code: Before first headline at position 30 in buffer TODO.org

Here is the text of my org file:

---START FILE---
- [ ] Clean upstairs windows
- [ ] Lunch with Taylor
---END FILE---

How do I get the clock to start timing?

I get a similar error when I use `C-c C-x e` to set a time estimate.

org-mode version: 7.8.09
emacs version: 24.0.92.1
MacOS X 10.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clocking in emits an error
  2012-06-07  1:57 Clocking in emits an error Avery Chan
@ 2012-06-07  2:14 ` Nick Dokos
  2012-06-07  2:22   ` Avery Chan
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2012-06-07  2:14 UTC (permalink / raw)
  To: Avery Chan; +Cc: emacs-orgmode

Avery Chan <avery+gmane@ootbdev.com> wrote:

> I have a plain list with checkboxes. I am trying to set a clock in time using
> `C-c C-x C-i`. This emits this type of an error:
> 
> byte-code: Before first headline at position 30 in buffer TODO.org
> 
> Here is the text of my org file:
> 
> ---START FILE---
> - [ ] Clean upstairs windows
> - [ ] Lunch with Taylor
> ---END FILE---
> 
> How do I get the clock to start timing?
> 
> I get a similar error when I use `C-c C-x e` to set a time estimate.
> 
> org-mode version: 7.8.09
> emacs version: 24.0.92.1
> MacOS X 10.7.4
> 
> 

Does it go away if you add a headline?

---START FILE---
* Tasks for clocking
- [ ] Clean upstairs windows
- [ ] Lunch with Taylor
---END FILE---

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clocking in emits an error
  2012-06-07  2:14 ` Nick Dokos
@ 2012-06-07  2:22   ` Avery Chan
  2012-06-07 23:26     ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Avery Chan @ 2012-06-07  2:22 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: nicholas.dokos

[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]

It /does/ go away if I add the headline. So I think you're saying:

1. Plain list checkbox items cannot have a time-estimate associated them.
2. Plain list checkbox items cannot track time.
3. Only headlines/TODO headlines can have these features.

I suppose that a TODO headline is effectively a checkbox; it would be nice, though, to be able to time separate checkboxes (though I suspect that responsibility would lay upon me to edit the appropriate org-mode file <grin>).

Thanks for the clarification Nick.

Avery 

On Thursday, June 7, 2012 at 10:14 AM, Nick Dokos wrote:

> Avery Chan <avery+gmane@ootbdev.com (mailto:avery+gmane@ootbdev.com)> wrote:
> 
> > I have a plain list with checkboxes. I am trying to set a clock in time using
> > `C-c C-x C-i`. This emits this type of an error:
> > 
> > byte-code: Before first headline at position 30 in buffer TODO.org (http://TODO.org)
> > 
> > Here is the text of my org file:
> > 
> > ---START FILE---
> > - [ ] Clean upstairs windows
> > - [ ] Lunch with Taylor
> > ---END FILE---
> > 
> > How do I get the clock to start timing?
> > 
> > I get a similar error when I use `C-c C-x e` to set a time estimate.
> > 
> > org-mode version: 7.8.09
> > emacs version: 24.0.92.1
> > MacOS X 10.7.4
> > 
> 
> 
> Does it go away if you add a headline?
> 
> ---START FILE---
> * Tasks for clocking
> - [ ] Clean upstairs windows
> - [ ] Lunch with Taylor
> ---END FILE---
> 
> Nick 


[-- Attachment #2: Type: text/html, Size: 2373 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Clocking in emits an error
  2012-06-07  2:22   ` Avery Chan
@ 2012-06-07 23:26     ` Nick Dokos
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2012-06-07 23:26 UTC (permalink / raw)
  To: Avery Chan; +Cc: emacs-orgmode

Avery Chan <avery@ootbdev.com> wrote:

> It /does/ go away if I add the headline. So I think you're saying:
> 
> 1. Plain list checkbox items cannot have a time-estimate associated them.
> 2. Plain list checkbox items cannot track time.
> 3. Only headlines/TODO headlines can have these features.
> 
> I suppose that a TODO headline is effectively a checkbox; it would be nice, though, to be able to
> time separate checkboxes (though I suspect that responsibility would lay upon me to edit the
> appropriate org-mode file <grin>).
> 
> Thanks for the clarification Nick.
> 

You are reading too much into my response: I simply reacted to the error
message that you got and figured that perhaps by adding a headline, it
would go away. That's a decent workaround for the problem IMO. But I
don't know *why* there is such a limitation: it may be an implementation
accident, it may be a deliberate design choice or it may be a bug - I
don't know.

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-07 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-07  1:57 Clocking in emits an error Avery Chan
2012-06-07  2:14 ` Nick Dokos
2012-06-07  2:22   ` Avery Chan
2012-06-07 23:26     ` Nick Dokos

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).