hsitz / VimOrganizer

VimOrganizer is partly a clone of Emacs' Org-mode, and partly a front end to Org-mode itself. Do Org in Vim.
http://vimeo.com/31531308
518 stars 67 forks source link

TODO status cycling ignores all but first status after "|" #64

Closed vlcinsky closed 10 years ago

vlcinsky commented 10 years ago

Trying to define multiple statuses for TODO items.

E.g.

#+TODO: TODO(t) RUNNING(r) WAITING(r) | SOMEDAY(s) CANCELLED(c) DONE(d)

or without using shortcut letters (which I am not sure are supported)

#+TODO: TODO RUNNING WAITING | SOMEDAY CANCELLED DONE

Swapping statuses by Shift-Enter is swapping over all "in process" statuses, but after switching to the first status after pipe it then ignores remaining statuses, switches to "none" (removes the keyword), and starts with "in process" statuses again.

I did not find a way how to switch to remaining "done" statuses other then writing them manually.

hsitz commented 10 years ago

On Mon, Oct 28, 2013 at 1:03 PM, Jan Vlčinský notifications@github.comwrote:

+TODO: TODO(t) RUNNING(r) WAITING(r) | SOMEDAY(s) CANCELLED(c) DONE(d)

or without using shortcut letters (which I am not sure are supported)

They're supported for TAGS but not sure if supported for TODOs. Have to check docs.

+TODO: TODO RUNNING WAITING | SOMEDAY CANCELLED DONE

Swapping statuses by Shift-Enter is swapping over all "in process" statuses, but after switching to the first status after pipe it then ignores remaining statuses, switches to "none" (removes the keyword), and starts with "in process" statuses again.

If I recall, this sequencing behavior is similar to way it works in Org. To add one of the alternate finished designations you could use the TODO menu, which you can access by t. Each of the statuses is assigned a number on that menu, which you can press to select that status.

-- Herb

vlcinsky commented 10 years ago

I checked, how it works in emacs - there is shortuct S- or S- - and it cycles through all statuses, not skipping some statuses behind pipe.

To me, this seems quite practical approach.

Anyway, thanks for ",t" menu trick - this is sufficient enough for what is needed in daily live.

hsitz commented 10 years ago

On Tue, Oct 29, 2013 at 3:38 PM, Jan Vlčinský notifications@github.comwrote:

I checked, how it works in emacs - there is shortuct S- or S- - and it cycles through all statuses, not skipping some statuses behind pipe.

To me, this seems quite practical approach.

Anyway, thanks for ",t" menu trick - this is sufficient enough for what is needed in daily live.

Jan -- Thanks for checking on that. Not sure how it ended up the way it is; for most things I've tended to try to have them operate same way as the default in Org-mode. Could be that I misunderstood how Org-mode worked on this; maybe thinking of different "tag groups" in Org-mode, I don't know. In any case, I've flagged this as something to change if/when I get back to doing work fixing/extending VimOrganizer. -- Herb