From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: menu-bar-update-hook performance problems Date: Tue, 04 Mar 2003 13:06:15 -0700 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E650737.9040405@ihs.com> References: <87llzws4wz.fsf@nodewarrior.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1046809123 2986 80.91.224.249 (4 Mar 2003 20:18:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Mar 2003 20:18:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 04 21:18:42 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qIr5-0000hS-00 for ; Tue, 04 Mar 2003 21:17:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18qIoO-0006UI-04 for gnu-help-gnu-emacs@m.gmane.org; Tue, 04 Mar 2003 15:14:52 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: fu-berlin.de 1046808372 61291438 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:110812 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7309 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7309 Dan Debertin wrote: > 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. Does `M-x apropos-value RET menu-bar-update-hook RET' reveal anything? -- Kevin Rodgers