From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Shall menu_bar_items and tool_bar_items look at text property keymaps? Date: Wed, 13 Feb 2002 20:12:18 -0700 (MST) Message-ID: <200202140312.g1E3CIH09137@aztec.santafe.edu> References: <5x8z9yfdvz.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013657319 12210 195.204.10.66 (14 Feb 2002 03:28:39 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 14 Feb 2002 03:28:39 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 16bCZa-0003Aq-00 for ; Thu, 14 Feb 2002 04:28:38 +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 16bCMn-0006Gp-00; Wed, 13 Feb 2002 22:15:25 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16bCJn-0005v8-00; Wed, 13 Feb 2002 22:12:19 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g1E3CIu16619; Wed, 13 Feb 2002 20:12:18 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1E3CIH09137; Wed, 13 Feb 2002 20:12:18 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-reply-to: <5x8z9yfdvz.fsf@kfs2.cua.dk> (storm@cua.dk) 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:1106 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1106 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. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel