From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Shall menu_bar_items and tool_bar_items look at text property keymaps? Date: 13 Feb 2002 01:01:52 +0100 Message-ID: <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 1013559255 3482 195.204.10.66 (13 Feb 2002 00:14:15 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 13 Feb 2002 00:14:15 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16an3u-0000u4-00 for ; Wed, 13 Feb 2002 01:14:14 +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 16amtJ-0007m9-00; Tue, 12 Feb 2002 19:03:17 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16amqv-0007gW-00 for ; Tue, 12 Feb 2002 19:00:50 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id BCE647C035 for ; Wed, 13 Feb 2002 00:00:39 +0000 (GMT) Original-To: emacs-devel@gnu.org Original-Lines: 18 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:1054 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1054 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... It this is not done, the contents of the menu and tool bar will include or exclude some options seemingly at random - depending on where the cursor is the last time the menu or tool bar was updated... -- Kim F. Storm http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel