From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30302 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: newsgroup variables Date: Mon, 24 Apr 2000 20:44:28 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <200004241844.UAA27063@lucy.cs.uni-dortmund.de> 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 1035166858 7731 80.91.224.250 (21 Oct 2002 02:20:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:20:58 +0000 (UTC) Cc: ding@gnus.org 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 9ECB0D051E for ; Mon, 24 Apr 2000 14:45:57 -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 NAB15240; Mon, 24 Apr 2000 13:45:28 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 24 Apr 2000 13:44:56 -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 NAA19761 for ; Mon, 24 Apr 2000 13:44:43 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 7C005D0521 for ; Mon, 24 Apr 2000 14:45:01 -0400 (EDT) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id UAA04368; Mon, 24 Apr 2000 20:44:29 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id UAA04966; Mon, 24 Apr 2000 20:44:28 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id UAA27063; Mon, 24 Apr 2000 20:44:28 +0200 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Shenghuo ZHU In-Reply-To: Shenghuo ZHU's message of "24 Apr 2000 13:04:07 -0400" User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/21.0.90 Original-Lines: 48 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30302 Shenghuo ZHU writes: > Newsgroup variables are like local variables. They are associated to > the current "active" group. For example, you want to use > gnus-use-cache with different values for different groups. But when > you have two summary buffers at the same time, the second group > setting may override the first one. It may simply solved by making > those variables as local variables of the summary buffer, Yes, that's the way I did it. > but the article buffer may use the variables also. Like I said, I think many local variables should be copied all over the place by Gnus. > The implementation is just like gnus-newsgroup-name does, > i.e. replacing the global values with the local values after > switching to a summary buffer. Err, hm. I don't know anything about the implementation of gnus-newsgroup-name, but I'll go look. > 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. After typing `G c' in the Group buffer, it is possible to set local variables in addition to group parameters. I'm not sure what happens when one does that, though. > KG> One thing which would be nice is this: some variables are used in > KG> the summary buffer, others are used in the article buffer, and > KG> still others are used in the message buffers that are created from > KG> the summary buffer. Could you do stuff that copies the variables > KG> over to all these buffers so that the right thing happens? > > The variables are not copied to all these buffers, just copied > globally. Actually, the article buffer has few local variables besides > gnus-summary-buffer. I can not find that the message buffer has such a > local variable. Maybe we should make one. ??? I think I'll go read the sources, first. I can't make heads nor tails of what you're saying :-) Not your fault, of course. kai -- Beware of flying birch trees.