aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorGravatar John Lenz <lenz@math.uic.edu>2013-07-01 19:19:42 -0500
committerGravatar David Bremner <bremner@debian.org>2013-08-27 07:57:36 -0300
commitf735a85c28a3c6b6e38ecaba04029a917c6d6830 (patch)
tree6dc52a163720aa2ac3532b1b0d857f9536e78800 /notmuch-reply.c
parent3e60e0b3e9a0cc762abe077fb0077f23ac29f56c (diff)
cli: add --include-html option to notmuch show
For my client, the largest bottleneck for displaying large threads is exporting each html part individually since by default notmuch will not show the json parts. For large threads there can be quite a few parts and each must be exported and decoded one by one. Also, I then have to deal with all the crazy charsets which I can do through a library but is a pain. Therefore, this patch adds an --include-html option that causes the text/html parts to be included as part of the output of show. diff man/man1/notmuch-show.1
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index ac46d026..9d6f8436 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -621,7 +621,7 @@ notmuch_reply_format_sprinter(void *ctx,
/* Start the original */
sp->map_key (sp, "original");
- format_part_sprinter (ctx, sp, node, TRUE, TRUE);
+ format_part_sprinter (ctx, sp, node, TRUE, TRUE, FALSE);
/* End */
sp->end (sp);