From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55356 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: automatic Agentizing of servers (was: Summary buffer Date: Mon, 29 Dec 2003 17:10:20 -0600 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nn0aleo5u.fsf@lockgroove.bwh.harvard.edu> <4nd6bhhf0j.fsf@lockgroove.bwh.harvard.edu> <877k0fwc8i.fsf@doohan.bang.priv.no> <87y8sv2smn.fsf@doohan.bang.priv.no> <87u13jxmzg.fsf@doohan.bang.priv.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1072739512 24190 80.91.224.253 (29 Dec 2003 23:11:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2003 23:11:52 +0000 (UTC) Original-X-From: ding-owner+M3896@lists.math.uh.edu Tue Dec 30 00:11:49 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ab6Y8-00051d-00 for ; Tue, 30 Dec 2003 00:11:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ab6Wv-0003Nh-00; Mon, 29 Dec 2003 17:10:33 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ab6Wq-0003Nc-00 for ding@lists.math.uh.edu; Mon, 29 Dec 2003 17:10:28 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 6D6913A0047 for ; Mon, 29 Dec 2003 17:10:28 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1Ab6Wp-0004hu-00 for ; Tue, 30 Dec 2003 00:10:27 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 67 Original-NNTP-Posting-Host: dialup-216-12-206-172.ev1.net Original-X-Trace: quimby.gnus.org 1072739427 17661 216.12.206.172 (29 Dec 2003 23:10:27 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 29 Dec 2003 23:10:27 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:GrqkWLrBo7R89In4YxnBJmRq9dk= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55356 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55356 Simon Josefsson writes: > Steinar Bang writes: > >>>>>>> Simon Josefsson : >> >>> Uhm, but what would you expect to happen? The knowledge about which >>> servers are agentized and which are not is stored in >>> ~/News/agent/lib/servers, so if you remove that file, Gnus will >>> auto-agentize your servers. >> >> Ah, OK. Right now it only contains the text nil, and no servers were >> agentized when I started Gnus. >> >> Can I delete everything in the ~/News/agent/ directory, except this >> file? > > Yes. You can delete that file too, of course, but then some servers > will be auto-agentized when you restart. > >>> The point of the patch is that auto-agentification only happens once >>> (unless you modify ~/News/agent/ manually). I think if a user >>> remove ~/News/agent she wishes to start afresh, and >>> auto-agentification is useful in that case. >> >>> What do you think? Can you suggest/describe a better logic that >>> does what you want? >> >> Well, for me auto-agentizing is unexpected behaviour, and I wouldn't >> wish it ever to occur. That's probably because the agent was originally intended for offline use. Auto-agentizing was added to support client-side caching of articles (an online performance option). Personally, I also find it a little strange but it is a better solution than having the agent, the cache, AND a client-side cache storing articles on your local hard drive. >> I want to agentize servers when I say J a in the *Server* buffer, >> and only then. > > Then don't delete ~/News/agent/lib/servers and remove the > auto-agentized servers. :-) > > I guess this could be customizable. Cvs update again and customize > `gnus-agent-auto-agentize-methods' to an empty list. Then you can > wipe out ~/News/agent/ and nothing will be auto-agentized. I have > added this to the manual: > > `gnus-agent-auto-agentize-methods' > If you have never used the Agent before (or more technically, if > `~/News/agent/lib/servers' does not exist), Gnus will > automatically agentize a few servers for you. This variable > control which backends should be auto-agentized. It is typically > only useful to agentize remote backends. The auto-agentizing has > the same effect as running `J a' on the servers (see *note Server > Agent Commands::). If the file exist, you must manage the servers > manually by adding or removing them, this variable is only > applicable the first time you start Gnus. The default is `(nntp > nnimap)'. That's inappropriate as gnus-agent-auto-agentize-methods isn't customizable. It is also incorrect as, as I mentioned earlier, the agent has more uses than agentizing remote backends. Kevin