From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67941 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus shouldn't be making general-purpose variables buffer-local Date: Wed, 17 Dec 2008 21:26:16 +0900 Organization: Emacsen advocacy group Message-ID: References: <9aa0cfde0812112242o38d885a1h12d9e4ac490021@mail.gmail.com> <863agokpas.fsf@lifelogs.com> <87vdtj41ux.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229516859 30993 80.91.229.12 (17 Dec 2008 12:27:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 12:27:39 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16387@lists.math.uh.edu Wed Dec 17 13:28:44 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCvW4-0002Im-Cq for ding-account@gmane.org; Wed, 17 Dec 2008 13:28:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LCvUR-0004da-M3; Wed, 17 Dec 2008 06:26:59 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LCvUP-0004dJ-V2 for ding@lists.math.uh.edu; Wed, 17 Dec 2008 06:26:57 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LCvUN-0003Yy-2n for ding@lists.math.uh.edu; Wed, 17 Dec 2008 06:26:57 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LCvUZ-0005CB-00 for ; Wed, 17 Dec 2008 13:27:07 +0100 Original-Received: from localhost ([127.0.0.1]:50260) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1LCvTo-0007CX-Oe for ding@gnus.org; Wed, 17 Dec 2008 06:26:21 -0600 X-Hashcash: 1:20:081217:ding@gnus.org::nnnUOr3tYR+JLuW+:00003u5z 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.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:sRbUge55RXShlVmLXt3mA/6JUfc= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.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-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67941 Archived-At: >>>>> David Engster wrote: > `gnus-summary-set-local-parameters' will set *all* group/topic > parameters to buffer-local variables. This includes `timestamp', but > also stuff like `visible', `uidvadility', `expiry-wait', > `registry-ignore', and so on. I see. > So maybe, we should change `gnus-summary-set-local-parameters' to only > set those variables buffer-local that begin with a proper prefix, like > "gnus-" and "mm-" ? But it will disable the existing features concerning the parameters of which the names don't begin with "gnus-" and "mm-". The best way seems to be to add "gnus-" or "mm-" to all the parameters. However, it will take time for coding and verifying. Maybe, it should do after the Emacs 23.1 release. >> Those forms are accessed using `gnus-group-set-timestamp' and >> `gnus-group-timestamp', that don't seem to bind it as a variable. > Actually, gnus-group-set-timestamp is used nowhere in the whole > trunk. :-) I guess it's mostly accessed through > gnus-group-get/set-parameter or directly from the info. Oops, I use `gnus-group-set-timestamp' as `gnus-select-group-hook'. I don't recall why I added it to the hook, though. Regards,