From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77669 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.gnus.general,gmane.emacs.w3m Subject: Re: Show Me Images Only when From certain Pe o p le Date: Fri, 11 Mar 2011 16:20:58 +0100 Organization: not if I can help it Message-ID: References: <87y64qkxjg.fsf@jidanni.org> <87fwqtae2b.fsf_-_@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299856901 15538 80.91.229.12 (11 Mar 2011 15:21:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 15:21:41 +0000 (UTC) Cc: emacs-w3m@namazu.org To: ding@gnus.org Original-X-From: ding-owner+M25992@lists.math.uh.edu Fri Mar 11 16:21:37 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Py49o-0000Lk-Kj for ding-account@gmane.org; Fri, 11 Mar 2011 16:21:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Py49l-0005p7-Bj; Fri, 11 Mar 2011 09:21:33 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Py49j-0005oc-Ip for ding@lists.math.uh.edu; Fri, 11 Mar 2011 09:21:31 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Py49i-0007RM-Ub for ding@lists.math.uh.edu; Fri, 11 Mar 2011 09:21:31 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Py49g-0002SF-NY for ding@gnus.org; Fri, 11 Mar 2011 16:21:28 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Py49e-0000Ec-7Q for ding@gnus.org; Fri, 11 Mar 2011 16:21:26 +0100 Original-Received: from lns-bzn-49f-81-56-191-143.adsl.proxad.net ([81.56.191.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2011 16:21:26 +0100 Original-Received: from rpluim by lns-bzn-49f-81-56-191-143.adsl.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Mar 2011 16:21:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lns-bzn-49f-81-56-191-143.adsl.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.110014 (No Gnus v0.14) XEmacs/21.5-b29 (cygwin32) Cancel-Lock: sha1:fFMFP2AtkHOPgypBjsUvVvvWol8= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77669 gmane.emacs.w3m:8816 Archived-At: jidanni@jidanni.org writes: > ;;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? > (mail-header-from gnus-current-headers) ? (I cheated and used 'grep' :) ) Regards Robert