And here is how to do this:

(add-hook 'org-mode-hook
  (lambda ()
    (modify-syntax-entry ?- "w" org-mode-syntax-table)
    (modify-syntax-entry ?> "w" org-mode-syntax-table)))

Give it a try and report your experiences!  Might actually work well.

HTH

- Carsten



-----Original Message-----
From: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of Dominik, C.
Sent: Tue 6/10/2008 5:31 AM
To: William Xu; emacs-orgmode@gnu.org
Subject: RE: [Orgmode] use non-alphabet ascii as todo keywords?


Unfortunately, Org relies on the fact that a TODO keyword ends at a word end that can be matched with the regular expression "\\>".  So you would have to make ">" and "-" into word
characters.  That can be done, but I fear it might break something else.  Worth a try, though.

- Carsten

-----Original Message-----
From: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of William Xu
Sent: Mon 6/9/2008 2:43 AM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] use non-alphabet ascii as todo keywords?

Hi!

Can I use non-alphabet ascii as todo keywords? Like this:

,----
| (setq org-todo-keywords
|       '((sequence "-" ">" "o" "x")))
`----

where each stands for: todo, doing, done, cancelled.  They seem much
easier to recognize than TODO, DOING, DONE, CANCELLED, etc. 

--
William

http://williamxu.net9.org

We'll pivot at warp 2 and bring all tubes to bear, Mr. Sulu!




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode