From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67937 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 18:20:02 +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 1229505663 27404 80.91.229.12 (17 Dec 2008 09:21:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 09:21:03 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16383@lists.math.uh.edu Wed Dec 17 10:22:10 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 1LCsbZ-0005aN-1Z for ding-account@gmane.org; Wed, 17 Dec 2008 10:22:09 +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 1LCsaB-0003Xq-R7; Wed, 17 Dec 2008 03:20:43 -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 1LCsaA-0003XZ-Ev for ding@lists.math.uh.edu; Wed, 17 Dec 2008 03:20:42 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LCsa7-0002br-Av for ding@lists.math.uh.edu; Wed, 17 Dec 2008 03:20:42 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LCsaK-0002WN-00 for ; Wed, 17 Dec 2008 10:20:52 +0100 Original-Received: from localhost ([127.0.0.1]:54584) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1LCsZY-0001og-Nw for ding@gnus.org; Wed, 17 Dec 2008 03:20:05 -0600 X-Hashcash: 1:20:081217:ding@gnus.org::yUBVYoNyGwi8IkZ6:000004NP 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:jtKdJ4mu/vc9IDC7UWSDC9ho9u8= 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:67937 Archived-At: >>>>> David Engster wrote: > Katsumi Yamaoka writes: >>> On Thu, 11 Dec 2008 22:42:39 -0800 "Ami Fischman" wrote: >>>>>> Gnus makes 'timestamp a buffer-local variable in *Summary* buffers >>>>>> (and, I suspect, any other set group parameter). This causes buggy >>>>>> interaction with non-gnus (async, usually) functions that bind >>>>>> 'timestamp as a function-local variable, such as emacs-jabber's >>>>>> jabber-history-log-message. For the details please see >>>>>> http://thread.gmane.org/gmane.emacs.devel/105256. Can gnus be changed >>>>>> to prefix such buffer-locals with at least gnus- or, better yet, >>>>>> gnus-summary-- ? > There are indeed lots of possible group parameters which turn to > buffer-local variables. I am surely not innocent here, with nnmairix > having group parameters like `query', `folder' and `threads'. The > problem I see is that changing those is incompatible with existing > groups... not sure how to deal with that... >> Well, how can I get `timestamp' as a buffer-local variable in >> the summary buffer? > I have some nnimap groups with `timestamp' in their group parameters, > but don't know which feature put it there. You can search for > `timestamp' in your .newsrc.eld. Yes, there are a lot of `(timestamp 18760 46339)' things in my .newsrc.eld file, but I believe it will never be bound as a variable. Those forms are accessed using `gnus-group-set-timestamp' and `gnus-group-timestamp', that don't seem to bind it as a variable. >> So far I found neither such a variable nor >> a way to make Gnus make it. >> >> C-h v timestamp RET >> => [No match] > You would have to bind it globally first to see that it's buffer-local. I see, oh! Interesting!