From: Tomi Ollila Date: Mon, 14 Apr 2014 08:42:36 +0000 (+0300) Subject: Re: [PATCH] emacs: process crypto for reply only when specified X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a8c7a5c031185e8bdfbf6f660a426194e33c5324;p=notmuch-archives.git Re: [PATCH] emacs: process crypto for reply only when specified --- diff --git a/fb/c09fc21483e99fd318372b69c5c9c6beefce3b b/fb/c09fc21483e99fd318372b69c5c9c6beefce3b new file mode 100644 index 000000000..6c738a6f7 --- /dev/null +++ b/fb/c09fc21483e99fd318372b69c5c9c6beefce3b @@ -0,0 +1,105 @@ +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 3626A431FBD + for ; Mon, 14 Apr 2014 01:42:53 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 EMEP3PSnSaiY for ; + Mon, 14 Apr 2014 01:42:43 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 816A9431FBC + for ; Mon, 14 Apr 2014 01:42:43 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 290ED10008F; + Mon, 14 Apr 2014 11:42:37 +0300 (EEST) +From: Tomi Ollila +To: Jameson Graef Rollins , + David Bremner , Notmuch Mail +Subject: Re: [PATCH] emacs: process crypto for reply only when specified +In-Reply-To: <87ioqcajip.fsf@servo.finestructure.net> +References: <1396689486-19232-1-git-send-email-jani@nikula.org> + <1396852814-10338-1-git-send-email-jrollins@finestructure.net> + <8761me3st5.fsf@zancas.localnet> + + <87ob05xu9g.fsf@zancas.localnet> + + <87ioqcajip.fsf@servo.finestructure.net> +User-Agent: Notmuch/0.17+200~g5c6d42d (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Mon, 14 Apr 2014 08:42:53 -0000 + +On Mon, Apr 14 2014, Jameson Graef Rollins wrote: + +> On Sun, Apr 13 2014, Tomi Ollila wrote: +>>> Perhaps people with no ability to sign are less likely to have +>>> "notmuch-crypto-process-mime" set? Or we can add another configuration +>>> variable initialized from notmuch-crypto-process-mime, but allowing +>>> people to shut this off. +>> +>> Well, I set notmuch-crypto-process-mime to nil -- it still wants to +>> sign the message and runs gpg... +> +> Was my followup patch applied? My patch controls the insertion of the +> mml tag depending on whether or not notmuch-crypto-process-mime is t or +> not. If notmuch-crypto-process-mime is nil the tag won't be added. +> Presumably you either did not have that patch applied, or had manually +> set it to t? + +For those who don't follow IRC your patch was applied. +> +> In any event, if the mml tag is present, it's no longer in notmuch's +> hands; emacs's mail processing is handling things and calling gpg-agent +> to sign/encrypt the message. +> +> Can you clarify what exactly your situation was? + +Exactly that -- the mml tag was present -- so case closed on that issue :D + +I did some experiments changing the value of notmuch-crypto-process-mime +before pressing 'r' button: I had to quit from show mode to search mode and +choose the thread and then message to have the change to take effect. + +I will keep my notmuch-crypto-process-mime set t (and I keep removing +the mml tags in this system -- and if I forget killing those processes), +as I want to see [ Good signature by key: 0x... ] -messages. Maybe +I^HSomebody, Someday provides a patch that provides separate value to +do just signature checking... + + +> Presumably people who have not set up any crypto processing should not +> have notmuch-crypto-process-mime set t. +> +> jamie. + +Thanks, + +Tomi + +PS: pkill '(pinentry-curses|gpg)' ++ ;/ -- one step closer to implement that...