I've been whittling away my ~/.vm file until I could get this bug to
occur reliably. I've also run xemacs -q to avoid loading my own
~/.emacs file. So I think after many weeks of trying to pin this down,
I've come down to a small bit of ~/.vm code that triggers the bug on
my system.
Your pattern
(setq vm-summary-font-lock-keywords
'(("Re:" 1 yellow t)))
Matches the first paren expression. (You don't have any)
maybe you meant something like:
(setq vm-summary-font-lock-keywords
'(("Re:\\(.*\\)" 1 yellow t)))
I think you want:
;; Font locking for the summary buffer
(defun my-vm-font-lock ()
(interactive)
(make-variable-buffer-local 'font-lock-keywords)
;;(setq font-lock-keywords-only t)
(setq font-lock-keywords vm-summary-font-lock-keywords)
(turn-on-font-lock))
(add-hook 'vm-summary-mode-hook 'my-vm-font-lock)
(setq vm-summary-font-lock-keywords
'(("Re:" 0 yellow t)))
-jeff