unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* speedbar refresh hangs emacs when visited directory is deleted
@ 2002-03-26 23:18 Richard Stallman
  2002-03-27  1:06 ` Re[1]: " Eric M. Ludlam
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2002-03-26 23:18 UTC (permalink / raw)
  Cc: emacs-devel

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 <clf@zurich.ibm.com>
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: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
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:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
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
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


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

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

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 <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?
>
>
>Message-Id: <200203191411.g2JEBgQ05041@dhcp70-196.zurich.ibm.com>
>From: Claudio Favi <clf@zurich.ibm.com>
>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: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
>List-Post: <mailto:bug-gnu-emacs@gnu.org>
>List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs>,
>	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
>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:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
>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
>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


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

* 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; 5+ 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] 5+ messages in thread

* 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
  2002-03-29 18:27   ` Re[2]: " Eric M. Ludlam
  0 siblings, 1 reply; 5+ 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] 5+ 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; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-26 23:18 speedbar refresh hangs emacs when visited directory is deleted Richard Stallman
2002-03-27  1:06 ` Re[1]: " Eric M. Ludlam
  -- strict thread matches above, loose matches on Subject: below --
2002-03-28 15:53 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).