From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30401 Path: main.gmane.org!not-for-mail From: Janne Rinta-Manty Newsgroups: gmane.emacs.gnus.general Subject: Re: newsgroup variables Date: Wed, 26 Apr 2000 12:31:42 GMT Organization: "SunSITE Denmark -- sunsite.auc.dk 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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035166944 8271 80.91.224.250 (21 Oct 2002 02:22:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:24 +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 4EF38D051E for ; Wed, 26 Apr 2000 08:32:33 -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 HAB25171; Wed, 26 Apr 2000 07:32:31 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 07:31:43 -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 HAA21357 for ; Wed, 26 Apr 2000 07:31:32 -0500 (CDT) Original-Received: from sunsite.auc.dk (sunsite.auc.dk [130.225.51.30]) by mailhost.sclp.com (Postfix) with SMTP id 1BAB0D051E for ; Wed, 26 Apr 2000 08:31:51 -0400 (EDT) Original-Received: (qmail 24360 invoked by uid 509); 26 Apr 2000 12:31:43 -0000 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: emacs.ding Original-Lines: 31 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.3 Original-NNTP-Posting-Host: 128.214.48.213 Original-X-Trace: twister.sunsite.auc.dk 956752302 128.214.48.213 (Wed, 26 Apr 2000 14:31:42 MET DST) Original-NNTP-Posting-Date: Wed, 26 Apr 2000 14:31:42 MET DST Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30401 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30401 Per Abrahamsen 2000-04-25T13:24:17Z: PA> 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. PA> Yes, but you are also supposed to be able to set ordinary variables PA> 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 Gnus> made into a local variable in the summary buffer you enter, and ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Gnus> the form `nil' will be `eval'ed there. Yes, I've been using this feature. It works fine with variables that have something to do with the summary. Recently I tried to set gnus-part-display-hook for a couple of groups using group parameters and got hit by the underlined part above. Of course it was obvious when I realized why it wasn't working, but it took me some time... I wonder if it would be The Right Thing to "inherit" (some) variables group -> summary -> article/message? Or would it make things too complex / break something? -- Janne Rinta-Mänty