From: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: [drew.adams@oracle.com: RE: moving overlay loses its priority?]
Date: Sun, 20 Aug 2006 12:40:59 -0400 [thread overview]
Message-ID: <87ac5zicmc.fsf@furball.mit.edu> (raw)
In-Reply-To: <E1GChzj-0002py-CJ@fencepost.gnu.org> (Richard Stallman's message of "Mon, 14 Aug 2006 15:21:03 -0400")
Richard Stallman <rms@gnu.org> writes:
> Would someone please DTRT and ack?
The original bug report is to complicated to work with, but the basic
problem (as noted by Kim Storm) is that inside a `track-mouse' form,
`read-event' is not returning mouse motion events if there is a
`help-echo' text property present (NOT `mouse-face' as mistakenly
stated in a previous thread).
I suspect the problem lies in note_mouse_movement in xterm.c, and that
it is related to the "tooltip frame" problems in that code that we
dealt with about a year ago.
Here is a simple way to reproduce the problem.
;; F2 to create the test buffer, then F3 to report mouse movements
(global-set-key [f2] 'test-mouse-track)
(global-set-key [f3] 'report-mouse-movements)
(defun test-mouse-track ()
(interactive)
(with-output-to-temp-buffer "Foo"
(set-buffer "Foo")
(erase-buffer)
(insert (propertize "Mouse tracking is stuck here"
'help-echo "mouse-2: select this buffer"))))
(defun report-mouse-movements ()
(interactive)
(let (done read)
(track-mouse
(while (not done)
(setq read (read-event))
(if (eq (car-safe read) 'mouse-1)
(setq done t)
(message "%s" (prin1-to-string read)))))))
next prev parent reply other threads:[~2006-08-20 16:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 19:21 [drew.adams@oracle.com: RE: moving overlay loses its priority?] Richard Stallman
2006-08-20 16:40 ` Chong Yidong [this message]
2006-08-20 18:04 ` Chong Yidong
2006-08-20 21:05 ` Kim F. Storm
2006-08-21 11:13 ` Richard Stallman
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=87ac5zicmc.fsf@furball.mit.edu \
--to=cyd@stupidchicken.com \
--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 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.