unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Shall menu_bar_items and tool_bar_items look at text property keymaps?
@ 2002-02-13  0:01 Kim F. Storm
  2002-02-13 16:52 ` Stefan Monnier
  2002-02-14  3:12 ` Richard Stallman
  0 siblings, 2 replies; 9+ messages in thread
From: Kim F. Storm @ 2002-02-13  0:01 UTC (permalink / raw)



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 <storm@cua.dk> http://www.cua.dk


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-02-20 15:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-13  0:01 Shall menu_bar_items and tool_bar_items look at text property keymaps? Kim F. Storm
2002-02-13 16:52 ` Stefan Monnier
2002-02-13 21:26   ` Kim F. Storm
2002-02-14  3:12 ` Richard Stallman
2002-02-14  8:57   ` Kim F. Storm
2002-02-15 10:36     ` Richard Stallman
2002-02-15 11:39       ` Kim F. Storm
2002-02-16 21:56         ` Richard Stallman
2002-02-20 15:28           ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).