From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49986 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: run `J u' from Group Params Date: Mon, 10 Feb 2003 11:07:24 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044896806 31931 80.91.224.249 (10 Feb 2003 17:06:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2003 17:06:46 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18iHOF-0008Id-00 for ; Mon, 10 Feb 2003 18:06:43 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18iHPN-0007Ds-00; Mon, 10 Feb 2003 11:07:53 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 10 Feb 2003 11:08:49 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA29484 for ; Mon, 10 Feb 2003 11:08:36 -0600 (CST) Original-Received: (qmail 54402 invoked by alias); 10 Feb 2003 17:07:34 -0000 Original-Received: (qmail 54397 invoked from network); 10 Feb 2003 17:07:34 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 10 Feb 2003 17:07:34 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18iHXz-0006y6-00 for ; Mon, 10 Feb 2003 18:16:47 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 72 Original-NNTP-Posting-Host: h-66-134-21-50.hstqtx02.covad.net Original-X-Trace: quimby.gnus.org 1044897407 26789 66.134.21.50 (10 Feb 2003 17:16:47 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 10 Feb 2003 17:16:47 GMT User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-msvc-nt5.1.2600) Cancel-Lock: sha1:r/eLs4nzKbLpky40/WBxYA3SRNc= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49986 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49986 Harry Putnam writes: > Kevin Greiner writes: > >> Harry Putnam writes: >> >>> I want to agentize a couple groups without going to the trouble of >>> agentizing there server. That is, just download with J u when I >>> think about it. Not have to go thru any bother agentizing the server. >> >> None of the agent command will function on a group whose server is not >> agentized. > > I don't see that here. Pressing the agent command J u on a group > that has been agentized with J a (even though the server is not > agentized seems to work just fine. You are correct. However, in my opinion, you are exploiting a bug. The agent, as documented, should only accept groups on agentized servers. I'm not going to do anything about this right now. I'm willing to see how the public opinion goes. > Assuming my catagories setup of cat Default = false > cat two = true > >> As for actually agentizing the server, I'm don't understand why you >> think that it is such a bother. All that you need do is '^' in the >> group buffer to open the server buffer then a 'J a' on the appropriate >> server. > > Things happen to the groups when you do that. For example: > The face used to display all new messages in groups in > category default (predicate = false) changes from default to > gnus-summary-normal-uncached-face. Now one has to fiddle with > faces to get back to what you've come to expect when non-agentized. > Not sure what else may change, and didn't really want to find out. Well, that's the idea. Marking a server as agentized changes the internals. I'm still surprised that 'J u' functioned. As for the faces, you can customize gnus-summary-highlight. All you need do is delete the three cons cells that reference the gnus*undownloaded-face. > >>> I wondered if I could run the J u command from Group params some how >>> so that when ever I press on the group a hook runs J u >>> just before I enter. >> >> So the bother might not be on agentizing the server but in setting up >> the agent group so that 'J u' will automatically fetch the desired >> articles. Well, that is a bit of a bother. At the very least, you'll >> need to set the agent predicate for the default group to true. That >> way, 'J u' will know to fetch all of the group's articles. > > That is exactly what I do. Seems less troublesome than messing with > faces and what ever else changes when a server is agentized. > > I think code can be inserted into G p that will fire off J u on the > group just before entry,,, but don't know how to write it. The following is completely untested. (dummy-variable (gnus-agent-fetch-group)) or (dummy-variable (gnus-agent-fetch-group "group.name")) What you may not have noticed is that a new command has been added to the summary buffer. You can now execute 'J S' to do the same thing as 'J u' in the group buffer. Kevin