From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36073 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: problem in `nnheader-report'? Date: 30 Apr 2001 17:39:23 -0400 Message-ID: <2nk842vzhw.fsf@tiger.jia.vnet> References: <87lmoiurbl.church.of.emacs@space-ghost.verbum.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171720 6616 80.91.224.250 (21 Oct 2002 03:42:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:42:00 +0000 (UTC) Return-Path: Original-Received: (qmail 22006 invoked by alias); 30 Apr 2001 21:39:43 -0000 Original-Received: (qmail 22001 invoked from network); 30 Apr 2001 21:39:43 -0000 Original-Received: from roc-24-95-193-77.rochester.rr.com (HELO zsh.yi.org) (root@24.95.193.77) by gnus.org with SMTP; 30 Apr 2001 21:39:43 -0000 Original-Received: (from zsh@localhost) by zsh.yi.org (8.11.0/8.10.0) id f3ULdOE14230; Mon, 30 Apr 2001 17:39:24 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: <87lmoiurbl.church.of.emacs@space-ghost.verbum.org> (Colin Walters's message of "30 Apr 2001 15:21:18 -0400") User-Agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.103 Original-Lines: 20 Xref: main.gmane.org gmane.emacs.gnus.general:36073 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36073 Colin Walters writes: > In CVS, there seems to be a problem with either the function > `nnheader-report', or some of the calls to it in > `nntp-retrieve-groups'. For example, the code: > > (unless (gnus-buffer-live-p buf) > (error > (nnheader-report 'nntp "Connection to %s is closed." server))) > > in nntp.el seems to expect nnheader-report to return a string, but it > currently always returns nil. So here's a patch which should make it > return the string. I'm not sure if this is the correct fix or not, > but it seems to work. It's my fault for adding these error codes. Actually, nnheader-report should always return nil, because most backends use nnheader-report to return nil. I'll install a patch in minutes. ShengHuo