GNU bug report logs - #19583
nntp-open-server: wrong buffer for nnoo-change-server; breaks url-news

Previous Next

Packages: emacs, gnus;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Tue, 13 Jan 2015 16:13:01 UTC

Severity: normal

Tags: patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 19583 <at> debbugs.gnu.org
Subject: bug#19583: nntp-open-server: wrong buffer for nnoo-change-server; breaks url-news
Date: Tue, 13 Jan 2015 18:28:21 +0100
Ivan Shmakov <ivan <at> siamics.net> writes:

> 	As of 88bc8332eb14 (2015-01-07 13:51:41 +0000), nntp-open-server
> 	appears to call nnoo-change-server without switching to
> 	nntp-server-buffer first, thus installing the local variables in
> 	the whatever buffer current at the time it’s called.  One of
> 	these variables is nntp-port-number, which means that when
> 	open-protocol-stream is called in the proper buffer later, it
> 	gets 0 for the port number to connect, and thus fails.
>
> 	This affects url-retrieve-synchronously; consider, e. g.:

Since this hasn't worked in a year, this suggests that `url-news' isn't
used any more.  I suggest removing it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 8 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.