From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58559 Path: main.gmane.org!not-for-mail From: Ken Coleman Newsgroups: gmane.emacs.gnus.general Subject: gnus startup aborting due to unreachable nnrss groups Date: Thu, 23 Sep 2004 22:06:27 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095991728 3828 80.91.229.6 (24 Sep 2004 02:08:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2004 02:08:48 +0000 (UTC) Original-X-From: ding-owner+M7097@lists.math.uh.edu Fri Sep 24 04:08:34 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CAfVi-0004AV-00 for ; Fri, 24 Sep 2004 04:08:34 +0200 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 1CAfTw-0005nN-00; Thu, 23 Sep 2004 21:06:44 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CAfTo-0005nH-00 for ding@lists.math.uh.edu; Thu, 23 Sep 2004 21:06:36 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CAfTm-0001mp-8l for ding@lists.math.uh.edu; Thu, 23 Sep 2004 21:06:34 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id B90683A003B for ; Thu, 23 Sep 2004 21:06:31 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CAfTi-00077T-00 for ; Fri, 24 Sep 2004 04:06:30 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 56 Original-NNTP-Posting-Host: pcp468646pcs.westk01.tn.comcast.net Original-X-Trace: quimby.gnus.org 1095991590 27370 68.47.202.56 (24 Sep 2004 02:06:30 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Fri, 24 Sep 2004 02:06:30 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:BUkVMlrb9GLot21v9nifcs+0hUU= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58559 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58559 Hi everyone, I have been chasing down an issue where gnus would abort startup when it couldn't contact a website to get an nnrss group. This is my first foray into gnus hacking, so bear with me. Basically the issue seems to result from using an external program to perform the http: fetch vs. emacs's internal slurping capabilities. In particular, I am using: (setq mm-url-use-external t) to have an external program (wget) grab the RSS feed. The reason is simple performance - emacs works fine, but using wget is much much faster. However, when wget fails (site is down for maintenance or is slashdotted or whatever), gnus startup aborts and doesn't ever build the *Group* buffer. Using internal fetching doesn't cause this problem, but is considerably slower. I traced the issue down to the external program failure signalling an "error", and nothing in the gnus call tree catching the error, and so the startup aborts. I have attached a small diff that corrects this particular issue for me, but I'm curious to get the opinions of actual gnus developers regarding its appropriateness. Basically the change is to also catch "error"s in gnus-activate-group where we are currently catching "quit"s. In fact, all I had to do was uncomment the (error nil) that was already there. It was originally commented out in revision 5.37 of gnus-start.el, but I couldn't really figure out why from the logs. Anyways, that's about all I've got. Let me know if there is anything else I can do on this front. Thanks in advance for any advice/assistance on this issue! - Ken. ken_coleman@iname.com Index: lisp/gnus-start.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-start.el,v retrieving revision 7.23 diff -u -r7.23 gnus-start.el --- lisp/gnus-start.el 19 Sep 2004 20:24:27 -0000 7.23 +++ lisp/gnus-start.el 24 Sep 2004 01:42:07 -0000 @@ -1504,7 +1504,7 @@ (inline (gnus-request-group group dont-check method)) (condition-case nil (inline (gnus-request-group group dont-check method)) - ;;(error nil) + (error nil) (quit (message "Quit activating %s" group) nil)))