On 2010-04-13, Carl Worth wrote: > > OK, final post from me on this issue. > No, wait! I want more from you. :-) Sigh, they always want more :-) > Would you care to put together a solution that does this from within > notmuch*.el ? I really want things usable by default without people > having to hack up their .emacs files. See the "sister mail" to this thread, in which I simply added the whole shebang to notmuch.el (not using a lambda function). Is that what you had in mind. Mind you, my elisp knowledge borders close to 0, so I would be surprised if I did not botch up things. However, I have tested the patch, and the User-Agent header got inserted. > Of course, we could also easily add a variable to make this not happen, > (but that can be added in a follow-on patch by anyone). Some don't want it, but it cannot be disabled in this patch, so that would indeed need to be a followup patch. This gets now inserted (message mode automatically wrapped the header like this): User-Agent: notmuch version 0.1-107-g553feae (Emacs 23.1.1/x86_64-pc-linux-gnu) Is that an acceptable format? I would have preferred to not include the "version" string, but notmuch --version spits that out, and it was just easier to leave it in. Is that "version" really needed, BTW? Why can't notmuch --version not just say: notmuch 0.1-107-g553feae Sebastian