[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: How to add user defined highlight to muse-m
From: |
highfly22 |
Subject: |
Re: [emacs-wiki-discuss] Re: How to add user defined highlight to muse-mode |
Date: |
Sun, 02 Apr 2006 13:04:55 +0800 |
User-agent: |
Thunderbird 1.5 (Windows/20051201) |
Michael Olson wrote:
Can you please provide more details? I don't know whether you want to
customize a few Muse faces, or add some completely new highlighting
rules.
All I want are like this:
(defvar gtd-font-lock-keywords
'(("^\\.\\[N\\]" . howm-reminder-done-face)
("^\\[N\\]" . gtd-next-action-face)
("^\\[P\\]" . gtd-project-face)
("^\\[S\\]" . gtd-someday-face)
)
"highlight for next action list, project list and someday list"
)
(font-lock-add-keywords nil gtd-font-lock-keywords)
It is to add some completely new highlighting rules using font-lock-mode.
It works at the text mode, but no uses in muse-mode.
Thanks
Highfly