From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Shall menu_bar_items and tool_bar_items look at text property keymaps? Date: Wed, 13 Feb 2002 11:52:45 -0500 Message-ID: <200202131652.g1DGqju12594@rum.cs.yale.edu> References: <5x8z9yfdvz.fsf@kfs2.cua.dk> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013619956 15441 195.204.10.66 (13 Feb 2002 17:05:56 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 13 Feb 2002 17:05:56 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 16b2qx-00040x-00 for ; Wed, 13 Feb 2002 18:05:56 +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 16b2fi-0008Kq-00; Wed, 13 Feb 2002 11:54:18 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16b2eM-0008EN-00 for ; Wed, 13 Feb 2002 11:52:54 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g1DGqju12594; Wed, 13 Feb 2002 11:52:45 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: storm@cua.dk (Kim F. Storm) 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:1080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1080 > 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? > > I guess it makes sense in some specific cases that the menu bar or > tool bar changes dynamically depending on what kind of text is below > the cursor, but I was wondering whether it will actually work - as it > requires that the menu-bar and tool-bar are updated (or at least > checked for updates) every time the cursor moves... They are updated when they are activated (f.ex. when you click on the menubar to brinf down a menu), so it should work fine. Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel