From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/77667 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org 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 23:10:04 +0800 Message-ID: <87fwqtae2b.fsf_-_@jidanni.org> References: <87y64qkxjg.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299856472 12950 80.91.229.12 (11 Mar 2011 15:14:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 15:14:32 +0000 (UTC) Cc: emacs-w3m@namazu.org To: ding@gnus.org Original-X-From: ding-owner+M25990@lists.math.uh.edu Fri Mar 11 16:14:27 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 1Py42t-00059E-7Y for ding-account@gmane.org; Fri, 11 Mar 2011 16:14:27 +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 1Py42N-0005g4-0I; Fri, 11 Mar 2011 09:13:55 -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 1Py42L-0005fl-6H for ding@lists.math.uh.edu; Fri, 11 Mar 2011 09:13:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Py42J-0007PG-Bj for ding@lists.math.uh.edu; Fri, 11 Mar 2011 09:13:52 -0600 Original-Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a1.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Py42I-0002HO-0M for ding@gnus.org; Fri, 11 Mar 2011 16:13:50 +0100 Original-Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 27CA3348070; Fri, 11 Mar 2011 07:13:47 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=Nyd5KwfVN684DAqjn045F1kAzzLkYjhLiSNvXI9t/KNeJ1/oz lPY6LwT7EgXOQV/jQEz2QUx/88oddgKcTbVGpyVZFOv2/w38LYu7oFqYbY51/Pce c+oK+rNHUl4ZA7EIn2OItUQYwNLzo1piLp+IIqrQcq82GlOiV/3Zi/SEiw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=4dVtU8tHu4sUkzeze3r98OQcLH0=; b=nTainjxJ3dY5N sJr4/tFyjQAN4cNvdEK8VGM10N8Td7Y7JMVs2saINeHduQqUDWAzoxZCZQIHJObA evZUP0Z7LfPw1AqLUyP1lrd42Vyg4wXgmyOJZ5ATgWw9tEn04ySQc+k5oxtUmFGf 7tOcG9WoRgV1+sFWjMP4gVSGC1Td9g= Original-Received: from jidanni.org (218-163-4-73.dynamic.hinet.net [218.163.4.73]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 9B6B9348062; Fri, 11 Mar 2011 07:13:46 -0800 (PST) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:77667 gmane.emacs.w3m:8814 Archived-At: ;;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))))))