From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82736 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Displaying picture from PGP key if present? Date: Wed, 26 Dec 2012 00:06:49 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87obhhybna.fsf@topper.koldfront.dk> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1356476840 9457 80.91.229.3 (25 Dec 2012 23:07:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2012 23:07:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31002@lists.math.uh.edu Wed Dec 26 00:07:36 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 1Tndax-0002ll-36 for ding-account@gmane.org; Wed, 26 Dec 2012 00:07:35 +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 1TndaX-0001S6-Ny; Tue, 25 Dec 2012 17:07:09 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TndaW-0001Rp-Dx for ding@lists.math.uh.edu; Tue, 25 Dec 2012 17:07:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TndaU-0000WI-T2 for ding@lists.math.uh.edu; Tue, 25 Dec 2012 17:07:08 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TndaT-0006Fk-Fu for ding@gnus.org; Wed, 26 Dec 2012 00:07:05 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tndae-0002VL-04 for ding@gnus.org; Wed, 26 Dec 2012 00:07:16 +0100 Original-Received: from 2505ds5-by.0.fullrate.dk ([89.150.142.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Dec 2012 00:07:15 +0100 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Dec 2012 00:07:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk OpenPGP: id=21BDE416; url=http://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Now-Playing: 127.0.0.1 X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82736 Archived-At: On Tue, 25 Dec 2012 23:57:21 +0100, Andreas wrote: > asjo@koldfront.dk (Adam Sjøgren) writes: >> (shell-command-to-string (concat "/usr/bin/gpg --photo-viewer 'echo >> %I >&2' --list-keys " key-id " > /dev/null"))))) > That does nothing without --list-options show-photos. Ouch, yes. I have "show-photos" in my ~/.gnupg/gpg.conf file... Hm. Maybe this is a feature? This way epg will only show photos if you have configured gpg to do so... > Also, the created file should be cleaned up somehow. Good point. That should only be a (delete-file filename) away. > You should probably use --attribute-fd instead of letting gpg export > the image to a file. I was just happy to get anything working at all :-) Thanks for the tips; I will try to figure out how to do it using --attribute-fd. Best regards, Adam -- "A distributed system is one in which the failure of Adam Sjøgren a computer you didn't even know existed can render asjo@koldfront.dk your own computer unusable."