emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: speedbar refresh hangs emacs when visited directory is deleted


From: Eric M. Ludlam
Subject: Re: speedbar refresh hangs emacs when visited directory is deleted
Date: Thu, 28 Mar 2002 10:53:39 -0500

>> 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?
>
[...]
>From: Claudio Favi <address@hidden>
>To: address@hidden
[...]
>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.

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
  ;;

-- 
          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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]