From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77668 Path: news.gmane.org!not-for-mail From: Julien Danjou 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:19:01 +0100 Message-ID: References: <87y64qkxjg.fsf@jidanni.org> <87fwqtae2b.fsf_-_@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1299856762 14646 80.91.229.12 (11 Mar 2011 15:19:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 15:19:22 +0000 (UTC) Cc: ding@gnus.org, emacs-w3m@namazu.org To: jidanni@jidanni.org Original-X-From: ding-owner+M25991@lists.math.uh.edu Fri Mar 11 16:19:16 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 1Py47X-0007ZU-K9 for ding-account@gmane.org; Fri, 11 Mar 2011 16:19:16 +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 1Py47U-0005mG-9N; Fri, 11 Mar 2011 09:19:12 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Py47S-0005lx-Oq for ding@lists.math.uh.edu; Fri, 11 Mar 2011 09:19:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Py47Q-0004Qj-IF for ding@lists.math.uh.edu; Fri, 11 Mar 2011 09:19:10 -0600 Original-Received: from prometheus.naquadah.org ([212.85.154.174] helo=mx1.naquadah.org) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Py47O-0002PL-Ku for ding@gnus.org; Fri, 11 Mar 2011 16:19:06 +0100 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id 452995C0FD; Fri, 11 Mar 2011 16:19:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on prometheus.naquadah.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Original-Received: from cigue.easter-eggs.fr (coquelicot-s.easter-eggs.com [213.215.37.94]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id DE14E5C0F3; Fri, 11 Mar 2011 16:19:02 +0100 (CET) Mail-Followup-To: jidanni@jidanni.org, ding@gnus.org, emacs-w3m@namazu.org In-Reply-To: <87fwqtae2b.fsf_-_@jidanni.org> (jidanni@jidanni.org's message of "Fri, 11 Mar 2011 23:10:04 +0800") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77668 gmane.emacs.w3m:8815 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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"=20 > (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. =2D-=20 Julien Danjou =E2=9D=B1 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJNej1mAAoJEGEbqVCLeKXCodsP/i5HUrdBzp3SQv6E6uCcYL/z IUkL0RqEBEaG4tUwMHhDUQtZFo/fjzoshGj5XJ9u4p44u+KQPsmwYZQp9gM/56ny QCxZqP8RPBjcVFrWph9yVv+iWAv9bdpRGpuyv1LgvL1gUDpRlrkqzUZadv+a8n0O 85HptaEsLRjGaKwf+Nhxg69XOdgxp2SSUxiw1Pr2+7SsL7t/ync5GUhFKMsAzwnZ 9PAomh16eEsVgz73e8ERzbVkinssLL6rZsX1Hu0jJ4Mw4iWr0Rjec7hTljGboj+s +qCzX7PibDPO5VWVzTswQy0/FJZi/vkZqeyiOKyNQeWzh4hOEW7F63YIzfaZVRhI 4vjhJEQPx4/lXVNhMrLuOfaPbn2UZ20Ay8L0qwPcAiSB8GAPBjpQeS/FFT7E5gZ/ 8cgzzb+97l4HpZH6s47DqRZybQwgo+kWct4Lfx2VQ5uVOweFRzqumlvFuJTVfzvz DrdHqmoyE5iehRfQP1tAMK5QjBBhnbmtZUUAFFqdfD489Yl+rCKUX1VF97dK5k4L BbAz+rUlrcIvhNLl2YUbMR89gLVfZF+pCR3M8D5B4UuNKbxKg2tnip33AUUYzawf 9o9il29y5/bLTksDiQ8LAQZm2X7JywcqGP+q6oOGmEbzE4xC49HDofXB0QrxheJR Mkf3Lz1ZKo6elcJjwmoL =mU9e -----END PGP SIGNATURE----- --=-=-=--