At Mon, 03 Jan 2011 23:30:49 +0100,
kelaouchi wrote:
Completing todo keywords using M-TAB always works for "TODO"
and "WAITING" on 7.4 (except it doesn't add any space after keyword).
Completing other todo keywords (as "SOMEDAY", "CANCELLED", ...) only
works the first time i run M-TAB.
I can confirm this problem with
Org-mode version 7.4 (release_7.4.199.g8be1)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-12-11 on raven, modified by Debian
emacs -Q, just load Org mode and this file:
#+begin_src org
,#+TODO: TODO SOMEDAY | DONE
#+end_src
I noticed that SOMEDAY gets completed if the keyword is defined before
TODO, e.g.:
#+TODO: SOMEDAY TODO | DONE
Seems to work.