Re: [PATCH v2] VIM: Use notmuch CLI for config
[notmuch-archives.git] / ab / c5f8879aa87e7e0f6de8ef385b443065e56752
1 Return-Path: <mail@jasonwryan.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 5BDD3431FB6\r
6         for <notmuch@notmuchmail.org>; Sat, 26 May 2012 17:46:21 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.274\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.274 tagged_above=-999 required=5\r
12         tests=[RDNS_NONE=1.274] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id ToIJ1XtECBtf for <notmuch@notmuchmail.org>;\r
16         Sat, 26 May 2012 17:46:20 -0700 (PDT)\r
17 X-Greylist: delayed 311 seconds by postgrey-1.32 at olra;\r
18         Sat, 26 May 2012 17:46:20 PDT\r
19 Received: from omr2.mail.isx.net.nz (unknown [111.65.230.131])\r
20         by olra.theworths.org (Postfix) with ESMTP id 2D356431FAF\r
21         for <notmuch@notmuchmail.org>; Sat, 26 May 2012 17:46:20 -0700 (PDT)\r
22 Received: from localhost (unknown [58.84.236.93])\r
23         (Authenticated sender: jason@miromiro.com)\r
24         by omr2.mail.isx.net.nz (Postfix) with ESMTPA id B13D8108B82\r
25         for <notmuch@notmuchmail.org>; Sun, 27 May 2012 12:41:07 +1200 (NZST)\r
26 Date: Sun, 27 May 2012 12:41:07 +1200\r
27 From: Jason Ryan <mail@jasonwryan.com>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: PATCH: notmuch-mutt macros\r
30 Message-ID: <20120527004107.GA4869@Centurion>\r
31 MIME-Version: 1.0\r
32 Content-Type: multipart/signed; micalg=pgp-sha1;\r
33         protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6"\r
34 Content-Disposition: inline\r
35 User-Agent: Mutt/1.5.21 (2010-09-15)\r
36 X-Mailman-Approved-At: Sun, 27 May 2012 00:20:20 -0700\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Sun, 27 May 2012 00:46:21 -0000\r
50 \r
51 \r
52 --v9Ux+11Zm5mwPlX6\r
53 Content-Type: multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C"\r
54 Content-Disposition: inline\r
55 \r
56 \r
57 --a8Wt8u1KmwUX3Y2C\r
58 Content-Type: text/plain; charset=us-ascii\r
59 Content-Disposition: inline\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 Two of the three macros shipped in notmuch-mutt.rc did not work;\r
63 this patch fixes the issue for me.\r
64 \r
65 Cheers,\r
66 \r
67 /J\r
68 \r
69 --=20\r
70 \r
71 http://jasonwryan.com/  [GnuPG Key: B1BD4E40]\r
72 \r
73 \r
74 \r
75 --a8Wt8u1KmwUX3Y2C\r
76 Content-Type: text/plain; charset=us-ascii\r
77 Content-Disposition: attachment; filename="mutt-macros.patch"\r
78 Content-Transfer-Encoding: quoted-printable\r
79 \r
80 =46rom 6557a3a5e622b479394c33e0b5699c8a7de86ffc Mon Sep 17 00:00:00 2001\r
81 =46rom: jasonwryan <jasonwryan@gmail.com>\r
82 Date: Sun, 27 May 2012 12:34:27 +1200\r
83 Subject: [PATCH] Small fix to two macros (reconstructing & tagging)\r
84 \r
85 A couple of minor fixes to ensure that the two macros,\r
86 for <F9> and <F6> work as advertised.\r
87 ---\r
88  contrib/notmuch-mutt/notmuch-mutt.rc |    8 ++++----\r
89  1 file changed, 4 insertions(+), 4 deletions(-)\r
90 \r
91 diff --git a/contrib/notmuch-mutt/notmuch-mutt.rc b/contrib/notmuch-mutt/no=\r
92 tmuch-mutt.rc\r
93 index c0ff000..38ad584 100644\r
94 --- a/contrib/notmuch-mutt/notmuch-mutt.rc\r
95 +++ b/contrib/notmuch-mutt/notmuch-mutt.rc\r
96 @@ -2,8 +2,8 @@ macro index <F8> \\r
97        "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --pr=\r
98 ompt search<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.ca=\r
99 che}/notmuch/mutt/results`<enter>" \\r
100        "notmuch: search mail"\r
101  macro index <F9> \\r
102 -      "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thre=\r
103 ad<enter><change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notm=\r
104 uch/mutt/results`<enter><enter-command>set wait_key<enter>" \\r
105 -      "notmuch: reconstruct thread"\r
106 +      "<enter-command>unset wait_key<enter><enter-command>unignore message=\r
107 -id<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>`=\r
108 echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter><enter-com=\r
109 mand>set wait_key<enter>" \\r
110 +      "search and reconstruct owning thread with notmuch"\r
111  macro index <F6> \\r
112 -      "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag =\r
113 -inbox<enter>" \\r
114 -      "notmuch: remove message from inbox"\r
115 +      "<enter-command>unset wait_key<enter><enter-command>unignore message=\r
116 -id<enter><pipe-message>notmuch-mutt -- tag -inbox<enter>" \\r
117 +      "remove message from inbox with notmuch"\r
118 --=20\r
119 1.7.10.2\r
120 \r
121 \r
122 --a8Wt8u1KmwUX3Y2C--\r
123 \r
124 --v9Ux+11Zm5mwPlX6\r
125 Content-Type: application/pgp-signature\r
126 \r
127 -----BEGIN PGP SIGNATURE-----\r
128 Version: GnuPG v2.0.19 (GNU/Linux)\r
129 \r
130 iQEcBAEBAgAGBQJPwXgjAAoJEEReUuqxvU5Ag8QH/joKXdjGjgg8ulbp66099A/n\r
131 gUvWnv4iHVwZR9JpM1kzcJkVFAlQY8+EjgqISuonffV8JrY8PJuwg+PYGyCWjyvh\r
132 xwSmg2cqXIqp+YoR1KWZ85OTh+W0cEUljhmdrPTNW5OjOS0B6JjsypKSs9Bjnln9\r
133 1UR9U1pQ41KuzPY4VnnE5hDWrDGKBL576fU6lPnqk3K3pawsK4nlH2J0whxay6pM\r
134 7JjAznoOvjkatbKAd0ZecCCDJTLIfM/32RZm8yFeAN9zYse9vag/z21+9QQZzsWU\r
135 AOJeSHKWmZuk2ujY0/jDG7C5lOU9fKtKKx4V3zfa4navcMt6DLTaJ7C7Al/ZI8M=\r
136 =mImy\r
137 -----END PGP SIGNATURE-----\r
138 \r
139 --v9Ux+11Zm5mwPlX6--\r