I'm trying to use the following setup to "hilit" my bbdb buffer:
(hilit-set-mode-patterns
'bbdb-mode
'(("^[^ \t].*" nil msg-from)
("^[ \t]+[^\\:]+:" nil msg-header)))
(add-hook 'bbdb-list-hook 'hilit-rehighlight-buffer-quietly t)
I have 2 "problems":
1. The buffer is highlighted on the following occasions:
* M-x bbdb
* M-TAB completion of mail abbrev
* expansion of mail alias
It is *not* highlighted when someone is noticed in RMAIL. I can
add hilit-rehighlight-buffer-quietly to bbdb-notice-hook, and that
doesn't help. That hook is called, but there is no highlighting.
2. This isn't really BBDB related, but it is shown up by the above
example. I need to escape the ":" in the 2nd regular expression
above! The emacs info for regexps says nothing about ":", but
scanning the C code which handles regexps shows some special
treatment of ":".
By the way, I have seen bbdb-display, but since I use hilit19 I'd
rather do the highlighting using it.
Thanks...
peace & happiness,
martin
--
_--_|\ Peace & Department of Computer Science
/ \ Happiness The Australian National University
\_.--._/<-------------------------------------------------------------------
v Martin Schwenke [EMAIL PROTECTED]