Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
	Didier Verna <didier@xemacs.org>
Subject: Re: Don't open closed servers on `g'
Date: Mon, 6 Dec 2010 15:25:14 +0100	[thread overview]
Message-ID: <201012061525.14887.tassilo@member.fsf.org> (raw)
In-Reply-To: <m3vd3711hc.fsf@quimbies.gnus.org>

[-- Attachment #1: Type: Text/Plain, Size: 730 bytes --]

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

[-- Attachment #2: server-commands-texi.patch --]
[-- Type: text/x-patch, Size: 1110 bytes --]

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
 
 

  reply	other threads:[~2010-12-06 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06 12:51 Tassilo Horn
2010-12-06 13:21 ` Lars Magne Ingebrigtsen
2010-12-06 14:25   ` Tassilo Horn [this message]
2010-12-06 19:42     ` Lars Magne Ingebrigtsen
2010-12-06 20:17       ` Tassilo Horn
2010-12-06 22:36         ` Lars Magne Ingebrigtsen
2010-12-06 13:47 ` Didier Verna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201012061525.14887.tassilo@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=didier@xemacs.org \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).