notmuch-show-get-header: new function; return alist of parsed header fields.
authorDavid Bremner <bremner@unb.ca>
Fri, 12 Feb 2010 02:34:31 +0000 (22:34 -0400)
committerCarl Worth <cworth@cworth.org>
Sat, 20 Feb 2010 20:12:09 +0000 (12:12 -0800)
commite6c6bf3250475ead63a8306342d3af1d2d48e18a
treeff8fdab2dec60cbe2b88cf86422c2d2f72905341
parentbecdb42b1f660950f1d755ba2d96ff403e995671
notmuch-show-get-header: new function; return alist of parsed header fields.

This function parses the displayed message to recover header
fields. It uses mailheader.el to do the actual header parsing, after
preprocessing to remove indentation.  It relies on the variables
notmuch-show-message-begin-regexp, notmuch-show-header-begin-regexp,
and notmuch-show-message-end-regexp.
notmuch.el