This patch adds the following features to notmuch-show.c
a --headers-only option which just outputs the headers of a message
(i.e. it omits the bodies). This is not strictly needed by
notmuch-pick.el but it gives a speed-up of at least a factor of a two;
moreover it reduces the memory usage of
On Sun, 12 Feb 2012 18:49:37 +, Mark Walters
wrote:
> +int opt_index, ret, entire_thread;
> +notmuch_sort_t sort = NOTMUCH_SORT_NEWEST_FIRST;
> const notmuch_show_format_t *format = _text;
> notmuch_show_params_t params = { .part = -1 };
> int format_sel =
---
notmuch-client.h |9 +-
notmuch-show.c | 90 --
2 files changed, 88 insertions(+), 11 deletions(-)
diff --git a/notmuch-client.h b/notmuch-client.h
index 60828aa..b4dc7bf 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@
---
notmuch-client.h |9 +-
notmuch-show.c | 90 --
2 files changed, 88 insertions(+), 11 deletions(-)
diff --git a/notmuch-client.h b/notmuch-client.h
index 60828aa..b4dc7bf 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@
On Sun, 12 Feb 2012 18:49:37 +, Mark Walters markwalters1...@gmail.com
wrote:
+int opt_index, ret, entire_thread;
+notmuch_sort_t sort = NOTMUCH_SORT_NEWEST_FIRST;
const notmuch_show_format_t *format = format_text;
notmuch_show_params_t params = { .part = -1 };
int
This patch adds the following features to notmuch-show.c
a --headers-only option which just outputs the headers of a message
(i.e. it omits the bodies). This is not strictly needed by
notmuch-pick.el but it gives a speed-up of at least a factor of a two;
moreover it reduces the memory usage of