[PATCH v2 0/3] composing patches

Felipe Contreras felipe.contreras at gmail.com
Wed Apr 18 05:39:10 PDT 2012


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.

Although we are adding extra fields in notmuch reply, higher layers can just
override them easily.

Felipe Contreras (3):
  Add 'compose' command
  reply: add message-id header
  reply: add user-agent field

 Makefile.local    |    1 +
 notmuch-client.h  |    3 ++
 notmuch-compose.c |  111 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 notmuch-reply.c   |   17 ++++++++
 notmuch.c         |    5 +++
 5 files changed, 137 insertions(+)
 create mode 100644 notmuch-compose.c

-- 
1.7.10



More information about the notmuch mailing list