emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] definition lists in org-mode


From: Carsten Dominik
Subject: Re: [Orgmode] definition lists in org-mode
Date: Fri, 6 Jul 2007 12:34:10 +0200


On Jul 6, 2007, at 11:56, Rick Moynihan wrote:

Eddward DeVilla wrote:
...
Now first off, I know I could get most of what I want if I were to
switch to use outline entries instead of a plain list.  Heading don't
wrap.  That just seems wrong though.  It's a list.  I'd have to
replace the simple checkboxes with TODO keyword (which isn't so
unreasonable now that we can have multiple sequences)

Out of curiousity this led me to try doing something like this:

(setq org-todo-keywords
      '((sequence "TODO" "|" "DONE")
        (type "[ ]" "|" "[X]")
        ))

Todo keywords need to be words currently, so you could do
something like

(setq org-todo-keywords
      '((sequence "TODO" "|" "DONE")
        (type "I_I" "|" "IXI")
        ))

i.e. Hack an implementation of checkboxes onto the todo-keywords feature. Unfortunately it fails to work, the checkboxes aren't recognised as TODO keywords, and don't cycle properly. Obviously also C-c can't be used to toggle them (as it adds tags) and these wouldn't be real checkboxes.

Well, a two-state todo setup really *is* a checkbox, even if it does
not look like one.  About the only difference is the command you
use to toggle the state.


I'm not sure if there is a need for checkboxes in outlines. When I started with org-mode this is something I felt like I needed; though this is likely due to me having previously used vim outliner for about a year.

Can anyone else see a use/need for this?

Vim outliner supports checkboxes as part of outlines, which allows folding etc... It will also automatically check parent boxes when all child boxes are checked (is there a way for org-mode to do this???)

Not currently.  I have just implemented this for boolean properties
in column view (will be in 5.02), but not yet for TODO states.

- Carsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]