Gnus development mailing list
 help / color / mirror / Atom feed
From: jidanni@jidanni.org
To: ding@gnus.org
Cc: emacs-w3m@namazu.org
Subject: Re: Show Me Images Only when From certain Pe o p le
Date: Fri, 11 Mar 2011 23:10:04 +0800	[thread overview]
Message-ID: <87fwqtae2b.fsf_-_@jidanni.org> (raw)
In-Reply-To: <87y64qkxjg.fsf@jidanni.org>

;;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?

	(progn
	  (set (make-local-variable 'w3m-safe-url-regexp) (set
            (make-local-variable 'mm-w3m-safe-url-regexp)
       "http://tw.blog.yahoo.com/photo/photo.php"))
;;; I only want them set to that value for this message please.
;;; Also it is rather hard to tell just which is the right variable to set
  (w3m-toggle-inline-images t))))))



  reply	other threads:[~2011-03-11 15:10 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   ` jidanni [this message]
2011-03-11 15:19     ` Show Me Images Only when From certain Pe o p le Julien Danjou
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=87fwqtae2b.fsf_-_@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=ding@gnus.org \
    --cc=emacs-w3m@namazu.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).