From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: gnus shouldn't be making general-purpose variables buffer-local
Date: Wed, 17 Dec 2008 21:26:16 +0900 [thread overview]
Message-ID: <b4moczbhtsn.fsf@jpl.org> (raw)
In-Reply-To: <kzvdtjkqfk.fsf@randomsample.de>
>>>>> 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,
next prev parent reply other threads:[~2008-12-17 12:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-12 6:42 Ami Fischman
2008-12-16 17:22 ` Ted Zlatanov
2008-12-16 22:54 ` Katsumi Yamaoka
2008-12-17 8:46 ` David Engster
2008-12-17 9:20 ` Katsumi Yamaoka
2008-12-17 10:21 ` Katsumi Yamaoka
2008-12-22 17:36 ` Ted Zlatanov
2008-12-22 18:55 ` Reiner Steib
2008-12-22 20:53 ` Ami Fischman
2008-12-24 2:32 ` Katsumi Yamaoka
2008-12-17 11:10 ` David Engster
2008-12-17 12:26 ` Katsumi Yamaoka [this message]
2008-12-17 13:38 ` David Engster
2008-12-17 14:28 ` David Engster
2008-12-17 23:22 ` Katsumi Yamaoka
2008-12-18 0:19 ` David Engster
-- strict thread matches above, loose matches on Subject: below --
2008-11-02 17:47 Ami Fischman
2008-12-10 7:02 ` Xavier Maillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4moczbhtsn.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).