[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[1]: speedbar refresh hangs emacs when visited directory is deleted
From: |
Eric M. Ludlam |
Subject: |
Re[1]: speedbar refresh hangs emacs when visited directory is deleted |
Date: |
Tue, 26 Mar 2002 20:06:51 -0500 |
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 <address@hidden> 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: <address@hidden>
>From: Claudio Favi <address@hidden>
>To: address@hidden
>Subject: speedbar refresh hangs emacs when visited directory is deleted
>Sender: address@hidden
>Errors-To: address@hidden
>X-BeenThere: address@hidden
>X-Mailman-Version: 2.0.5
>Precedence: bulk
>List-Help: <mailto:address@hidden>
>List-Post: <mailto:address@hidden>
>List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
> <mailto:address@hidden>
>List-Id: Bug reports for GNU Emacs,
> the Swiss army knife of text editors <bug-gnu-emacs.gnu.org>
>List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
> <mailto:address@hidden>
>List-Archive: <http://mail.gnu.org/pipermail/bug-gnu-emacs/>
>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
>address@hidden
>http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
>
--
Eric Ludlam: address@hidden, address@hidden
Home: www.ultranet.com/~zappo Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org