all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* menu-bar-update-hook performance problems
@ 2003-03-03 18:04 Dan Debertin
  2003-03-03 20:04 ` Kai Großjohann
  2003-03-04 20:06 ` Kevin Rodgers
  0 siblings, 2 replies; 9+ messages in thread
From: Dan Debertin @ 2003-03-03 18:04 UTC (permalink / raw)



-- 
One of the extensions in my .emacs is causing performance problems,
but I'm having trouble figuring out which one it is. From everything
elp.el is telling me, menu-bar-update-hook is being called *way* too
many times a second, but I can't seem to find a way to tell what's
causing it to be called. One of these bits of information would get
me most of the way there:

o Under exactly what circumstances menu-bar-update-hook is called. A
    usenet search shows that some think it gets called too frequently,
    but I can't find any information in the elisp manual about it
    apart from "This normal hook is run whenever the user clicks on
    the menu bar, before displaying a submenu". I'm definitely not
    clicking on the menu-bar several times a second; in fact I'm not
    touching it at all.

o How to instrument built-in functions for Edebug, so I can get a
    backtrace and figure out what's calling 
    (run-hooks 'menu-bar-update-hook). The documentation says that 
    you have to re-evaluate the defun with C-u C-M-x, but I obviously 
    can't do that with built-ins. Right?

TIA,

Dan
--
/^Dan Debertin$/         |
airboss@nodewarrior.org  | 
www.nodewarrior.org      | 

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

end of thread, other threads:[~2003-03-10 19:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-03 18:04 menu-bar-update-hook performance problems Dan Debertin
2003-03-03 20:04 ` Kai Großjohann
2003-03-03 22:23   ` Dan Debertin
2003-03-04  8:07     ` Kai Großjohann
2003-03-04 15:44       ` Dan Debertin
2003-03-04 17:55         ` Kai Großjohann
2003-03-10 19:53     ` Stefan Monnier
2003-03-04  8:06   ` Kai Großjohann
2003-03-04 20:06 ` Kevin Rodgers

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.