On Mon, 9 May 2011 16:06:20 +0400, Dmitry Kurochkin <dmitry.kurochkin at gmail.com> wrote: > For message-fetch-field the buffer is expected to be narrowed to > just the header of the message. That is not the case when > notmuch-fcc-header-setup is run, hence a wrong header value may be > returned. E.g. when forwarding an > email, (message-fetch-field "From") returns the From header value > of the forwarded email. > > Message-field-value is the same as message-fetch-field, only > narrows the buffer to the headers first.
Hey, Dmitry. This is a nice clean fix. I've applied it to the r-c/0.6. jamie. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110509/f0a2268a/attachment.pgp>
