all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: speedbar refresh hangs emacs when visited directory is deleted
@ 2002-03-28 15:53 Eric M. Ludlam
  2002-03-29 17:46 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Eric M. Ludlam @ 2002-03-28 15:53 UTC (permalink / raw)
  Cc: emacs-devel

>> Richard Stallman <rms@gnu.org> 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 <clf@zurich.ibm.com>
>To: bug-gnu-emacs@gnu.org
[...]
>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:                 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-03-31  1:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-28 15:53 speedbar refresh hangs emacs when visited directory is deleted Eric M. Ludlam
2002-03-29 17:46 ` Richard Stallman
2002-03-29 18:27   ` Re[2]: " Eric M. Ludlam
2002-03-31  1:25     ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.