[notmuch] [PATCH 1/2] notmuch-show-get-header: new function; return alist of parsed header fields.
Carl Worth
cworth at cworth.org
Sat Feb 20 12:14:11 PST 2010
- Previous message: [notmuch] [PATCH 2/2] Add functions notmuch-show-get-(bcc, cc, date, from, subject, to) to return the corresponding header field for the current message as a string. These are thin wrappers around notmuch-show-get-header, which means they each cause a full parse of the RFC822 header. The main idea is to fix an api.
- Next message: [notmuch] [PATCH v2] Add functions notmuch-show-get-(bcc, cc, date, from, subject, to).
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Thu, 11 Feb 2010 22:34:31 -0400, david at tethera.net wrote:
> From: David Bremner <bremner at unb.ca>
>
> 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.
Thanks, David.
I've applied this now, (amended to not add any trailing whitespace).
-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100220/fd8d9a21/attachment.pgp>
- Previous message: [notmuch] [PATCH 2/2] Add functions notmuch-show-get-(bcc, cc, date, from, subject, to) to return the corresponding header field for the current message as a string. These are thin wrappers around notmuch-show-get-header, which means they each cause a full parse of the RFC822 header. The main idea is to fix an api.
- Next message: [notmuch] [PATCH v2] Add functions notmuch-show-get-(bcc, cc, date, from, subject, to).
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the notmuch
mailing list