GNU bug report logs - #2109
menu-bar-update-hook functions are unquittable

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Fri, 30 Jan 2009 03:30:02 UTC

Severity: normal

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2109 in the body.
You can then email your comments to 2109 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2109; Package emacs. (Fri, 30 Jan 2009 03:30:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: menu-bar-update-hook functions are unquittable
Date: Thu, 29 Jan 2009 22:18:58 -0500
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.)





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2109; Package emacs. (Sat, 31 Jan 2009 02:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 31 Jan 2009 02:05:05 GMT) Full text and rfc822 format available.

Message #8 received at 2109 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 2109 <at> debbugs.gnu.org
Subject: Re: bug#2109: menu-bar-update-hook functions are unquittable
Date: Fri, 30 Jan 2009 20:59:12 -0500
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




Tags added: wontfix Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. (Sat, 31 Jan 2009 02:05:06 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to Glenn Morris <rgm <at> gnu.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Mon, 02 Feb 2009 23:45:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Tue, 03 Mar 2009 15:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.