unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@RUM.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Shall menu_bar_items and tool_bar_items look at text property keymaps?
Date: Wed, 13 Feb 2002 11:52:45 -0500	[thread overview]
Message-ID: <200202131652.g1DGqju12594@rum.cs.yale.edu> (raw)
In-Reply-To: 5x8z9yfdvz.fsf@kfs2.cua.dk

> 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


  reply	other threads:[~2002-02-13 16:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200202131652.g1DGqju12594@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).