From: Tassilo Horn <tassilo@member.fsf.org>
To: Alberto Luaces <aluaces@udc.es>
Cc: ding@gnus.org
Subject: Re: Using gnus-gravatar.el with emacs 23
Date: Wed, 22 Dec 2010 13:13:37 +0100 [thread overview]
Message-ID: <87ipymyphq.fsf@member.fsf.org> (raw)
In-Reply-To: <8762um6mq5.fsf@eps142.cdf.udc.es> (Alberto Luaces's message of "Wed, 22 Dec 2010 13:00:50 +0100")
Alberto Luaces <aluaces@udc.es> writes:
Hi Alberto,
> I'm trying to use gnus-gravatar.el with emacs 23.2 and its gnus
> 5.13. I load succesfully gravatar.el and gnus-gravatar.el, so when
> viewing an article I can do a `M-x gnus-treat-from-gravatar' and see
> the icons.
>
> When I try gnus to do this automatically every time I read a new article
> with
>
> (add-to-list 'gnus-treatment-function-alist '(t gnus-treat-from-gravatar))
I think you should not modify that variable. It's no custom option and
has no documentation, so it's most probably not intended for users.
To do what you want, I use:
,----
| (require 'gnus-gravatar)
| (defun th-gnus-article-prepared ()
| (gnus-treat-from-gravatar)
| (gnus-treat-mail-gravatar))
|
| (add-hook 'gnus-article-prepare-hook 'th-gnus-article-prepared)
`----
Bye,
Tassilo
--
Sent from my Emacs
next prev parent reply other threads:[~2010-12-22 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-22 12:00 Alberto Luaces
2010-12-22 12:13 ` Tassilo Horn [this message]
2010-12-22 12:27 ` Alberto Luaces
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=87ipymyphq.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=aluaces@udc.es \
--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).