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 347E7431E64
\r
6 for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 01:37:22 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 ksgvtrKO9+7U for <notmuch@notmuchmail.org>;
\r
16 Mon, 30 Jan 2012 01:37:21 -0800 (PST)
\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com
\r
18 [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client
\r
19 certificate requested) by olra.theworths.org (Postfix) with ESMTPS id
\r
20 82426431FBC for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 01:37:21 -0800
\r
22 Received: by wgbdt12 with SMTP id dt12so3768569wgb.2
\r
23 for <notmuch@notmuchmail.org>; Mon, 30 Jan 2012 01:37:20 -0800 (PST)
\r
24 Received: by 10.180.89.71 with SMTP id bm7mr21879002wib.20.1327916240206;
\r
25 Mon, 30 Jan 2012 01:37:20 -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 bj10sm28851646wib.9.2012.01.30.01.37.18
\r
29 (version=TLSv1/SSLv3 cipher=OTHER);
\r
30 Mon, 30 Jan 2012 01:37:19 -0800 (PST)
\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)
\r
32 id 4B04CA05FB; Mon, 30 Jan 2012 09:37:17 +0000 (GMT)
\r
33 To: Jameson Graef Rollins <jrollins@finestructure.net>,
\r
34 notmuch@notmuchmail.org
\r
35 Subject: Re: [PATCH 0/3] reworked crypto toggle, plus a couple of other
\r
37 In-Reply-To: <87ehuiz31a.fsf@servo.finestructure.net>
\r
38 References: <1327486729-18052-1-git-send-email-dme@dme.org>
\r
39 <87ehuiz31a.fsf@servo.finestructure.net>
\r
40 User-Agent: Notmuch/0.11+122~g97bdcf6 (http://notmuchmail.org) Emacs/24.0.92.1
\r
41 (x86_64-pc-linux-gnu)
\r
42 From: David Edmondson <dme@dme.org>
\r
43 Date: Mon, 30 Jan 2012 09:37:17 +0000
\r
44 Message-ID: <cun7h09il9u.fsf@hotblack-desiato.hh.sledj.net>
\r
46 Content-Type: multipart/signed; boundary="==-=-=";
\r
47 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Mon, 30 Jan 2012 09:37:22 -0000
\r
63 Content-Type: multipart/mixed; boundary="=-=-="
\r
66 Content-Type: text/plain
\r
67 Content-Transfer-Encoding: quoted-printable
\r
69 On Sun, 29 Jan 2012 12:06:57 -0800, Jameson Graef Rollins <jrollins@finestr=
\r
71 > > My inclination is to remove `notmuch-crypto-process-mime' altogether
\r
72 > > (declared it an obsolete variable) and allow users to set a default
\r
73 > > for `notmuch-show-process-crypto' directly, but that is not done in
\r
74 > > this patchset while awaiting feedback.
\r
76 > I'm not sure I understand this. `notmuch-show-process-crypto' *is* what
\r
77 > sets the default for the `notmuch-show-process-crypto' buffer-local
\r
78 > variable. How would you change the current behavior or settings (beyond
\r
79 > just a variable rename)?
\r
81 The problem with the code as I posted can be seen if you imagine the
\r
82 following ~/.emacs.el sequence:
\r
86 Content-Type: application/emacs-lisp
\r
87 Content-Disposition: inline
\r
88 Content-Transfer-Encoding: quoted-printable
\r
90 (require 'notmuch) ;; Ends up loading notmuch-crypto.el and notmuch-show.el.
\r
91 ;; notmuch-crypto.el has `notmuch-crypto-process-mime' default as `nil'.
\r
92 ;; notmuch-show.el uses the value of `notmuch-crypto-process-mime' to
\r
93 ;; set the default value of `notmuch-show-process-crypto', so it is now
\r
96 (custom-set-variables
\r
97 '(notmuch-crypto-process-mime t))
\r
98 ;; `notmuch-crypto-process-mime' is now `t', but
\r
99 ;; `notmuch-show-process-crypto' remains `nil'.
\r
101 ;; No crypto decoding takes place in `notmuch-show-mode'.
\r
104 Content-Type: text/plain
\r
105 Content-Transfer-Encoding: quoted-printable
\r
108 I'm sure that I can figure out either some `defcustom' goop or worse to
\r
109 sort it out so that the initialisation happens correctly.
\r
111 > > `notmuch-crypto-process-mime' is used only in notmuch-show.el, so the
\r
112 > > setting really belongs there with an appropriate name.
\r
114 > I intentionally put this in a separate section in case there were
\r
115 > eventually other needs for this setting beyond just show mode. I
\r
116 > personally think we should just leave it where it is, particularly
\r
117 > since it's been there for a while.
\r
124 Content-Type: application/pgp-signature
\r
126 -----BEGIN PGP SIGNATURE-----
\r
127 Version: GnuPG v1.4.11 (GNU/Linux)
\r
129 iEUEARECAAYFAk8mZM0ACgkQaezQq/BJZRZhngCeKymY9EQoNYYWhJGqUWsfD+ep
\r
130 IdEAl09OD4hB2AfjX7HXuQH8YoQuNAE=
\r
132 -----END PGP SIGNATURE-----
\r