From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67936 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus shouldn't be making general-purpose variables buffer-local Date: Wed, 17 Dec 2008 09:46:37 +0100 Message-ID: <87vdtj41ux.fsf@engster.org> References: <9aa0cfde0812112242o38d885a1h12d9e4ac490021@mail.gmail.com> <863agokpas.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229504192 22710 80.91.229.12 (17 Dec 2008 08:56:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 08:56:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16382@lists.math.uh.edu Wed Dec 17 09:57:38 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 1LCsDm-0006Lw-8H for ding-account@gmane.org; Wed, 17 Dec 2008 09:57:34 +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 1LCsCG-0003PG-0T; Wed, 17 Dec 2008 02:56:00 -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 1LCsCE-0003Oz-AS for ding@lists.math.uh.edu; Wed, 17 Dec 2008 02:55:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LCsC8-0002V6-Kw for ding@lists.math.uh.edu; Wed, 17 Dec 2008 02:55:58 -0600 Original-Received: from m61s02.vlinux.de ([83.151.21.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LCsCL-00021K-00 for ; Wed, 17 Dec 2008 09:56:05 +0100 Original-Received: from dslb-082-083-053-007.pools.arcor-ip.net ([82.83.53.7] helo=honk) by m61s02.vlinux.de with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1LCsC6-0006QZ-L8 for ding@gnus.org; Wed, 17 Dec 2008 09:55:50 +0100 In-Reply-To: (Katsumi Yamaoka's message of "Wed, 17 Dec 2008 07:54:07 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67936 Archived-At: 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. > 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. Regards, David