emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is it possible for checkbox items to have :LOGBOOK: drawers?
@ 2011-12-10 17:13 Steinar Bang
  2011-12-11 10:21 ` David Maus
  2011-12-11 10:30 ` Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: Steinar Bang @ 2011-12-10 17:13 UTC (permalink / raw)
  To: emacs-orgmode

Platform: Ubuntu 10.10
          GNU Emacs 23.1.1
          git version of org-mode

When I create a TODO task, I first create the task, then I create
checkboxes for the things I would like to do, ie.

* My tasks
** TODO here's a new task [/]
 - [ ] First I need to do this
 - [ ] Then I need to do that
 - [ ] Finally I need to finish this

The reason for using checkboxes, is that I find them more visually
pleasing than nested TODOs.  But when logging progress, I can't use the
logbook functionality (like I could have done with nested TODOs).  I
have ended up doing this:

* My tasks
** TODO here's a new task [/]
 - [ ] First I need to do this
  - Logbook:
    - My first note
    - My second note
 - [ ] Then I need to do that
 - [ ] Finally I need to finish this

That works, after a fashion.  But I get no timestamp on the notes,
unless I remember to do a `C-.'

I've tried putting :LOGBOOK: drawers in the checkboxes, and that seemed
to work at first, but then I discovered that all notes ended up in the
topmost checkbox, which just happened to reside under the first
checkbox.

Is there some variable that I can set to make :LOGBOOK: drawers work
under checkboxes?  Is there some other similar solution?  (I'm on git
org-mode at home, and use native emacs 23 org-mode and 7.7 on the
windows boxes at work)

Thanks!


- Steinar

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

* Re: Is it possible for checkbox items to have :LOGBOOK: drawers?
  2011-12-10 17:13 Is it possible for checkbox items to have :LOGBOOK: drawers? Steinar Bang
@ 2011-12-11 10:21 ` David Maus
  2011-12-11 10:30 ` Nicolas Goaziou
  1 sibling, 0 replies; 5+ messages in thread
From: David Maus @ 2011-12-11 10:21 UTC (permalink / raw)
  To: Steinar Bang; +Cc: emacs-orgmode

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

At Sat, 10 Dec 2011 18:13:14 +0100,
Steinar Bang wrote:
>
> Platform: Ubuntu 10.10
>           GNU Emacs 23.1.1
>           git version of org-mode
>
> When I create a TODO task, I first create the task, then I create
> checkboxes for the things I would like to do, ie.
>
> * My tasks
> ** TODO here's a new task [/]
>  - [ ] First I need to do this
>  - [ ] Then I need to do that
>  - [ ] Finally I need to finish this
>
> The reason for using checkboxes, is that I find them more visually
> pleasing than nested TODOs.  But when logging progress, I can't use the
> logbook functionality (like I could have done with nested TODOs).  I
> have ended up doing this:
>
> * My tasks
> ** TODO here's a new task [/]
>  - [ ] First I need to do this
>   - Logbook:
>     - My first note
>     - My second note
>  - [ ] Then I need to do that
>  - [ ] Finally I need to finish this
>
> That works, after a fashion.  But I get no timestamp on the notes,
> unless I remember to do a `C-.'
>
> I've tried putting :LOGBOOK: drawers in the checkboxes, and that seemed
> to work at first, but then I discovered that all notes ended up in the
> topmost checkbox, which just happened to reside under the first
> checkbox.
>
> Is there some variable that I can set to make :LOGBOOK: drawers work
> under checkboxes?  Is there some other similar solution?  (I'm on git
> org-mode at home, and use native emacs 23 org-mode and 7.7 on the
> windows boxes at work)

No, as far as I know it is not possible to attach a Drawer to a list
item.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]

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

* Re: Is it possible for checkbox items to have :LOGBOOK: drawers?
  2011-12-10 17:13 Is it possible for checkbox items to have :LOGBOOK: drawers? Steinar Bang
  2011-12-11 10:21 ` David Maus
@ 2011-12-11 10:30 ` Nicolas Goaziou
  2011-12-11 11:56   ` Steinar Bang
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2011-12-11 10:30 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Steinar Bang <sb@dod.no> writes:

> Is there some variable that I can set to make :LOGBOOK: drawers work
> under checkboxes?

No, lists ignore contents of drawers within them. Moreover :LOGBOOK:
drawers are an headline only feature.


Regards,

-- 
Nicolas Goaziou

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

* Re: Is it possible for checkbox items to have :LOGBOOK: drawers?
  2011-12-11 10:30 ` Nicolas Goaziou
@ 2011-12-11 11:56   ` Steinar Bang
  2011-12-11 12:25     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Steinar Bang @ 2011-12-11 11:56 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Nicolas Goaziou <n.goaziou@gmail.com>:

> Hello,
> Steinar Bang <sb@dod.no> writes:

>> Is there some variable that I can set to make :LOGBOOK: drawers work
>> under checkboxes?

> No, lists ignore contents of drawers within them. Moreover :LOGBOOK:
> drawers are an headline only feature.

>>>>> David Maus <dmaus@ictsoc.de>:

> No, as far as I know it is not possible to attach a Drawer to a list
> item.

Bummer!  But thanks for the replies.

Is there another way to accomplish what I want: getting time stamped log
entries under a list item?

Ie. it doesn't have to be in a drawer, and entries don't have to be
created with `C-c C-z'.  But should be easy to use.

Or... I could go back to nested TODOs I guess...?  But checkboxes are so
much more visually pleasing...

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

* Re: Is it possible for checkbox items to have :LOGBOOK: drawers?
  2011-12-11 11:56   ` Steinar Bang
@ 2011-12-11 12:25     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2011-12-11 12:25 UTC (permalink / raw)
  To: emacs-orgmode

Hi Steinar,

Steinar Bang <sb@dod.no> writes:

> Is there another way to accomplish what I want: getting time stamped log
> entries under a list item?

Nope.

> Ie. it doesn't have to be in a drawer, and entries don't have to be
> created with `C-c C-z'.  But should be easy to use.
>
> Or... I could go back to nested TODOs I guess...?  

I would say so.

> But checkboxes are so much more visually pleasing...

Maybe you can find smart TODO keywords for TODO and DONE that are more
visually pleasing?  Just an idea.

Best,

-- 
 Bastien

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

end of thread, other threads:[~2011-12-11 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10 17:13 Is it possible for checkbox items to have :LOGBOOK: drawers? Steinar Bang
2011-12-11 10:21 ` David Maus
2011-12-11 10:30 ` Nicolas Goaziou
2011-12-11 11:56   ` Steinar Bang
2011-12-11 12:25     ` Bastien

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