* PATCH: notmuch-mutt macros
@ 2012-05-27 0:41 Jason Ryan
2012-05-27 18:25 ` Jameson Graef Rollins
0 siblings, 1 reply; 2+ messages in thread
From: Jason Ryan @ 2012-05-27 0:41 UTC (permalink / raw)
To: notmuch
[-- Attachment #1.1: Type: text/plain, Size: 179 bytes --]
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]
[-- Attachment #1.2: mutt-macros.patch --]
[-- Type: text/plain, Size: 1842 bytes --]
From 6557a3a5e622b479394c33e0b5699c8a7de86ffc Mon Sep 17 00:00:00 2001
From: jasonwryan <jasonwryan@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
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: PATCH: notmuch-mutt macros
2012-05-27 0:41 PATCH: notmuch-mutt macros Jason Ryan
@ 2012-05-27 18:25 ` Jameson Graef Rollins
0 siblings, 0 replies; 2+ messages in thread
From: Jameson Graef Rollins @ 2012-05-27 18:25 UTC (permalink / raw)
To: Jason Ryan, notmuch
[-- Attachment #1: Type: text/plain, Size: 392 bytes --]
On Sat, May 26 2012, Jason Ryan <mail@jasonwryan.com> wrote:
> Two of the three macros shipped in notmuch-mutt.rc did not work;
> this patch fixes the issue for me.
Hi, Jason. I don't use mutt so I unfortunately can't really review
this, but for future reference just send the patch directly to the list,
rather than as an attachment to another email. git-send-email works
nicely.
jamie.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-27 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-27 0:41 PATCH: notmuch-mutt macros Jason Ryan
2012-05-27 18:25 ` Jameson Graef Rollins
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).