From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32848 Path: main.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus CVS-Release: Remarks to `nntp-open-connection' Date: 12 Oct 2000 09:16:27 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <5bitr1q28y.fsf@brandy.cs.rochester.edu> Reply-To: Christoph Conrad NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169062 22088 80.91.224.250 (21 Oct 2002 02:57:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:57:42 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 7623BD051E for ; Thu, 12 Oct 2000 03:22:03 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB28235; Thu, 12 Oct 2000 02:21:23 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 12 Oct 2000 02:20:39 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id CAA16997 for ; Thu, 12 Oct 2000 02:20:29 -0500 (CDT) Original-Received: from mutzel.brumpf.de (A64bd.pppool.de [213.6.100.189]) by mailhost.sclp.com (Postfix) with ESMTP id 286E8D051E for ; Thu, 12 Oct 2000 03:20:54 -0400 (EDT) Original-Received: (from cc@localhost) by mutzel.brumpf.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id JAA13672; Thu, 12 Oct 2000 09:16:29 +0200 X-Authentication-Warning: mutzel.brumpf.de: cc set sender to christoph.conrad@gmx.de using -f Original-To: ShengHuo ZHU X-Public-Key: http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0x1B488DEA In-Reply-To: <5bitr1q28y.fsf@brandy.cs.rochester.edu> Original-Lines: 40 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32848 Hello ShengHuo, you wrote: >> - if there is more than one nntp group in the group buffer, the >> group buffer isn't shown, cause the whole gnus-(un)plugged quits >> (cause a quit-signal is re-thrown). > Do you mean it quits gnus-agent-fetch-session (or > gnus-agent-batch-fetch)? I think a better way is to catch "quit" > signal in g-a-f-s. Oh, i never used one of them ;-) Myriads of years ago, in the ancient times of pgnus 0.7, i wrote the following (maybe ugly) function which i modified some times and used since then: (defun my-gnus-check-new-news-all-groups () (interactive) (let ((pos (point)) (lines (1- (count-lines (point-min) (point-max))))) (beginning-of-buffer) (while (> lines 0) (gnus-topic-get-new-news-this-topic) (setq lines (1- lines))) (goto-char pos)) (gnus-agent-expire) (gnus-cache-generate-active) (gnus-group-save-newsrc) (gnus-close-backends)) I will try the two functions from above! Best regards, cu, -cc- -- EMACS: Every Mode Accelerates Creation of Software (defvar my-computer '((OS . "GNU Emacs") (system-type . gnu/linux)) "Programming environment.")