Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
Cc: ding@gnus.org
Subject: Re: news server responses with no msg?
Date: 11 May 2001 22:35:55 +0200	[thread overview]
Message-ID: <ilu3dabk4ic.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <vafpudf672r.fsf@lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "11 May 2001 21:04:12 +0200")

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Suppose Gnus issues a `LIST ACTIVE' command, and the server responds
> with `215 foo' -- then everything should be fine.  But what if the
> server responds with `215' (the space and the message are missing)?
> What would happen in this case?  Does anybody know?

It would try to treat it as a newsgroup.  I'll commit the following
soonish unless someone objects.  (And yes, it is g-i-newsgroups which
is, somewhat non-inuitively, used to remove the NNTP responses.)

2001-05-11  Simon Josefsson  <simon@josefsson.org>

	* gnus-start.el (gnus-ignored-newsgroups): Also ignore NNTP type
	status lines without any text ("^215$").

--- gnus-start.el.~6.19.~	Sun May  6 02:15:16 2001
+++ gnus-start.el	Fri May 11 22:30:02 2001
@@ -229,7 +229,7 @@
 (defcustom gnus-ignored-newsgroups
   (mapconcat 'identity
 	     '("^to\\."			; not "real" groups
-	       "^[0-9. \t]+ "		; all digits in name
+	       "^[0-9. \t]+\\( \\|$\\)"	; all digits in name
 	       "^[\"][]\"[#'()]"	; bogus characters
 	       )
 	     "\\|")



  reply	other threads:[~2001-05-11 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-11 19:04 Kai Großjohann
2001-05-11 20:35 ` Simon Josefsson [this message]
2001-05-11 22:54   ` Kai Großjohann

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=ilu3dabk4ic.fsf@barbar.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@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).