unofficial mirror of emacs-devel@gnu.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

* Re: speedbar refresh hangs emacs when visited directory is deleted
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2002-03-29 17:46 UTC (permalink / raw)
  Cc: clf, emacs-devel

I installed the fix.  Thanks.

      This patch should fix it.  The patch is against my working version
    of speedbar, but the function it patches has not changed.

Does this mean you have more changes to install in Speedbar?
If so, what are you waiting for?

_______________________________________________
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

* Re[2]: speedbar refresh hangs emacs when visited directory is deleted
  2002-03-29 17:46 ` Richard Stallman
@ 2002-03-29 18:27   ` Eric M. Ludlam
  2002-03-31  1:25     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Eric M. Ludlam @ 2002-03-29 18:27 UTC (permalink / raw)
  Cc: clf, emacs-devel

>>> Richard Stallman <rms@gnu.org> seems to think that:
>I installed the fix.  Thanks.
>
>      This patch should fix it.  The patch is against my working version
>    of speedbar, but the function it patches has not changed.
>
>Does this mean you have more changes to install in Speedbar?
>If so, what are you waiting for?

I need to send you papers from my company each time I do a merge, so I
try to be careful that everything is quite stable between my multiple
projects so I only have to deal with one bit of paper work at a time.

Eric

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

* Re: speedbar refresh hangs emacs when visited directory is deleted
  2002-03-29 18:27   ` Re[2]: " Eric M. Ludlam
@ 2002-03-31  1:25     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2002-03-31  1:25 UTC (permalink / raw)
  Cc: clf, emacs-devel

    I need to send you papers from my company each time I do a merge, so I
    try to be careful that everything is quite stable between my multiple
    projects so I only have to deal with one bit of paper work at a time.

That makes sense.

_______________________________________________
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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).