From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Steve Yegge <stevey@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: supporting mouse-entered, mouse-left
Date: Fri, 31 Jul 2009 15:16:01 -0400 [thread overview]
Message-ID: <jwvd47gr7l5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <9c768dc60907310013o7226f1d5w4cde4c54b03eb474@mail.gmail.com> (Steve Yegge's message of "Fri, 31 Jul 2009 00:13:57 -0700")
> I would like to highlight certain identifiers (such as all uses
> of a particular local variable in a function) simultaneously
> when the mouse enters any of them.
> I've scoured the documentation, and I don't see a way to
> accomplish this feat.
You can probably do it via track-mouse, but it's likely not going to
satisfy your needs quite like you want to.
> Would it be reasonable to add mouse-entered and mouse-left
> properties analogous to point-entered and point-left?
That sounds reasonable, yes.
> Alternately (or in addition), it might be nice to have text
> properties analogous to the mouseenter, mouseleave and
> possibly mouseover standard browser events, which would
> fire at the granularity of pixels rather than characters.
For text, I'm not sure it's worth the trouble. For images, I believe we
do have something that goes in this direction (tho not for mouse
movement).
Another way might be to check for a `mouse-movement' binding on the
keymap under the mouse cursor.
Stefan
next prev parent reply other threads:[~2009-07-31 19:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-31 7:13 supporting mouse-entered, mouse-left Steve Yegge
2009-07-31 15:38 ` Drew Adams
2009-07-31 15:48 ` Steve Yegge
2009-07-31 16:48 ` Stephen J. Turnbull
2009-07-31 16:42 ` Drew Adams
2009-07-31 20:23 ` Drew Adams
2009-07-31 20:57 ` Steve Yegge
2009-08-01 0:56 ` Drew Adams
2009-08-01 5:52 ` Steve Yegge
2009-08-01 7:26 ` Drew Adams
2009-08-01 4:07 ` Stephen J. Turnbull
2009-08-01 6:04 ` Steve Yegge
2009-08-01 7:18 ` Stephen J. Turnbull
2009-07-31 19:16 ` Stefan Monnier [this message]
2009-07-31 22:05 ` Johan Bockgård
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd47gr7l5.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=stevey@google.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.