From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82947 Path: news.gmane.org!not-for-mail From: Binjo Newsgroups: gmane.emacs.gnus.general Subject: Re: Displaying picture from PGP key if present? Date: Mon, 25 Feb 2013 15:19:23 +0800 Organization: Wh0 CaR3s Message-ID: References: <87ehirwgjq.fsf@topper.koldfront.dk> <87ip7quzk3.fsf@gnus.org> <87mwx2s62p.fsf@topper.koldfront.dk> <87vcbqtk8q.fsf@gnus.org> <87ip7qs5fm.fsf@topper.koldfront.dk> <878v8mtjbg.fsf@gnus.org> <874njas1yf.fsf@topper.koldfront.dk> <87623qb5vl.fsf@gnus.org> <87sj6t7oe5.fsf@topper.koldfront.dk> <87obhhybna.fsf@topper.koldfront.dk> <87ip7py7mq.fsf@topper.koldfront.dk> <87d2xxy5t7.fsf@topper.koldfront.dk> <87mwwzyfkb.fsf@dex.adm.naquadah.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361795686 29246 80.91.229.3 (25 Feb 2013 12:34:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 12:34:46 +0000 (UTC) Cc: ding@gnus.org To: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Original-X-From: ding-owner+M31213@lists.math.uh.edu Mon Feb 25 13:35:07 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9xGq-0006no-DW for ding-account@gmane.org; Mon, 25 Feb 2013 13:35:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1U9xFD-0000CB-5R; Mon, 25 Feb 2013 06:33:23 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1U9sLa-0007Hi-AH for ding@lists.math.uh.edu; Mon, 25 Feb 2013 01:19:38 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1U9sLY-0002ne-L7 for ding@lists.math.uh.edu; Mon, 25 Feb 2013 01:19:37 -0600 Original-Received: from mail-pb0-f54.google.com ([209.85.160.54]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1U9sLX-0004aS-1E for ding@gnus.org; Mon, 25 Feb 2013 08:19:35 +0100 Original-Received: by mail-pb0-f54.google.com with SMTP id rr4so1505854pbb.41 for ; Sun, 24 Feb 2013 23:19:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=z4mofR5k79z8TBvCm01dpzXOEwshHyxV1F+gIi9Lgss=; b=Wrs+jBYsT6KHpqf1I/fRwfBigi5GDkn63DzADOaE5v6CMovmP8DWBGJPugw8BPMLPJ wtCEXhuI74vH+NU5ywXMdallw4IRVQTfVy58zyscW63OoEVaANlqLpPAWiBKCuwtYU/a YPEggXAVS1n/IkXH1LrObjz9nemIlub8Qv+gM2P/bsZr/M80XwcxKET6/B/pyXelOcys GnjthQtGDQ6x+TnPERaWq1gwXlLwnZKvXcM/bS5Xgt0XVZKv7jOK0mOsGz4Um2oAqTAR /a5Yxp4xjO7Dy1155eZjOKfFrCHIx8FHgSMGUllD6PkQ7ovbcF4zTZoCPsELDaGZ/eB2 wabw== X-Received: by 10.66.8.37 with SMTP id o5mr17612351paa.201.1361776768834; Sun, 24 Feb 2013 23:19:28 -0800 (PST) Original-Received: from unknown ([122.87.146.87]) by mx.google.com with ESMTPS id d8sm12731844pax.23.2013.02.24.23.19.26 (version=TLSv1 cipher=AES128-SHA bits=128/128); Sun, 24 Feb 2013 23:19:28 -0800 (PST) In-Reply-To: <87mwwzyfkb.fsf@dex.adm.naquadah.org> (Julien Danjou's message of "Thu, 27 Dec 2012 11:06:44 +0100") User-Agent: Emacs Gnus X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82947 Archived-At: On 12/27/2012, at 18:06, Julien Danjou wrote: [...] > >The following change is needed otherwise I get error reading my mail: > >diff --git a/lisp/mml2015.el b/lisp/mml2015.el >index 0bc83ad..19c55f9 100644 >--- a/lisp/mml2015.el >+++ b/lisp/mml2015.el >@@ -829,7 +829,8 @@ If set, it overrides the setting of `mml2015-sign-with-sender'." > (data (shell-command-to-string > (format "%s --list-options no-show-photos --attribute-fd 2 --list-keys %s > /dev/null" > epg-gpg-program key-id)))) >- (when (> (length data) 0) >+ (when (and (> (length data) 0) >+ (not (string-match "^gpg: error reading key: public key not found$" data))) > (insert (substring data 16)) > (create-image (buffer-string) nil t))))) > > >I'll install it unless you have a better fix. <#secure method=pgpmime mode=sign> Hi, it seems this patch haven't applied in the trunk? Besides, under *windows*, the epg-gpg-program probably should call shell-quote-argument 1st... (data (shell-command-to-string (format "%s --list-options no-show-photos --attribute-fd 3 --list-keys %s" - epg-gpg-program) key-id))) + (shell-quote-argument epg-gpg-program) key-id)))) -- Life is like a prison, can you break it? PGP : 0x6DAD67BA