[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple runs of menu-bar-update-hook
From: |
Richard Stallman |
Subject: |
Re: Multiple runs of menu-bar-update-hook |
Date: |
Tue, 08 Aug 2006 14:02:13 -0400 |
Is this the kind of debugging you wanted - does it help?
It is the right kind, and it gives some useful info.
Now the question is, since it ran the hook inside update_menu_bar,
why did it run the hook again in set_frame_menubar?
Something near the start of that function must be setting deep_p
to nonzero. Can you see what it is, and why?
Earlier I made the point that Qmenu_bar_update_hook is already run when I
mouse-1 on the menu bar. I suggested that it seemed reasonable to run it at
that time and other specific times only (such as when switching buffers or
windows), rather than during redisplay. No-one came out and said it was mad
or stupid, so would dealing with the menu bar that way be better than
dealing with it during redisplay and fixing the existing code?
I don't like it. It makes new assumptions about what conditions
menu-bar-update-hook cares about.
- RE: Multiple runs of menu-bar-update-hook, Marshall, Simon, 2006/08/07
- RE: Multiple runs of menu-bar-update-hook, Marshall, Simon, 2006/08/09
- RE: Multiple runs of menu-bar-update-hook, Marshall, Simon, 2006/08/09
- RE: Multiple runs of menu-bar-update-hook, Marshall, Simon, 2006/08/10
- RE: Multiple runs of menu-bar-update-hook, Marshall, Simon, 2006/08/11
- RE: Multiple runs of menu-bar-update-hook, Marshall, Simon, 2006/08/14