From: Olivier Berger Date: Wed, 11 Apr 2012 21:02:58 +0000 (+0200) Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=12e4e1130c73e5d307ca2f4f521f6272b4bcead0;p=notmuch-archives.git Re: How to decrypt multipart/encrypted parts in notmuch-emacs --- diff --git a/60/d3d361076bea7dabcd4133d522948eed3ad111 b/60/d3d361076bea7dabcd4133d522948eed3ad111 new file mode 100644 index 000000000..473d721e9 --- /dev/null +++ b/60/d3d361076bea7dabcd4133d522948eed3ad111 @@ -0,0 +1,109 @@ +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 E042A431FAF + for ; Wed, 11 Apr 2012 14:03:11 -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 4YICMTnm0fs2 for ; + Wed, 11 Apr 2012 14:03:09 -0700 (PDT) +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id A04B9431FAE + for ; Wed, 11 Apr 2012 14:03:09 -0700 (PDT) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1SI4h1-0003WE-VX + for notmuch@notmuchmail.org; Wed, 11 Apr 2012 23:03:08 +0200 +Received: from mag77-1-82-238-14-130.fbx.proxad.net ([82.238.14.130]) + by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Wed, 11 Apr 2012 23:03:07 +0200 +Received: from olivier.berger by mag77-1-82-238-14-130.fbx.proxad.net with + local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Wed, 11 Apr 2012 23:03:07 +0200 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: Olivier Berger +Subject: Re: How to decrypt multipart/encrypted parts in notmuch-emacs +Date: Wed, 11 Apr 2012 23:02:58 +0200 +Lines: 47 +Message-ID: <87iph6j81p.fsf@inf-8657.int-evry.fr> +References: <874nsqe28a.fsf@inf-8657.int-evry.fr> + <87vcl6gr1a.fsf@servo.finestructure.net> + <87iph6ngbc.fsf@inf-8657.int-evry.fr> +Mime-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Complaints-To: usenet@dough.gmane.org +X-Gmane-NNTP-Posting-Host: mag77-1-82-238-14-130.fbx.proxad.net +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) +Cancel-Lock: sha1:f7PgFxiparSwtVXpM+7vFGoRCLk= +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: Wed, 11 Apr 2012 21:03:12 -0000 + +Hi again. + +Olivier Berger +writes: + +> Hi. +> +> Jameson Graef Rollins +> writes: +> +>> +>> You might also try decrypting the message on the command line, as that +>> will take any emacs issues out of the loop: +>> +>> notmuch show --decrypt id:$msgid +>> +> +> That works now, but only on the command-line. +> +> Still, in notmuch-emacs, I can still see the purple "Decryption error" +> message :-/ +> +> Weird. +> + +Oh, I've spotted why it fails. + +So : if I launch emacs (23) from bash running in gnome-terminal in my gnome +(fallback) session, decryption works. + +If I use Alt+F2 to trigger gnome's launcher, and type emacs, then +decryption won't work :-/ + +Both emacses run in X, but they don't have same ancestry, which may +explain why agent connection runs or not ? + +Bug, feature ? + +Thanks in advance. + +Best regards, + +-- +Olivier BERGER +http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8 +Ingenieur Recherche - Dept INF +Institut Mines-Telecom, Telecom SudParis, Evry (France) +