From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82758 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: Displaying picture from PGP key if present? Date: Thu, 27 Dec 2012 11:38:09 +0100 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 1356604711 20272 80.91.229.3 (27 Dec 2012 10:38:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2012 10:38:31 +0000 (UTC) Cc: ding@gnus.org To: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Original-X-From: ding-owner+M31024@lists.math.uh.edu Thu Dec 27 11:38:47 2012 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 1ToArN-0001ZR-Vx for ding-account@gmane.org; Thu, 27 Dec 2012 11:38:46 +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 1ToAqw-0002UZ-8P; Thu, 27 Dec 2012 04:38:18 -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 1ToAqt-0002UE-96 for ding@lists.math.uh.edu; Thu, 27 Dec 2012 04:38:15 -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 1ToAqr-0005Ep-GA for ding@lists.math.uh.edu; Thu, 27 Dec 2012 04:38:14 -0600 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1ToAqp-00056u-AZ for ding@gnus.org; Thu, 27 Dec 2012 11:38:11 +0100 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3YX6vk6nVgz4KK6g; Thu, 27 Dec 2012 11:38:10 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3YX6vk61G8zbbls; Thu, 27 Dec 2012 11:38:10 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id ohIlgEAD4QeF; Thu, 27 Dec 2012 11:33:48 +0100 (CET) X-Auth-Info: m0+3CrabIwmX/kyiD3Ro21UUeOtwWuEe4KBjWXChO/0= Original-Received: from igel.home (ppp-88-217-96-169.dynamic.mnet-online.de [88.217.96.169]) by mail.mnet-online.de (Postfix) with ESMTPA; Thu, 27 Dec 2012 11:38:10 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id BC3E9CA2A2; Thu, 27 Dec 2012 11:38:09 +0100 (CET) X-Yow: With YOU, I can be MYSELF.. We don't NEED Dan Rather.. In-Reply-To: <87mwwzyfkb.fsf@dex.adm.naquadah.org> (Julien Danjou's message of "Thu, 27 Dec 2012 11:06:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82758 Archived-At: The attribute stream needs to be separated from stderr. diff --git a/lisp/mml2015.el b/lisp/mml2015.el index 0bc83ad..f8f0a56 100644 --- a/lisp/mml2015.el +++ b/lisp/mml2015.el @@ -827,7 +827,7 @@ If set, it overrides the setting of `mml2015-sign-with-sender'." (let* ((coding-system-for-write 'binary) (coding-system-for-read 'binary) (data (shell-command-to-string - (format "%s --list-options no-show-photos --attribute-fd 2 --list-keys %s > /dev/null" + (format "%s --list-options no-show-photos --attribute-fd 3 --list-keys %s 3>&1 >/dev/null 2>&1" epg-gpg-program key-id)))) (when (> (length data) 0) (insert (substring data 16)) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."