From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re[1]: speedbar refresh hangs emacs when visited directory is deleted Date: Tue, 26 Mar 2002 20:06:51 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200203270106.g2R16ps21992@beta.siege-engine.com> References: <200203262318.g2QNINB08226@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1017191369 14470 127.0.0.1 (27 Mar 2002 01:09:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 27 Mar 2002 01:09:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16q1wP-0003lH-00 for ; Wed, 27 Mar 2002 02:09:29 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16q257-0002eQ-00 for ; Wed, 27 Mar 2002 02:18:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16q1wA-0000aP-00; Tue, 26 Mar 2002 20:09:14 -0500 Original-Received: from choochoo.ultranet.com ([146.115.254.62] helo=beta.siege-engine.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16q1u2-0000Tk-00; Tue, 26 Mar 2002 20:07:03 -0500 Original-Received: (from zappo@localhost) by beta.siege-engine.com (8.11.6/8.11.2) id g2R16ps21992; Tue, 26 Mar 2002 20:06:51 -0500 Original-To: rms@gnu.org In-Reply-To: <200203262318.g2QNINB08226@aztec.santafe.edu> (message from Richard Stallman on Tue, 26 Mar 2002 16:18:23 -0700 (MST)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2226 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2226 Hi, This patch should fix it. The patch is against my working version of speedbar, but the function it patches has not changed. speedbar.el (speedbar-default-directory-list): Made robust against deleted directories. Enjoy Eric *** speedbar.el.~1.219.~ Fri Mar 22 15:50:54 2002 --- speedbar.el Tue Mar 26 19:59:20 2002 *************** *** 2013,2020 **** (if (looking-at "[0-9]+:[ ]*<") (progn (goto-char (match-end 0)) ! (speedbar-do-function-pointer))) ! (setq sf (cdr sf))))) ))) ;;; Generic List support ;; --- 2013,2020 ---- (if (looking-at "[0-9]+:[ ]*<") (progn (goto-char (match-end 0)) ! (speedbar-do-function-pointer))))) ! (setq sf (cdr sf))) ))) ;;; Generic List support ;; >>> Richard Stallman seems to think that: >He says this still happens in the latest CVS sources. >Could you please take a look at the problem? > > >Message-Id: <200203191411.g2JEBgQ05041@dhcp70-196.zurich.ibm.com> >From: Claudio Favi >To: bug-gnu-emacs@gnu.org >Subject: speedbar refresh hangs emacs when visited directory is deleted >Sender: bug-gnu-emacs-admin@gnu.org >Errors-To: bug-gnu-emacs-admin@gnu.org >X-BeenThere: bug-gnu-emacs@gnu.org >X-Mailman-Version: 2.0.5 >Precedence: bulk >List-Help: >List-Post: >List-Subscribe: , > >List-Id: Bug reports for GNU Emacs, > the Swiss army knife of text editors >List-Unsubscribe: , > >List-Archive: >Date: Tue, 19 Mar 2002 15:11:42 +0100 >Content-Type: text >Content-Length: 1492 > >This bug report will be sent to the Free Software Foundation, > not to your local site managers!! >Please write in English, because the Emacs maintainers do not have >translators to read other languages for them. > >In GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit) > of Fri Mar 16 2001 on porky.devel.redhat.com >configured using `configure --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr --libexecdir=/usr/lib --sharedstatedir=/var --with-gcc --with-pop --with-x-toolkit i386-redhat-linux-gnu' > >Please describe exactly what actions triggered the bug >and the precise symptoms of the bug: > >this is what happens: > start emacs; start speedbar > visit a directory with the speedbar (by clicking on the + signs); > now in a terminal erase that directory; > go back to the speedbar and refresh it; > emacs hangs and i get 100% CPU utilization. > >that's it, it's that much of a bug. >have a nice day >Claudio > > >Recent input: >menu-bar help-menu report-emacs-bug > >Recent messages: >Loading font-lock... >Loading regexp-opt... >Loading regexp-opt...done >Loading font-lock...done >For information about the GNU Project and its goals, type C-h C-p. >Fontifying *scratch*... >Fontifying *scratch*... (regexps............) >For information about the GNU Project and its goals, type C-h C-p. >Loading emacsbug... >Loading emacsbug...done > >_______________________________________________ >Bug-gnu-emacs mailing list >Bug-gnu-emacs@gnu.org >http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs > -- Eric Ludlam: zappo@gnu.org, eric@siege-engine.com Home: www.ultranet.com/~zappo Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel