[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Show Me Images Only when From certain Pe o p le
- From: jidanni@xxxxxxxxxxx
- Date: Fri, 11 Mar 2011 23:10:04 +0800
- X-ml-name: emacs-w3m
- X-mail-count: 11541
- References: <87y64qkxjg.fsf@xxxxxxxxxxx>
;;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))))))