From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33116 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: [gnu.emacs.gnus] Re: Group parameters and gnus-boring-article-headers Date: 02 Nov 2000 09:54:22 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nbsvys9up.fsf@tiger.jia.vnet> References: 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 1035169283 23447 80.91.224.250 (21 Oct 2002 03:01:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:01:23 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 51599D049A for ; Thu, 2 Nov 2000 09:54:45 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAB25252; Thu, 2 Nov 2000 08:54:32 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 02 Nov 2000 08:53:49 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA08720 for ; Thu, 2 Nov 2000 08:53:39 -0600 (CST) Original-Received: from zsh.2y.net (d18182925.rochester.rr.com [24.24.41.37]) by mailhost.sclp.com (Postfix) with ESMTP id 641ADD049A for ; Thu, 2 Nov 2000 09:54:06 -0500 (EST) Original-Received: (from zsh@localhost) by zsh.2y.net (8.10.0/8.10.0) id eA2EsMo28987; Thu, 2 Nov 2000 09:54:22 -0500 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: Original-Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33116 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33116 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > What do you guys (and gals?) think about the following patch by Tony? > I think it is the right thing to do. Because Gnus may dynamically bind some variables (maybe local variables in the summary buffer) then switch to the article buffer, cloning local variables in the article buffer may cause some problems. The following example illustrates this kind of problems. In the article buffer, it still uses the local value, "Article", instead of the dynamic one, "Dynamic". (let (art-buf sum-buf msg) (with-temp-buffer (setq art-buf (current-buffer)) (set (make-local-variable 'info) "Article") (with-temp-buffer (setq sum-buf (current-buffer)) (set (make-local-variable 'info) "Summary") (let ((info "Dynamic")) (set-buffer art-buf) (setq msg info)) (set-buffer sum-buf) (setq msg (concat msg "; " info)))) msg) As an alternative solution, I've installed a patch which enables users explicitly specify which summary-buffer-local variables should be globalized (see `gnus-newsgroup-variables'), so that the values could be used in the article buffer. ShengHuo