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