From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74755 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Don't open closed servers on `g' Date: Mon, 6 Dec 2010 15:25:14 +0100 Message-ID: <201012061525.14887.tassilo@member.fsf.org> References: <201012061351.11437.tassilo@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_KJP/MKr0DhMrNgF" X-Trace: dough.gmane.org 1291645558 13591 80.91.229.12 (6 Dec 2010 14:25:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 14:25:58 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , Didier Verna To: ding@gnus.org Original-X-From: ding-owner+M23111@lists.math.uh.edu Mon Dec 06 15:25:53 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPc0m-0002CB-NT for ding-account@gmane.org; Mon, 06 Dec 2010 15:25:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PPc0I-00049b-Fj; Mon, 06 Dec 2010 08:25:22 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PPc0F-00049L-Mc for ding@lists.math.uh.edu; Mon, 06 Dec 2010 08:25:19 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PPc0D-00068O-P0 for ding@lists.math.uh.edu; Mon, 06 Dec 2010 08:25:19 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PPc0C-0001sB-00; Mon, 06 Dec 2010 15:25:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 6BE237801660; Mon, 6 Dec 2010 15:25:16 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12798-02; Mon, 6 Dec 2010 15:25:15 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id B2714780165F; Mon, 6 Dec 2010 15:25:15 +0100 (CET) User-Agent: KMail/1.13.5 (Linux/2.6.37-rc4+; KDE/4.5.4; x86_64; ; ) In-Reply-To: X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74755 Archived-At: --Boundary-00=_KJP/MKr0DhMrNgF Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Monday 06 December 2010 14:21:03 Lars Magne Ingebrigtsen wrote: Hi Lars & Didier, > > Unfortunately, when hitting `g' in *Group*, Gnus re-opens all servers > > forcefully. Can that be changed somehow? > > If you mark the servers as denied (`D' in the server buffer), Gnus > won't reopen them. Argh, that was much too easy. But as an excuse, (info "(gnus)Server Commands") does mention neither `C' nor `D'. :-) (info "(gnus)Unavailable Servers") mentions them, but I think the former section should mention them, too. I appended a patch that adds at least C, D and O to that section. I tried to be a littlebit funny in the description of D, but feel free to remove any humor in case I didn't succeed. ;-) Bye, Tassilo --Boundary-00=_KJP/MKr0DhMrNgF Content-Type: text/x-patch; charset="UTF-8"; name="server-commands-texi.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="server-commands-texi.patch" diff --git a/texi/gnus.texi b/texi/gnus.texi index d81b9ba..3b6e9b7 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -13877,12 +13877,30 @@ a mail back end that has gotten out of sync. @item z @kindex z (Server) @findex gnus-server-compact-server - Compact all groups in the server under point (@code{gnus-server-compact-server}). Currently implemented only in nnml (@pxref{Mail Spool}). This removes gaps between article numbers, hence getting a correct total article count. +@item C +@kindex C (Server) +@findex gnus-server-close-server +Close the server under point. When trying to get new messages, Gnus +will try to re-open closed servers. + +@item D +@kindex D (Server) +@findex gnus-server-deny-server +Mark the server under point as unreachable. In contrast to closed +servers, Gnus won't try to re-open denied servers, so this is the +right thing if you want to disable some servers explicitly due to low +network bandwidth or general information overload. + +@item O +@kindex O (Server) +@findex gnus-server-open-server +Try to re-connect to the server under point. + @end table --Boundary-00=_KJP/MKr0DhMrNgF--