Re: Re: How to add user defined highlight to muse-mode

highfly22 <[email protected]>
Newsgroups gmane.emacs.wiki.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.