[mew-int 3183] highlight-regexp on hook

Tak Kunihiro tak.kunihiro at example.com
Sat Jan 11 20:17:50 JST 2014


Dear all,

I try to highlight messages using (highlight-regexp) in following
manner; however, (highlight-regexp) removes Mew's original
color-system such for To, Cc, X-Mailer, etc.

Is there a way to use (highlight-regexp) in Mew?

(add-hook 'mew-message-mode-hook
          (lambda ()
            (highlight-regexp "^Subject: .*$")
            (highlight-regexp "^■ .*$" "hi-green")
            (highlight-regexp "^>.*$" "hi-blue-b")))

Tak


More information about the Mew-int mailing list