From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61595 Path: news.gmane.org!not-for-mail From: Mark Plaksin Newsgroups: gmane.emacs.gnus.general Subject: Re: PATCH: Make nnrss fail gracefully when it can't fetch a feed Date: Wed, 21 Dec 2005 13:28:54 -0500 Message-ID: <87u0d2pamx.fsf@stone.tss.usg.edu> References: <87y82e1gg2.fsf@stone.tss.usg.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135190260 17715 80.91.229.2 (21 Dec 2005 18:37:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2005 18:37:40 +0000 (UTC) Original-X-From: ding-owner+m10127@lists.math.uh.edu Wed Dec 21 19:37:31 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ep8oV-0007hc-Uv for ding-account@gmane.org; Wed, 21 Dec 2005 19:35:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ep8oR-0004mZ-00; Wed, 21 Dec 2005 12:35:43 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ep8nt-0004mU-00 for ding@lists.math.uh.edu; Wed, 21 Dec 2005 12:35:09 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1Ep8np-0002Po-MG for ding@lists.math.uh.edu; Wed, 21 Dec 2005 12:35:09 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ep8no-000881-00 for ; Wed, 21 Dec 2005 19:35:04 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ep8lF-0006b8-PN for ding@gnus.org; Wed, 21 Dec 2005 19:32:25 +0100 Original-Received: from stone.tss.usg.edu ([168.24.82.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Dec 2005 19:32:25 +0100 Original-Received: from happy by stone.tss.usg.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Dec 2005 19:32:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: stone.tss.usg.edu User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0 (gnu/linux) Cancel-Lock: sha1:VY8dXdlDErNRRU27iXV7mU4zzSk= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61595 Archived-At: Mark Plaksin writes: > When nnrss can't fetch a feed an error is signalled. This patch makes > nnrss print a warning instead. > > When you use 'g' from the Group buffer, the current behavior prevents the > rest of your feeds from being checked. The root cause is the use of > `(error)' in mm-url-insert-file-contents-external. This patch just adds a > condition-case in nnrss.el. PS: To test what happens when nnrss can't fetch a site, make an /etc/hosts entry for the hostname of one of your feeds that points to a machine that's not running a web server (I used 127.0.0.0).