Gnus development mailing list
 help / color / mirror / Atom feed
From: Christoph Conrad <christoph.conrad@gmx.de>
To: ding@gnus.org
Subject: Re: gnus-group-icon-list considered funky
Date: Sun, 20 Mar 2011 07:40:12 +0100	[thread overview]
Message-ID: <87wrju479n.fsf@ID-24456.user.uni-berlin.de> (raw)
In-Reply-To: <87vczeyfwp.fsf@member.fsf.org> (Tassilo Horn's message of "Sat, 19 Mar 2011 22:11:18 +0100")

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



      reply	other threads:[~2011-03-20  6:40 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18  7:43 Tassilo Horn
2011-03-18 11:11 ` Julien Danjou
2011-03-18 12:25   ` Tassilo Horn
2011-03-18 14:32     ` Ted Zlatanov
2011-03-18 14:41       ` Julien Danjou
2011-03-18 14:56         ` Ted Zlatanov
2011-03-18 15:01           ` Julien Danjou
2011-03-18 15:08             ` Ted Zlatanov
2011-03-18 15:11               ` Julien Danjou
2011-03-18 15:18                 ` Ted Zlatanov
2011-03-18 16:15                   ` Julien Danjou
2011-03-18 15:19               ` Ted Zlatanov
2011-03-21 19:31           ` Christoph Conrad
2011-03-21 19:44             ` Ted Zlatanov
2011-03-21 19:50               ` Christoph Conrad
2011-03-24 10:23                 ` Eric S Fraga
2011-03-24 15:16                   ` Ted Zlatanov
2011-03-25 19:32                     ` Ted Zlatanov
2011-03-18 19:53         ` Tassilo Horn
2011-03-18 11:59 ` Olivier Sirven
2011-03-18 13:34   ` Tassilo Horn
2011-03-29 18:57   ` Lars Magne Ingebrigtsen
2011-03-19  9:41 ` Christoph Conrad
2011-03-19 21:11   ` Tassilo Horn
2011-03-20  6:40     ` Christoph Conrad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrju479n.fsf@ID-24456.user.uni-berlin.de \
    --to=christoph.conrad@gmx.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).