aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-11 10:54:12 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-11 10:54:12 -0800
commita9f3ad4fcbaf1415ec40a82125dbf4064dbdc819 (patch)
tree93f5f65dd02ce1ac82de484cbc4c4b4284772f86 /notmuch.c
parent26bb521f52960af10775864b822d6e84c507ead3 (diff)
notmuch reply: Use GMime to construct the header for the reply.
The advantage here is that we actually get the necessary folding of long headers, (particularly the References header, but also things like Subject). This also gives us parsed recipient addresses so that we can easily elide the sender's address(es) from the recipient list (just as soon as we have a configured value for the recipient's address(es)).
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch.c b/notmuch.c
index 224e4a6b..56f93a7c 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -212,6 +212,8 @@ main (int argc, char *argv[])
command_t *command;
unsigned int i;
+ g_mime_init (0);
+
if (argc == 1)
return notmuch_setup_command (local, 0, NULL);