Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: info-gnus-english@gnu.org
Subject: Re: Displaying Images in HTML Mail
Date: Fri, 06 Mar 2015 21:54:29 +0100	[thread overview]
Message-ID: <87y4n9g83e.fsf@gnu.org> (raw)
In-Reply-To: <mdb3i4$bll$1@ger.gmane.org>

Les Harris <les@lesharris.com> writes:

> Thien-Thi Nguyen <ttn@gnu.org> writes:
>
>> That depends on whether or not it works for you, i suppose.  :-D
>
> Hm. So gnus-article-show-images works when invoked manually. I've
> tried adding it to gnus-article-mode-hook by adding/executing the
> following:
>
> (add-hook
>     'gnus-article-mode-hook
>     (lambda ()
>             (gnus-article-show-images)
>             (message "Potentially show images...")))
>
> However when opening an HTML mail with images this seems to have no
> affect (manually invoking the command of course works). I can see the
> 'Potentially show images...' text in the *Messages* buffer so I know
> the hook is executing.  Maybe the article mode hook is executing too
> early?

Yes, that might be the reason.  Try `gnus-article-prepare-hook' instead.

Bye,
Tassilo



  reply	other threads:[~2015-03-06 20:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02  4:26 Les Harris
2015-03-03 13:11 ` Sivaram Neelakantan
2015-03-04  6:35   ` Les Harris
2015-03-04 11:42 ` Thien-Thi Nguyen
2015-03-05  6:46   ` Les Harris
2015-03-05  7:32     ` Thien-Thi Nguyen
2015-03-06  2:31       ` Les Harris
2015-03-06 20:54         ` Tassilo Horn [this message]
2015-03-07  1:27           ` Les Harris
2015-03-07 20:54             ` Jeffrey DeLeo

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=87y4n9g83e.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=info-gnus-english@gnu.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).