From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59394 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.semi.japanese,gmane.emacs.gnus.general Subject: Re: CVS update of gnus/lisp (ChangeLog gnus-sum.el) Date: Thu, 09 Dec 2004 23:31:28 +0900 Message-ID: References: <877josgsg9.fsf@seamus.arnested.dk> <87is85tzyg.fsf@orebokech.com> Reply-To: semi-gnus-ja@meadowy.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1102602727 24022 80.91.229.6 (9 Dec 2004 14:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2004 14:32:07 +0000 (UTC) Cc: semi-gnus-ja@meadowy.org Original-X-From: semi-gnus-ja-return-11637-gegsj-semi-gnus-ja-403=m.gmane.org@meadowy.org Thu Dec 09 15:31:56 2004 Return-path: Original-Received: from meadow.scphys.kyoto-u.ac.jp ([130.54.54.165]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CcPKl-0002T5-00 for ; Thu, 09 Dec 2004 15:31:56 +0100 Original-Received: (qmail 24032 invoked by uid 1001); 9 Dec 2004 14:31:43 -0000 Mailing-List: contact semi-gnus-ja-help@meadowy.org; run by ezmlm Original-Sender: semi-gnus-ja-owner@meadowy.org X-ML-NAME: semi-gnus-ja Precedence: bulk Original-Received: (qmail 27053 invoked from network); 9 Dec 2004 14:31:42 -0000 X-SendingHost: 69.61.11.2 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:MYUDiYuTjQ/maQnj9/TTfzb+XuY= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - meadowy.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-ML-COUNT: 11637 Xref: main.gmane.org gmane.emacs.gnus.semi.japanese:4392 gmane.emacs.gnus.general:59394 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59394 >>>>> In <87is85tzyg.fsf@orebokech.com> >>>>> Romain Francoise wrote: > I suggest the following patch which fixes both problems: it removes the > "also clear global values" part, which in fact never worked since global > variable were apparently not reset. > (It may be fuzzy, I have other changes in gnus-sum.el.) > Index: gnus-sum.el > =================================================================== > RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v > retrieving revision 7.66 > diff -u -r7.66 gnus-sum.el > --- gnus-sum.el 7 Nov 2004 22:00:10 -0000 7.66 > +++ gnus-sum.el 16 Nov 2004 18:18:30 -0000 > @@ -6704,12 +6718,6 @@ > (gnus-summary-clear-local-variables)) > (when (get-buffer gnus-article-buffer) > (bury-buffer gnus-article-buffer)) > - ;; We clear the global counterparts of the buffer-local > - ;; variables as well, just to be on the safe side. > - (set-buffer gnus-group-buffer) > - (gnus-summary-clear-local-variables) > - (let ((gnus-summary-local-variables gnus-newsgroup-variables)) > - (gnus-summary-clear-local-variables)) > ;; Return to group mode buffer. > (when (eq mode 'gnus-summary-mode) > (gnus-kill-buffer buf))) NAKAJI Hiroyuki also confirmed that your patch does the trick. I've applied it. Thanks.