unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jason Ryan <mail@jasonwryan.com>
To: notmuch@notmuchmail.org
Subject: PATCH: notmuch-mutt macros
Date: Sun, 27 May 2012 12:41:07 +1200	[thread overview]
Message-ID: <20120527004107.GA4869@Centurion> (raw)


[-- 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 --]

             reply	other threads:[~2012-05-27  0:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-27  0:41 Jason Ryan [this message]
2012-05-27 18:25 ` PATCH: notmuch-mutt macros Jameson Graef Rollins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120527004107.GA4869@Centurion \
    --to=mail@jasonwryan.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).