Re: Displaying Images in HTML Mail

2015-03-07 Thread Jeffrey DeLeo
You could also look at the following variables:
mm-inline-text-html-with-images, mm-w3m-safe-url-regexp


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-06 Thread Les Harris
Tassilo Horn t...@gnu.org writes:

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

Yes, this did the trick.  Thank you both for your help. The final
configuration is as follows:

(add-hook
'gnus-article-prepare-hook
(lambda ()
(gnus-article-show-images)))

I've added some filtering in there so only a certain class of emails
will execute the show images function but that is the core.

-- 
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-06 Thread Tassilo Horn
Les Harris l...@lesharris.com writes:

 Thien-Thi Nguyen t...@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


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-05 Thread Les Harris
Thien-Thi Nguyen t...@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?
Or perhaps gnus-article-mode-hook is the incorrect hook to place the funcall.

-- 
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-04 Thread Les Harris
Thien-Thi Nguyen t...@gnu.org writes:

 If you do this and post your findings, then together we will
 have answered this question in the most fulfilling way, IMHO.

Thank you for your patient reply.  gnus-article-show-images does in fact
display the images in HTML mail once invoked.

Am I correct in thinking I should add this to gnus-article-mode-hook if
I want it invoked automatically?

-- 
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-04 Thread Thien-Thi Nguyen
() Les Harris l...@lesharris.com
() Sun, 01 Mar 2015 20:26:31 -0800

   Can anyone point me in the right direction for configuring
   Gnus to display images in HTML mail?

   [...]

   I have yet to find the relevant configuration for this so I
   thought I would ask and see if anyone knew.

Before you asked i did not know, but i know how to find out:

 M-x apropos RET gnus-.*image RET

If you do this and post your findings, then together we will
have answered this question in the most fulfilling way, IMHO.

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
  read my lisp: (responsep (questions 'technical)
   (not (via 'mailing-list)))
 = nil


signature.asc
Description: PGP signature
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-03 Thread Sivaram Neelakantan
On Sun, Mar 01 2015,Les Harris wrote:

 Can anyone point me in the right direction for configuring Gnus to
 display images in HTML mail?

 Running Gnus v5.13 as shipped with Emacs 24.4.  EWW renders the HTML in
 the Message buffer fine but loads no images. If I go to a URL outside of
 Gnus using EWW it renders images fine.  I have set gnus-inhibit-images
 to nil in my Gnus config and yet I still have no images showing in the
 Gnus message buffer for an HTML mail.

 I have yet to find the relevant configuration for this so I thought I
 would ask and see if anyone knew.

 Any help appreciated, thank you.

On which OS is this?  On what platform is Emacs runnings,as the
Windows port has a few steps that you need to follow.

The following thread might be useful

http://lists.gnu.org/archive/html/help-gnu-emacs/2015-01/msg00328.html

If you're able to see png/jpeg outside of gnus, then the above
instructions are moot.
 
 sivaram
 -- 

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Displaying Images in HTML Mail

2015-03-03 Thread Les Harris
Sivaram Neelakantan nsivaram@gmail.com writes:

 On Sun, Mar 01 2015,Les Harris wrote:


 On which OS is this?  On what platform is Emacs runnings,as the
 Windows port has a few steps that you need to follow.

Thanks for the response Sivaram.  Sadly, I am running GNU/Linux (and EWW
displays images fine outside of GNUS).

So the search continues. I'll keep looking.  I imagine most people using
GNUS don't care about images in HTML mail but for a few select senders I like
seeing it (namely some hobby related bacn mails).

-- 
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Displaying Images in HTML Mail

2015-03-01 Thread Les Harris

Can anyone point me in the right direction for configuring Gnus to
display images in HTML mail?

Running Gnus v5.13 as shipped with Emacs 24.4.  EWW renders the HTML in
the Message buffer fine but loads no images. If I go to a URL outside of
Gnus using EWW it renders images fine.  I have set gnus-inhibit-images
to nil in my Gnus config and yet I still have no images showing in the
Gnus message buffer for an HTML mail.

I have yet to find the relevant configuration for this so I thought I
would ask and see if anyone knew.

Any help appreciated, thank you.

-- 
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english