Re: notmuch-emacs should correctly handle signature status on reply
[notmuch-archives.git] / 77 / 5f85194132f0f00207eb8fca0441471600a593
1 Return-Path: <dme@dme.org>\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 49678431FD2\r
6         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 02:49:57 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 U+4Ev2QMwUXj for <notmuch@notmuchmail.org>;\r
16         Wed, 25 Jan 2012 02:49:56 -0800 (PST)\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 6B702431FBC\r
21         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 02:49:56 -0800 (PST)\r
22 Received: by werb10 with SMTP id b10so4289272wer.26\r
23         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 02:49:55 -0800 (PST)\r
24 Received: by 10.216.145.1 with SMTP id o1mr2638334wej.45.1327488595188;\r
25         Wed, 25 Jan 2012 02:49:55 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id fv6sm110524wib.8.2012.01.25.02.49.53\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Wed, 25 Jan 2012 02:49:54 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id 328999FE67; Wed, 25 Jan 2012 10:49:52 +0000 (GMT)\r
33 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
34         Notmuch Mail <notmuch@notmuchmail.org>\r
35 Subject: Re: [PATCH v3 3/8] emacs: break out thread navigation from\r
36         notmuch-show-archive-thread\r
37 In-Reply-To: <1327449983-23638-4-git-send-email-jrollins@finestructure.net>\r
38 References: <87pqea24z0.fsf@servo.finestructure.net>\r
39         <1327449983-23638-1-git-send-email-jrollins@finestructure.net>\r
40         <1327449983-23638-2-git-send-email-jrollins@finestructure.net>\r
41         <1327449983-23638-3-git-send-email-jrollins@finestructure.net>\r
42         <1327449983-23638-4-git-send-email-jrollins@finestructure.net>\r
43 User-Agent: Notmuch/0.11+109~g03934e4 (http://notmuchmail.org) Emacs/24.0.92.1\r
44         (x86_64-pc-linux-gnu)\r
45 From: David Edmondson <dme@dme.org>\r
46 Date: Wed, 25 Jan 2012 10:49:51 +0000\r
47 Message-ID: <cun4nvknjjk.fsf@hotblack-desiato.hh.sledj.net>\r
48 MIME-Version: 1.0\r
49 Content-Type: multipart/signed; boundary="=-=-=";\r
50         micalg=pgp-sha1; protocol="application/pgp-signature"\r
51 X-Gm-Message-State:\r
52  ALoCoQmr6gCvez7A1bkjendUC4DlPlDAAult7tA7gPl8sexkLa114Sm0wShJk+sC9IVIAYo/RhB/\r
53 X-BeenThere: notmuch@notmuchmail.org\r
54 X-Mailman-Version: 2.1.13\r
55 Precedence: list\r
56 List-Id: "Use and development of the notmuch mail system."\r
57         <notmuch.notmuchmail.org>\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
61 List-Post: <mailto:notmuch@notmuchmail.org>\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
65 X-List-Received-Date: Wed, 25 Jan 2012 10:49:57 -0000\r
66 \r
67 --=-=-=\r
68 Content-Type: text/plain\r
69 Content-Transfer-Encoding: quoted-printable\r
70 \r
71 On Tue, 24 Jan 2012 16:06:18 -0800, Jameson Graef Rollins <jrollins@finestr=\r
72 ucture.net> wrote:\r
73 > This function is now just for archiving the current thread.  A new\r
74 > function is created to archive-then-next.  The 'a' key binding is\r
75 > updated accordingly.\r
76 >=20\r
77 > This will allow people to bind to the simple thread archiving function\r
78 > without the extra navigation.  The archive-thread function now also\r
79 > takes a prefix to unarchive the current thread (ie. put the whole\r
80 > thread back in the inbox).\r
81 > ---\r
82 >  emacs/notmuch-show.el |   23 +++++++++++++++++------\r
83 >  1 files changed, 17 insertions(+), 6 deletions(-)\r
84 >=20\r
85 > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
86 > index fb908b0..071e662 100644\r
87 > --- a/emacs/notmuch-show.el\r
88 > +++ b/emacs/notmuch-show.el\r
89 > @@ -1044,7 +1044,7 @@ thread id.  If a prefix is given, crypto processing=\r
90  is toggled."\r
91 >       (define-key map "-" 'notmuch-show-remove-tag)\r
92 >       (define-key map "+" 'notmuch-show-add-tag)\r
93 >       (define-key map "x" 'notmuch-show-archive-thread-then-exit)\r
94 > -     (define-key map "a" 'notmuch-show-archive-thread)\r
95 > +     (define-key map "a" 'notmuch-show-archive-thread-then-next)\r
96 >       (define-key map "N" 'notmuch-show-next-message)\r
97 >       (define-key map "P" 'notmuch-show-previous-message)\r
98 >       (define-key map "n" 'notmuch-show-next-open-message)\r
99 > @@ -1304,7 +1304,7 @@ thread from the search from which this thread was o=\r
100 riginally\r
101 >  shown."\r
102 >    (interactive)\r
103 >    (if (notmuch-show-advance)\r
104 > -      (notmuch-show-archive-thread)))\r
105 > +      (notmuch-show-archive-thread-then-next)))\r
106 >=20=20\r
107 >  (defun notmuch-show-rewind ()\r
108 >    "Backup through the thread, (reverse scrolling compared to \\[notmuch-=\r
109 show-advance-and-archive]).\r
110 > @@ -1558,8 +1558,12 @@ added."\r
111 >        (if show-next\r
112 >         (notmuch-search-show-thread)))))\r
113 >=20=20\r
114 > -(defun notmuch-show-archive-thread ()\r
115 > -  "Archive each message in thread, then show next thread from search.\r
116 > +(defun notmuch-show-archive-thread (&optional unarchive)\r
117 > +  "Archive each message in thread.\r
118 > +\r
119 > +If a prefix argument is given, the messages will be\r
120 > +\"unarchived\" (ie. the \"inbox\" tag will be added instead of\r
121 > +removed).\r
122 \r
123 It's clearer to reference "inbox" directly:\r
124 \r
125      Remove the "inbox" tag from the messages currently shown.\r
126 \r
127      If a prefix argument is given the "inbox" tag will be added rather\r
128      than removed.\r
129 \r
130 >=20=20\r
131 >  Archive each message currently shown by removing the \"inbox\"\r
132 >  tag from each. Then kill this buffer and show the next thread\r
133 > @@ -1569,14 +1573,21 @@ Note: This command is safe from any race conditio=\r
134 n of new messages\r
135 >  being delivered to the same thread. It does not archive the\r
136 >  entire thread, but only the messages shown in the current\r
137 >  buffer."\r
138 > +  (interactive "P")\r
139 > +  (if unarchive\r
140 > +      (notmuch-show-add-tag-thread "inbox")\r
141 > +    (notmuch-show-remove-tag-thread "inbox")))\r
142 > +\r
143 > +(defun notmuch-show-archive-thread-then-next ()\r
144 > +  "Archive each message in thread, then show next thread from search."\r
145 >    (interactive)\r
146 > -  (notmuch-show-remove-tag-thread "inbox")\r
147 > +  (notmuch-show-archive-thread)\r
148 >    (notmuch-show-next-thread t))\r
149 >=20=20\r
150 >  (defun notmuch-show-archive-thread-then-exit ()\r
151 >    "Archive each message in thread, then exit back to search results."\r
152 >    (interactive)\r
153 > -  (notmuch-show-remove-tag-thread "inbox")\r
154 > +  (notmuch-show-archive-thread)\r
155 >    (notmuch-show-next-thread))\r
156 >=20=20\r
157 >  (defun notmuch-show-stash-cc ()\r
158 > --=20\r
159 > 1.7.8.3\r
160 >=20\r
161 > _______________________________________________\r
162 > notmuch mailing list\r
163 > notmuch@notmuchmail.org\r
164 > http://notmuchmail.org/mailman/listinfo/notmuch\r
165 \r
166 --=-=-=\r
167 Content-Type: application/pgp-signature\r
168 \r
169 -----BEGIN PGP SIGNATURE-----\r
170 Version: GnuPG v1.4.11 (GNU/Linux)\r
171 \r
172 iEYEARECAAYFAk8f3lAACgkQaezQq/BJZRbD1wCfcdD81P8xLIrF2gqw4Uq+EelX\r
173 7mkAnjdAGxwAay+YR6OtKxg4qfkhBpLo\r
174 =XKXo\r
175 -----END PGP SIGNATURE-----\r
176 --=-=-=--\r