PATCH: notmuch-mutt macros
authorJason Ryan <mail@jasonwryan.com>
Sun, 27 May 2012 00:41:07 +0000 (12:41 +1200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:27 +0000 (09:47 -0800)
ab/c5f8879aa87e7e0f6de8ef385b443065e56752 [new file with mode: 0644]

diff --git a/ab/c5f8879aa87e7e0f6de8ef385b443065e56752 b/ab/c5f8879aa87e7e0f6de8ef385b443065e56752
new file mode 100644 (file)
index 0000000..1a7e61e
--- /dev/null
@@ -0,0 +1,139 @@
+Return-Path: <mail@jasonwryan.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 5BDD3431FB6\r
+       for <notmuch@notmuchmail.org>; Sat, 26 May 2012 17:46:21 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 1.274\r
+X-Spam-Level: *\r
+X-Spam-Status: No, score=1.274 tagged_above=-999 required=5\r
+       tests=[RDNS_NONE=1.274] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id ToIJ1XtECBtf for <notmuch@notmuchmail.org>;\r
+       Sat, 26 May 2012 17:46:20 -0700 (PDT)\r
+X-Greylist: delayed 311 seconds by postgrey-1.32 at olra;\r
+       Sat, 26 May 2012 17:46:20 PDT\r
+Received: from omr2.mail.isx.net.nz (unknown [111.65.230.131])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2D356431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 26 May 2012 17:46:20 -0700 (PDT)\r
+Received: from localhost (unknown [58.84.236.93])\r
+       (Authenticated sender: jason@miromiro.com)\r
+       by omr2.mail.isx.net.nz (Postfix) with ESMTPA id B13D8108B82\r
+       for <notmuch@notmuchmail.org>; Sun, 27 May 2012 12:41:07 +1200 (NZST)\r
+Date: Sun, 27 May 2012 12:41:07 +1200\r
+From: Jason Ryan <mail@jasonwryan.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: PATCH: notmuch-mutt macros\r
+Message-ID: <20120527004107.GA4869@Centurion>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6"\r
+Content-Disposition: inline\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Mailman-Approved-At: Sun, 27 May 2012 00:20:20 -0700\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 27 May 2012 00:46:21 -0000\r
+\r
+\r
+--v9Ux+11Zm5mwPlX6\r
+Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C"\r
+Content-Disposition: inline\r
+\r
+\r
+--a8Wt8u1KmwUX3Y2C\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Two of the three macros shipped in notmuch-mutt.rc did not work;\r
+this patch fixes the issue for me.\r
+\r
+Cheers,\r
+\r
+/J\r
+\r
+--=20\r
+\r
+http://jasonwryan.com/  [GnuPG Key: B1BD4E40]\r
+\r
+\r
+\r
+--a8Wt8u1KmwUX3Y2C\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: attachment; filename="mutt-macros.patch"\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+=46rom 6557a3a5e622b479394c33e0b5699c8a7de86ffc Mon Sep 17 00:00:00 2001\r
+=46rom: jasonwryan <jasonwryan@gmail.com>\r
+Date: Sun, 27 May 2012 12:34:27 +1200\r
+Subject: [PATCH] Small fix to two macros (reconstructing & tagging)\r
+\r
+A couple of minor fixes to ensure that the two macros,\r
+for <F9> and <F6> work as advertised.\r
+---\r
+ contrib/notmuch-mutt/notmuch-mutt.rc |    8 ++++----\r
+ 1 file changed, 4 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/contrib/notmuch-mutt/notmuch-mutt.rc b/contrib/notmuch-mutt/no=\r
+tmuch-mutt.rc\r
+index c0ff000..38ad584 100644\r
+--- a/contrib/notmuch-mutt/notmuch-mutt.rc\r
++++ b/contrib/notmuch-mutt/notmuch-mutt.rc\r
+@@ -2,8 +2,8 @@ macro index <F8> \\r
+       "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --pr=\r
+ompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.ca=\r
+che}/notmuch/mutt/results`<enter>" \\r
+       "notmuch: search mail"\r
+ macro index <F9> \\r
+-      "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thre=\r
+ad<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notm=\r
+uch/mutt/results`<enter><enter-command>set wait_key<enter>" \\r
+-      "notmuch: reconstruct thread"\r
++      "<enter-command>unset wait_key<enter><enter-command>unignore message=\r
+-id<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`=\r
+echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-com=\r
+mand>set wait_key<enter>" \\r
++      "search and reconstruct owning thread with notmuch"\r
+ macro index <F6> \\r
+-      "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag =\r
+-inbox<enter>" \\r
+-      "notmuch: remove message from inbox"\r
++      "<enter-command>unset wait_key<enter><enter-command>unignore message=\r
+-id<enter><pipe-message>notmuch-mutt -- tag -inbox<enter>" \\r
++      "remove message from inbox with notmuch"\r
+--=20\r
+1.7.10.2\r
+\r
+\r
+--a8Wt8u1KmwUX3Y2C--\r
+\r
+--v9Ux+11Zm5mwPlX6\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.19 (GNU/Linux)\r
+\r
+iQEcBAEBAgAGBQJPwXgjAAoJEEReUuqxvU5Ag8QH/joKXdjGjgg8ulbp66099A/n\r
+gUvWnv4iHVwZR9JpM1kzcJkVFAlQY8+EjgqISuonffV8JrY8PJuwg+PYGyCWjyvh\r
+xwSmg2cqXIqp+YoR1KWZ85OTh+W0cEUljhmdrPTNW5OjOS0B6JjsypKSs9Bjnln9\r
+1UR9U1pQ41KuzPY4VnnE5hDWrDGKBL576fU6lPnqk3K3pawsK4nlH2J0whxay6pM\r
+7JjAznoOvjkatbKAd0ZecCCDJTLIfM/32RZm8yFeAN9zYse9vag/z21+9QQZzsWU\r
+AOJeSHKWmZuk2ujY0/jDG7C5lOU9fKtKKx4V3zfa4navcMt6DLTaJ7C7Al/ZI8M=\r
+=mImy\r
+-----END PGP SIGNATURE-----\r
+\r
+--v9Ux+11Zm5mwPlX6--\r