emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Dominik, C." <C.Dominik@uva.nl>
To: "Dominik, C." <C.Dominik@uva.nl>,
	William Xu <william.xwl@gmail.com>,
	emacs-orgmode@gnu.org
Subject: RE: use non-alphabet ascii as todo keywords?
Date: Tue, 10 Jun 2008 05:38:46 +0200	[thread overview]
Message-ID: <9592BB6CDB1CEB48826BE86ACD71FA996ABF75@kwik.ic.uva.nl> (raw)
In-Reply-To: 9592BB6CDB1CEB48826BE86ACD71FA996ABF73@kwik.ic.uva.nl


[-- Attachment #1.1: Type: text/plain, Size: 1676 bytes --]

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



[-- Attachment #1.2: Type: text/html, Size: 2618 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2008-06-10  3:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09  0:43 use non-alphabet ascii as todo keywords? William Xu
2008-06-10  3:31 ` Dominik, C.
2008-06-10  3:38   ` Dominik, C. [this message]
2008-06-10  3:58     ` William Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9592BB6CDB1CEB48826BE86ACD71FA996ABF75@kwik.ic.uva.nl \
    --to=c.dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=william.xwl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).