From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/22974 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: Re: how to turn off smileys Date: 12 May 1999 21:30:27 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035160794 32035 80.91.224.250 (21 Oct 2002 00:39:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:39:54 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA05452 for ; Wed, 12 May 1999 15:32:08 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB28273; Wed, 12 May 1999 14:31:25 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 12 May 1999 14:32:04 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id OAA05328 for ; Wed, 12 May 1999 14:31:56 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA05432 for ; Wed, 12 May 1999 15:31:42 -0400 (EDT) Original-Received: from petty.cs.uni-dortmund.de (petty.cs.uni-dortmund.de [129.217.20.161]) by waldorf.cs.uni-dortmund.de with SMTP id VAA21543 for ; Wed, 12 May 1999 21:30:29 +0200 (MES) Original-Received: (grossjoh@localhost) by petty.cs.uni-dortmund.de id VAA27908; Wed, 12 May 1999 21:30:29 +0200 Original-To: ding@gnus.org In-Reply-To: Bud Rogers's message of "12 May 1999 10:38:50 -0500" Original-Lines: 28 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3.9 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:22974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:22974 Bud Rogers writes: > Would it work to put that line in Group Parameters to change the behaviour > on a per-group basis? No, it's the wrong syntax for group parameters. Maybe putting (gnus-treat-display-smileys nil) in there (without the setq) will do the trick, but I don't know for sure. Might be worth a try, though. If that doesn't work, you could add stuff to your gnus-summary-mode-hook to set the variable: (defun my-set-gnus-treat-display-smileys () (cond ((string-match "foo.*bar" gnus-newsgroup-name) (setq gnus-treat-display-smileys t)) ((string-match "foo" gnus-newsgroup-name) (setq gnus-treat-display-smileys nil)) (t (setq gnus-treat-display-smileys nil)))) (add-hook 'gnus-summary-mode-hook 'my-set-gnus-treat-display-smileys) Yes, the function could be written more succinctly, but the above is a general template which can be extended nicely. The code is untested; I hope it works anyway. kai -- Abort this operation? [Abort] [Cancel]