From: Carl Worth Date: Thu, 12 Nov 2009 18:22:55 +0000 (-0800) Subject: notmuch show: Display "Subject: " before the subject. X-Git-Tag: 0.1~520 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=bb7ed1f153a8cf28e4b9ef7670e4bfc05322987f notmuch show: Display "Subject: " before the subject. I think I was being uselessly terse when I dropped that. Put it back. --- diff --git a/notmuch-show.c b/notmuch-show.c index 19787feb..41b33641 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -128,7 +128,7 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[])) char *query_string; const char *headers[] = { - "From", "To", "Cc", "Bcc", "Date" + "Subject", "From", "To", "Cc", "Bcc", "Date" }; const char *name, *value; unsigned int i; @@ -167,8 +167,6 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[])) printf ("%s\n", _get_one_line_summary (ctx, message)); - printf ("%s\n", notmuch_message_get_header (message, "subject")); - for (i = 0; i < ARRAY_SIZE (headers); i++) { name = headers[i]; value = notmuch_message_get_header (message, name);