From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dominik, C." Subject: RE: use non-alphabet ascii as todo keywords? Date: Tue, 10 Jun 2008 05:31:12 +0200 Message-ID: <9592BB6CDB1CEB48826BE86ACD71FA996ABF73@kwik.ic.uva.nl> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0789537107==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5ubu-0002a5-JX for emacs-orgmode@gnu.org; Mon, 09 Jun 2008 23:33:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5ubt-0002Zl-VZ for emacs-orgmode@gnu.org; Mon, 09 Jun 2008 23:33:26 -0400 Received: from [199.232.76.173] (port=54466 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5ubt-0002Zg-RK for emacs-orgmode@gnu.org; Mon, 09 Jun 2008 23:33:25 -0400 Received: from kwik.ic.uva.nl ([146.50.98.168]:38193) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5ubt-0000uj-Cg for emacs-orgmode@gnu.org; Mon, 09 Jun 2008 23:33:25 -0400 Content-class: urn:content-classes:message List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: William Xu , emacs-orgmode@gnu.org This is a multi-part message in MIME format. --===============0789537107== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8CAAA.BCE4BDB3" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8CAAA.BCE4BDB3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3Dscience.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?=20 =20 Hi! Can I use non-alphabet ascii as todo keywords? Like this:=20 ,---- | (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. =20 --=20 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 ------_=_NextPart_001_01C8CAAA.BCE4BDB3 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=3Dscience.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

------_=_NextPart_001_01C8CAAA.BCE4BDB3-- --===============0789537107== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0789537107==--