unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v2 0/3] composing patches
@ 2012-04-18 12:39 Felipe Contreras
  2012-04-18 12:39 ` [PATCH v2 1/3] Add 'compose' command Felipe Contreras
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Felipe Contreras @ 2012-04-18 12:39 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-04-19 14:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 12:39 [PATCH v2 0/3] composing patches Felipe Contreras
2012-04-18 12:39 ` [PATCH v2 1/3] Add 'compose' command Felipe Contreras
2012-04-18 13:06   ` Jani Nikula
2012-04-18 13:34     ` Felipe Contreras
2012-04-18 13:43       ` Dmitry Kurochkin
2012-04-18 14:11         ` Felipe Contreras
2012-04-18 14:41           ` Dmitry Kurochkin
2012-04-18 15:45             ` Felipe Contreras
2012-04-18 14:20       ` Jani Nikula
2012-04-18 15:39         ` Felipe Contreras
2012-04-18 16:00           ` Tomi Ollila
2012-04-18 16:10             ` Dmitry Kurochkin
2012-04-18 16:34           ` Jani Nikula
2012-04-19  9:31             ` Tomi Ollila
2012-04-19 14:03               ` Felipe Contreras
2012-04-18 12:39 ` [PATCH v2 2/3] reply: add message-id header Felipe Contreras
2012-04-18 13:09   ` Jani Nikula
2012-04-18 17:27     ` Adam Wolfe Gordon
2012-04-18 19:44     ` Felipe Contreras
2012-04-18 12:39 ` [PATCH v2 3/3] reply: add user-agent field Felipe Contreras
2012-04-18 17:36 ` [PATCH v2 0/3] composing patches Adam Wolfe Gordon

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).