PATCH: notmuch-mutt macros

Jason Ryan mail at jasonwryan.com
Sat May 26 17:41:07 PDT 2012


Two of the three macros shipped in notmuch-mutt.rc did not work;
this patch fixes the issue for me.

Cheers,

/J

-- 

http://jasonwryan.com/  [GnuPG Key: B1BD4E40]


-------------- next part --------------
From 6557a3a5e622b479394c33e0b5699c8a7de86ffc Mon Sep 17 00:00:00 2001
From: jasonwryan <jasonwryan at gmail.com>
Date: Sun, 27 May 2012 12:34:27 +1200
Subject: [PATCH] Small fix to two macros (reconstructing & tagging)

A couple of minor fixes to ensure that the two macros,
for <F9> and <F6> work as advertised.
---
 contrib/notmuch-mutt/notmuch-mutt.rc |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/contrib/notmuch-mutt/notmuch-mutt.rc b/contrib/notmuch-mutt/notmuch-mutt.rc
index c0ff000..38ad584 100644
--- a/contrib/notmuch-mutt/notmuch-mutt.rc
+++ b/contrib/notmuch-mutt/notmuch-mutt.rc
@@ -2,8 +2,8 @@ macro index <F8> \
       "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --prompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>" \
       "notmuch: search mail"
 macro index <F9> \
-      "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" \
-      "notmuch: reconstruct thread"
+      "<enter-command>unset wait_key<enter><enter-command>unignore message-id<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-command>set wait_key<enter>" \
+      "search and reconstruct owning thread with notmuch"
 macro index <F6> \
-      "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -inbox<enter>" \
-      "notmuch: remove message from inbox"
+      "<enter-command>unset wait_key<enter><enter-command>unignore message-id<enter><pipe-message>notmuch-mutt -- tag -inbox<enter>" \
+      "remove message from inbox with notmuch"
-- 
1.7.10.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120527/e286b2cd/attachment.pgp>


More information about the notmuch mailing list