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: When does gnus read .gnus.el variables

2015-03-06 Thread Alberto Luaces
Emanuel Berg writes:

 And: have you checked all other init files there is no
 other mention of nnimap-split-fancy?

Hi Emanuel,

I really do not want to restart emacs, so I did this instead: quit gnus,
open another emacs program, and start gnus from there.

The result is that nnimap-split-fancy is set as instructed in my
~/.gnus.el.

So I guess it is demonstrated that this is the relevant (or even the
only) definition in my configuration files.

The mystery remains, though — why is gnus not reloading .gnus.el, and
where is it storing the initial values so it is overwriting my own?

-- 
Alberto


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


Re: When does gnus read .gnus.el variables

2015-03-06 Thread Adam Sjøgren
Alberto Luaces writes:

 Once I have gnus up and running, I want to modify my nnimap-split-fancy
 variable.  Therefore, I evaluate a sexp with the new values, and change
 .gnus.el accordingly for future sessions.  All works ok.

Sounds normal.

 When I quit gnus *without quitting* emacs, and then restart gnus again,
 nnimap-split-fancy stays with its initial value.

Sound odd.

What does C-h v nnimap-split-fancy say?

Can you reproduce the problem??

 Maybe it is no surprise that it is not reading .gnus.el again, but I
 wonder why my on-the-fly settings were also dropped.

It sounds weird to me, if that happened.

 Any chance of setting this variable without having to restart emacs?

Evaluating the expression that sets it should be sufficient, I think.
How did you do that exactly?


  Best regards,

Adam

-- 
 People who post screen shots of text are jerks.Adam Sjøgren
 a...@koldfront.dk


___
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