[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Show Me Images Only when From certain Pe o p le



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