Gnus development mailing list
 help / color / mirror / Atom feed
From: Julien Danjou <julien@danjou.info>
To: jidanni@jidanni.org
Cc: ding@gnus.org,  emacs-w3m@namazu.org
Subject: Re: Show Me Images Only when From certain Pe o p le
Date: Fri, 11 Mar 2011 16:19:01 +0100	[thread overview]
Message-ID: <sa339mtznve.fsf@cigue.easter-eggs.fr> (raw)
In-Reply-To: <87fwqtae2b.fsf_-_@jidanni.org> (jidanni@jidanni.org's message of "Fri, 11 Mar 2011 23:10:04 +0800")

[-- Attachment #1: Type: text/plain, Size: 539 bytes --]

On Fri, Mar 11 2011, jidanni@jidanni.org wrote:

> ;;CAN somebody TELL me how to DO this Right?
> (setq
>  gnus-article-prepare-hook
>  (function
>   (lambda ()
>     (if(string-match-p "tw-blog-sys@yahoo-inc\\.com" 
> 		       (prin1-to-string gnus-current-headers))
> ;;; see how dumb I am ^^^^^^^^^^^^^^^^^ but how else can you do this?

(gnus-with-article-headers
  (cadr (mail-extract-address-components
          (mail-fetch-field "From"))))

Something like that.

-- 
Julien Danjou
❱ http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2011-03-11 15:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06  5:35 mm-inline-text-html-with-images only when From certain people jidanni
2011-03-08  5:10 ` jidanni
2011-03-11 15:10   ` Show Me Images Only when From certain Pe o p le jidanni
2011-03-11 15:19     ` Julien Danjou [this message]
2011-03-11 15:20     ` Robert Pluim
2011-03-15 17:30 ` mm-inline-text-html-with-images only when From certain people Lars Magne Ingebrigtsen

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=sa339mtznve.fsf@cigue.easter-eggs.fr \
    --to=julien@danjou.info \
    --cc=ding@gnus.org \
    --cc=emacs-w3m@namazu.org \
    --cc=jidanni@jidanni.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).