[PATCH] emacs: Re-arrange message sending code

Carl Worth cworth at cworth.org
Fri Apr 23 13:25:22 PDT 2010


On Thu, 22 Apr 2010 10:03:32 +0100, David Edmondson <dme at dme.org> wrote:
> Define a new `mail-user-agent' (`notmuch-user-agent') and use it by
> default. Re-arrange various routines that send mail to use this
> (compose, reply, forward). Insert a `User-Agent:' header by default.

Very nice! I've pushed this out now.

And I'm hoping that this new support makes it easier for people to hook
in the Fcc code. Does this mean there's now a single place to add that
that will make it work for messages composed from 'm', 'f', or 'r'?

The one unpleasantry I've noticed is that in the case of 'm' the headers
are being put into the buffer in the following order:

	User-Agent:
	To:
	Subject:
	From:

where I would prefer them in the following order:

	From:
	To:
	Subject:
	User-Agent:

Thanks,

-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/20100423/92f5c904/attachment.pgp>


More information about the notmuch mailing list