From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30293 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: newsgroup variables Date: 24 Apr 2000 13:04:07 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5bn1mjzb08.fsf@glottis.cs.rochester.edu> References: <2nwvlnvaeo.fsf@tiger.jia.vnet> <200004241624.SAA26860@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035166850 7695 80.91.224.250 (21 Oct 2002 02:20:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:20:50 +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 80320D051E for ; Mon, 24 Apr 2000 13:04:50 -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 MAB16627; Mon, 24 Apr 2000 12:04:46 -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 12:04:07 -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 MAA18857 for ; Mon, 24 Apr 2000 12:03:56 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by mailhost.sclp.com (Postfix) with ESMTP id 4640ED0521 for ; Mon, 24 Apr 2000 13:04:10 -0400 (EDT) Original-Received: from glottis.cs.rochester.edu (glottis.cs.rochester.edu [192.5.53.108]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id NAA28338 for ; Mon, 24 Apr 2000 13:04:09 -0400 (EDT) Original-Received: (from zsh@localhost) by glottis.cs.rochester.edu (8.9.1b+Sun/Q++) id NAA06407; Mon, 24 Apr 2000 13:04:08 -0400 (EDT) Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Mon, 24 Apr 2000 18:24:21 +0200" Original-Lines: 37 User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30293 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30293 >>>>> "KG" =3D=3D Kai Gro=DFjohann = writes: KG> Shenghuo ZHU writes: >> I am going to add a feature that enable users to customize variables >> as newsgroup variables, i.e. variables that have separate values in >> newsgroups. KG> Hm. In what way is this different than the variables you can KG> already configure in the group parameters? 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, but the article buffer may use the variables also. 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. 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. 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. --=20 Shenghuo