unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2109: menu-bar-update-hook functions are unquittable
@ 2009-01-30  3:18 Glenn Morris
  2009-01-31  1:59 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2009-01-30  3:18 UTC (permalink / raw)
  To: bug-gnu-emacs


emacs -Q
(defun foo ()
  (while t))
(add-hook 'menu-bar-update-hook 'foo)

-> Emacs uses 100% CPU. C-g does not work and Emacs must be killed.


This is a problem if you have an imenu index function that misbehaves.
(For example, this is why bug#2106 is unquittable.)







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

* bug#2109: menu-bar-update-hook functions are unquittable
  2009-01-30  3:18 bug#2109: menu-bar-update-hook functions are unquittable Glenn Morris
@ 2009-01-31  1:59 ` Stefan Monnier
  2009-01-31  2:05   ` Processed: " Emacs bug Tracking System
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2009-01-31  1:59 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 2109

tag 2109 +wontfix
thanks

> emacs -Q
> (defun foo ()
>   (while t))
> (add-hook 'menu-bar-update-hook 'foo)

> -> Emacs uses 100% CPU. C-g does not work and Emacs must be killed.

Same thing happens with any inf-loop in a process filter, or in
a post-command-hook, or in a timer, or in a ...


        Stefan






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

* Processed: Re: bug#2109: menu-bar-update-hook functions are unquittable
  2009-01-31  1:59 ` Stefan Monnier
@ 2009-01-31  2:05   ` Emacs bug Tracking System
  0 siblings, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2009-01-31  2:05 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs Bugs

Processing commands for control@emacsbugs.donarmstrong.com:

> tag 2109 +wontfix
bug#2109: menu-bar-update-hook functions are unquittable
There were no tags set.
Tags added: wontfix

> thanks
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




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

end of thread, other threads:[~2009-01-31  2:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30  3:18 bug#2109: menu-bar-update-hook functions are unquittable Glenn Morris
2009-01-31  1:59 ` Stefan Monnier
2009-01-31  2:05   ` Processed: " Emacs bug Tracking System

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