From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30341 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: newsgroup variables Date: 25 Apr 2000 15:22:32 +0200 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nwvlnvaeo.fsf@tiger.jia.vnet> <200004241624.SAA26860@lucy.cs.uni-dortmund.de> <5bn1mjzb08.fsf@glottis.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166892 7937 80.91.224.250 (21 Oct 2002 02:21:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:21:32 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 886E1D051E for ; Tue, 25 Apr 2000 09:23:28 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAB22480; Tue, 25 Apr 2000 08:23:26 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Apr 2000 08:22:31 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA02719 for ; Tue, 25 Apr 2000 08:22:20 -0500 (CDT) Original-Received: from sheridan.dina.kvl.dk (sheridan.dina.kvl.dk [130.225.40.227]) by mailhost.sclp.com (Postfix) with ESMTP id BCF62D051E for ; Tue, 25 Apr 2000 09:22:37 -0400 (EDT) Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian/GNU) with ESMTP id PAA03833 for ; Tue, 25 Apr 2000 15:20:24 +0200 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.9.3+Sun/8.9.1) id PAA27824; Tue, 25 Apr 2000 15:22:32 +0200 (MET DST) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: Shenghuo ZHU's message of "24 Apr 2000 13:04:07 -0400" Original-Lines: 22 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30341 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30341 Shenghuo ZHU writes: > Group parameters are not variables. To access variables, you have to > call get-parameter functions. And you can not use gnus-use-cache as a > group parameter. Yes, but you are also supposed to be able to set ordinary variables with the group parameters mechanism: Gnus> `(VARIABLE FORM)' Gnus> You can use the group parameters to set variables local to the Gnus> group you are entering. If you want to turn threading off in Gnus> `news.answers', you could put `(gnus-show-threads nil)' in the Gnus> group parameters of that group. `gnus-show-threads' will be made Gnus> into a local variable in the summary buffer you enter, and the form Gnus> `nil' will be `eval'ed there. Gnus> Gnus> This can also be used as a group-specific hook function, if you'd Gnus> like. If you want to hear a beep when you enter a group, you could Gnus> put something like `(dummy-variable (ding))' in the parameters of Gnus> that group. `dummy-variable' will be set to the result of the Gnus> `(ding)' form, but who cares?