From: Alexander Botero-Lowry Date: Fri, 20 Nov 2009 08:06:17 +0000 (-0800) Subject: make header names bold in show-mode X-Git-Tag: 0.1~363^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00c0896c9b9369ec2a844cea4d841be7d4485220;p=notmuch.git make header names bold in show-mode --- diff --git a/notmuch.el b/notmuch.el index 763c85ff..70dbe5ba 100644 --- a/notmuch.el +++ b/notmuch.el @@ -593,6 +593,14 @@ which this thread was originally shown." (re-search-forward notmuch-show-header-end-regexp) (beginning-of-line) (let ((end (point-marker))) + (goto-char beg) + (forward-line) + (while (looking-at "[A-Za-z][-A-Za-z0-9]*:") + (beginning-of-line) + (overlay-put (make-overlay (point) (re-search-forward ":")) + 'face 'bold) + (forward-line) + ) (indent-rigidly beg end depth) (overlay-put (make-overlay beg-hidden end) 'invisible 'notmuch-show-header)