[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Orgmode] use non-alphabet ascii as todo keywords?
From: |
Dominik, C. |
Subject: |
RE: [Orgmode] use non-alphabet ascii as todo keywords? |
Date: |
Tue, 10 Jun 2008 05:38:46 +0200 |
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: address@hidden on behalf of Dominik, C.
Sent: Tue 6/10/2008 5:31 AM
To: William Xu; address@hidden
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: address@hidden on behalf of William Xu
Sent: Mon 6/9/2008 2:43 AM
To: address@hidden
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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode