all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Xu <william.xwl@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: use non-alphabet ascii as todo keywords?
Date: Tue, 10 Jun 2008 12:58:54 +0900	[thread overview]
Message-ID: <m2wsky54ap.fsf@zen.local.ce-lab.net> (raw)
In-Reply-To: 9592BB6CDB1CEB48826BE86ACD71FA996ABF75@kwik.ic.uva.nl

"Dominik, C." <C.Dominik@uva.nl> writes:

> 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.

Yeah, works!

I've replaced all "TODO" in org-agenda-files with "-", now in
org-agenda, I can change item state from "-" to ">" as usual, etc.

Thanks!

-- 
William

http://williamxu.net9.org

A New Way of Taking Pills
	A physician one night in Wisconsin being disturbed by a burglar, and
having no ball or shot for his pistol, noiselessly loaded the weapon with
small, hard pills, and gave the intruder a "prescription" which he thinks
will go far towards curing the rascal of a very bad ailment.
		-- Nevada Morning Transcript, January 30, 1861

      reply	other threads:[~2008-06-10  3:59 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.
2008-06-10  3:58     ` William Xu [this message]

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

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

  git send-email \
    --in-reply-to=m2wsky54ap.fsf@zen.local.ce-lab.net \
    --to=william.xwl@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.