Hi, I don't know how it works in gnus, but at least on the vim mode, the output generated by 'notmuch reply' is not ready to be sent, at least the Message-ID field is needed, and also is nice to have the User-Agent.
Besides, in order to avoid creating a new message by hand (possibly fetching the info from notmuch config), it's more straightforward to have 'notmuch compose' command. In the future 'notmuch compose' might be used to replace 'notmuch reply' and possily add a forward option too. It might also be possible to add mail aliases when composing a message, and these aliases might be used while generating the 'notmuch search' output. Felipe Contreras (3): reply: add message-id header reply: add user-agent field Add 'compose' command Makefile.local | 1 + notmuch-client.h | 3 + notmuch-compose.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++ notmuch-reply.c | 16 ++++++++ notmuch.c | 5 ++ 5 files changed, 136 insertions(+), 0 deletions(-) create mode 100644 notmuch-compose.c -- 1.7.3.2