From b1baaab2d53426b44adbbe93b067708a528edad0 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 4 Nov 2009 15:53:07 -0800 Subject: [PATCH] notmuch show: Add filename to output (next to message ID). This will allow a client using "notmuch show" to directly open the filename and do whatever it wants with it. --- notmuch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/notmuch.c b/notmuch.c index d8c2ccd1..06c5aa46 100644 --- a/notmuch.c +++ b/notmuch.c @@ -1116,8 +1116,9 @@ show_command (void *ctx, unused (int argc), unused (char *argv[])) { message = notmuch_messages_get (messages); - printf ("\fmessage{ ID: %s\n", - notmuch_message_get_message_id (message)); + printf ("\fmessage{ ID: %s Filename: %s\n", + notmuch_message_get_message_id (message), + notmuch_message_get_filename (message)); printf ("\fheader{\n"); -- 2.43.0