From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59563 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: nnrss often hangs recent CVS Emacs Date: Tue, 11 Jan 2005 15:21:30 +0900 Organization: Emacsen advocacy group Message-ID: References: <87pt0hyzdv.fsf@mid.packer.its.vanderbilt.edu> <86mzvkeugt.fsf@oumu.localdomain> <87hdlpcc6r.fsf@mid.packer.its.vanderbilt.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1105424804 6058 80.91.229.6 (11 Jan 2005 06:26:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2005 06:26:44 +0000 (UTC) Original-X-From: ding-owner+M8103@lists.math.uh.edu Tue Jan 11 07:26:36 2005 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 1CoFUC-0003zP-00 for ; Tue, 11 Jan 2005 07:26:36 +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 1CoFPo-0007K5-00; Tue, 11 Jan 2005 00:22:04 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CoFPc-0007Jx-00 for ding@lists.math.uh.edu; Tue, 11 Jan 2005 00:21:52 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CoFPW-0004eH-7j for ding@lists.math.uh.edu; Tue, 11 Jan 2005 00:21:46 -0600 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1CoFPR-0006ix-00 for ; Tue, 11 Jan 2005 07:21:41 +0100 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.43) id 1CoFPO-0001ek-7C for ding@gnus.org; Tue, 11 Jan 2005 01:21:38 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:Jcasdqo7xaQFE63fDiQtKcgsybI= X-Hashcash: 1:20:050111:ding@gnus.org::dxInRNpET4XD8bH3:0000K2hc X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59563 --=-=-= >> "Andrew A. Raines" writes: >> >>> nnrss, however, works intermittently. Often when updating a group, >>> Emacs will hang indefinitely. > Adam Duck writes: >> I have a strange problem, too: whenever I make multiple >> rss-feeds update and make emacs lose its focus, emacs >> will stay hogging all CPU time. >>>>> In <87hdlpcc6r.fsf@mid.packer.its.vanderbilt.edu> Andrew A. Raines wrote: > Yes, this happens to me too. Any updating of nnrss groups > only works 10% of the time. However, when it fails and I > hit C-g to regain control, if I immediately try an update > it will generally work. I found the way to reproduce the problem. It is `g', not `M-g'. I'm not sure but it may occur only when using the http proxy. I also found the way to fix it; it is to apply the following patch to url.el. --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- url.el~ 2004-11-21 22:23:54 +0000 +++ url.el 2005-01-11 06:18:59 +0000 @@ -187,7 +187,7 @@ ;; However, raman claims that it blocks Emacs with Emacspeak ;; for unexplained reasons. Put back for his benefit until ;; someone can understand it. - ;; (sleep-for 0.1) + (sleep-for 0.1) (sit-for 0.1)) asynch-buffer))) --=-=-= Content-Disposition: inline However, there is the unknown reason that we cannot use it in Emacs globally. See the comment in the url-retrieve-synchronously function definition. Another solution is not to use the url ELisp package. To do that, use the following: (setq mm-url-use-external t) And Gnus comes to use the wget command instead of the url ELisp package. Where wget is normally the default value for the mm-url-program variable. You can alter it to w3m, lynx, etc. --=-=-=--