Add this to your .emacs :
(add-hook 'text-mode-hook (lambda () (font-lock-add-keywords nil '(("\\[.*\\]" (0 '(face default display "meta") append))) t) (push 'display font-lock-extra-managed-props)))
This will display your metadata, which is matched using the regular expression "\\[.*\\]" as meta
[01/01/2012 14:00 - Message] Hello World!
Will be temporarily
meta Hello World!
Just replace the regex with one that matches your metadata.
Hope this helps!
source share