From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78023 Path: news.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-group-icon-list considered funky Date: Sun, 20 Mar 2011 07:40:12 +0100 Message-ID: <87wrju479n.fsf@ID-24456.user.uni-berlin.de> References: <87pqpo6fgs.fsf@member.fsf.org> <87sjujtpj1.fsf@ID-24456.user.uni-berlin.de> <87vczeyfwp.fsf@member.fsf.org> Reply-To: Christoph Conrad NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300603752 30343 80.91.229.12 (20 Mar 2011 06:49:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2011 06:49:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M26336@lists.math.uh.edu Sun Mar 20 07:49:07 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1CRn-0006Z5-HP for ding-account@gmane.org; Sun, 20 Mar 2011 07:49:07 +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 1Q1CRE-0004OD-RJ; Sun, 20 Mar 2011 01:48:32 -0500 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 1Q1CRB-0004Nq-NI for ding@lists.math.uh.edu; Sun, 20 Mar 2011 01:48:29 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Q1CR9-0006dQ-Sv for ding@lists.math.uh.edu; Sun, 20 Mar 2011 01:48:28 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by quimby.gnus.org with smtp (Exim 4.72) (envelope-from ) id 1Q1CR8-0004eM-Gg for ding@gnus.org; Sun, 20 Mar 2011 07:48:26 +0100 Original-Received: (qmail invoked by alias); 20 Mar 2011 06:48:20 -0000 Original-Received: from ip-109-91-186-147.unitymediagroup.de (EHLO brabbelbox) [109.91.186.147] by mail.gmx.net (mp017) with SMTP; 20 Mar 2011 07:48:20 +0100 X-Authenticated: #4523881 X-Provags-ID: V01U2FsdGVkX1++Bot9o7u+Sqo9j54EV6Vjo88seV2WOBohAN3BVd 17khQspVOCqPul Original-Received: by brabbelbox (Postfix, from userid 1000) id 3EFB115C04EF; Sun, 20 Mar 2011 07:48:20 +0100 (CET) X-Public-Key: http://wwwkeys.de.pgp.net:11371/pks/lookup?op=get&search=0x1B488DEA X-Hashcash: 1:20:110320:ding@gnus.org::dwX9xAw6vxsKPK67:00003B2L In-Reply-To: <87vczeyfwp.fsf@member.fsf.org> (Tassilo Horn's message of "Sat, 19 Mar 2011 22:11:18 +0100") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.1 X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78023 Archived-At: Hi Tassilo, thank you for giving me a hint. > Not really, but there are some variables with "external" in their name > that might be related. So check your configs for one of those. It had nothing to do with that, so i had to dig into it with the elisp debugger. The relevant (reversed) call stack looks like this: - gnus-group-get-icon -> gnus-create-image -> create-image -> image-type -> image-type-from-file-header -> insert-file-contents-literally `insert-file-contents-literally' inhibits some file name handlers by setting `inhibit-file-name-handlers'. I use the package "openwith" from Markus Triska and he enables it by using (add-to-list 'file-name-handler-alist '("" . openwith-file-handler))) so for png files the external program "display" was used anyway. I worked around that using (defadvice gnus-group-get-icon( around gnus-group-get-icon-no-openwith act ) (let (openwith-mode) ad-do-it)) now. If you know a better way doing that, i would like to read about it. Regards, Christoph