From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Shall menu_bar_items and tool_bar_items look at text property keymaps? Date: 14 Feb 2002 09:57:29 +0100 Message-ID: <5xvgd0e8zq.fsf@kfs2.cua.dk> References: <5x8z9yfdvz.fsf@kfs2.cua.dk> <200202140312.g1E3CIH09137@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013677739 26324 195.204.10.66 (14 Feb 2002 09:08:59 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 14 Feb 2002 09:08:59 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16bHsw-0006qU-00 for ; Thu, 14 Feb 2002 10:08:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16bHhZ-0007rn-00; Thu, 14 Feb 2002 03:57:13 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16bHgm-0007p5-00; Thu, 14 Feb 2002 03:56:24 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id DE3117C035; Thu, 14 Feb 2002 08:56:17 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: <200202140312.g1E3CIH09137@aztec.santafe.edu> Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1114 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1114 Richard Stallman writes: > I was looking at the above functions and wondered whether it really > makes sense for those functions to look for menu-bar and tool-bar > bindings in the keymap and local-map properties of PT in the current > buffer? > > This could cause a substantial slowdown if it means that Emacs > has to recompute the menus based on the current value of point. > The usefulness of the feature seems marginal, which suggests it > is better not to pay that price, better not to add that feature. I asked the question because those functions already DO LOOK for those bindings - but the rest of emacs doesn't call those functions often enough for the functionality to work anyway. Since it doesn't really work, I doubt anyone is actually using it. So my proposal is to remove the "look for keymaps at PT" from those functions. ++kfs _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel