From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50000 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: run `J u' from Group Params Date: Mon, 10 Feb 2003 18:13:03 -0800 Organization: Still searching... 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 1044929511 23627 80.91.224.249 (11 Feb 2003 02:11:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2003 02:11:51 +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 18iPtk-00068w-00 for ; Tue, 11 Feb 2003 03:11:48 +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 18iPvJ-0001jV-00; Mon, 10 Feb 2003 20:13:25 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 10 Feb 2003 20:14:21 -0600 (CST) Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id UAA00553 for ; Mon, 10 Feb 2003 20:14:09 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18iPsu-00066z-00 for ; Tue, 11 Feb 2003 03:10:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@hpc.uh.edu Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18iPss-00066q-00 for ; Tue, 11 Feb 2003 03:10:54 +0100 Original-Lines: 58 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:EPearDzOC8RzsgRU+iVRJpzcOlU= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50000 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50000 Kevin Greiner writes: > 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. It seems kind of handy to me, at least at this point. Allows one to grab a few qroups when the spirit moves them without getting into config hassles > Well, that's the idea. Marking a server as agentized changes the > internals. I'm still surprised that 'J u' functioned. One would expect internal changes yes. But what I see are quite external. It doesn't seem to me that something like an unread face should change. I don't think it does in other changes like nnfolder to nnml or the like. > 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. Well yes, I know how to customize faces, and in fact have them customized already. What I sought to avoid was having to redo it. The easy answer was that agentizing a server is no hassle but in fact it is. Compared to just downloading on demand with no further config. >> 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")) Oddly, neither of those does the job. Neither does `J S' in summary buffer as you suggested. At least not without agentizing the server. `J u' seems to be the lone ranger bug that works for my needs. But if that works, there's got to be some way to call it from G p. This has the earmarks of a bug that can become a nice feature. An example might be for people in temporary situations or for any reason where they might not want to setup everything for the long haul. Say you want to fool around with a big pile of messages from some group. Maybe do extensive searches or something. Its easy to just `J a' the group then `J u' the group. No muss no fuss. Instant database. Now to easily automate that for a short time, I thought G p might be the place to do it. Rather than redoing faces and who knows what other configs.