]> git.cworth.org Git - obsolete/notmuch-old/commit
cli: add --body=true|false option to notmuch-show.c
authorMark Walters <markwalters1009@gmail.com>
Tue, 24 Jul 2012 18:23:27 +0000 (19:23 +0100)
committerDavid Bremner <bremner@debian.org>
Tue, 24 Jul 2012 18:29:22 +0000 (15:29 -0300)
commit0e63372efe28f2fff0791b293240695b19bfefd2
tree3fc236352568968dd10ceea953f54a83a2734caa
parent10ab2b57039d7ef06c82749530ff48675e81d16d
cli: add --body=true|false option to notmuch-show.c

This option allows the caller to suppress the output of the bodies of
the messages. Currently this is only implemented for format=json.

This is used by notmuch-pick.el (although not needed) because it gives
a speed-up of at least a factor of a two (and in some cases a speed up
of more than a factor of 8); moreover it reduces the memory usage in
emacs hugely.
notmuch-client.h
notmuch-reply.c
notmuch-show.c