From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Ye Wenbin" <wenbinye@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: What is the difference between down-mouse-3 and mouse-3
Date: Tue, 15 Apr 2008 10:45:52 -0400 [thread overview]
Message-ID: <jwvej97dvp3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <op.t9mxuxzc52p72k@ywb-laptop> (Ye Wenbin's message of "Tue, 15 Apr 2008 12:38:47 +0800")
> I wrote try to figure out how to set up mouse menu, after spending a lot of
> time to to figure out why no action preform when click submenu, I found that
> I should bind down-mouse-3 event rather than mouse-3 event. I can't find
> where is the difference mentioned in elisp manual. Is there any documents
> for the reason that submenu does not work for mouse-3 binding?
Don't know, it works for me (tried both with the trunk and with 22.1).
What do you mean by "does not work"?
This said, binding it to down-mouse-3 is *much* better so you can do
"press-button, select-entry, release-button".
Stefan
next prev parent reply other threads:[~2008-04-15 14:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 4:38 What is the difference between down-mouse-3 and mouse-3 Ye Wenbin
2008-04-15 14:45 ` Stefan Monnier [this message]
2008-04-15 15:06 ` Ye Wenbin
2008-04-15 17:37 ` Stefan Monnier
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=jwvej97dvp3.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=wenbinye@gmail.com \
/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).