* Re: Mouse highlighting occurs only after movements [not found] <x5smyubzef.fsf@tupik.goethe.zz> @ 2002-10-26 20:15 ` Richard Stallman 2002-10-26 23:16 ` Kim F. Storm 0 siblings, 1 reply; 3+ messages in thread From: Richard Stallman @ 2002-10-26 20:15 UTC (permalink / raw) Cc: emacs-devel Had this in Gnus: if the mouse pointer is in a screen position where mouse highlighting would occur when the Gnus Summary buffer gets updated after a Gnus command, after the update the line which happened to pop up with the mouse highlit area right under the mouse pointer is not getting the mouse highlighting (only after the mouse pointer moves). I seem to recall adding a feature like that. People asked for it. The crazy thing is that if the cursor is blinking in the should-be-highlighted-but-is-not-yet area, it is blinking in green, while the rest of the line still looks ordinary B&W. I wonder if the code that redisplays the cursor checks the properties rather than the status of mouse highlighting. Can someone check that? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mouse highlighting occurs only after movements 2002-10-26 20:15 ` Mouse highlighting occurs only after movements Richard Stallman @ 2002-10-26 23:16 ` Kim F. Storm 2002-10-27 0:55 ` Kim F. Storm 0 siblings, 1 reply; 3+ messages in thread From: Kim F. Storm @ 2002-10-26 23:16 UTC (permalink / raw) Cc: David.Kastrup, emacs-devel, gerd Richard Stallman <rms@gnu.org> writes: > Had this in Gnus: if the mouse pointer is in a screen position where > mouse highlighting would occur when the Gnus Summary buffer gets > updated after a Gnus command, after the update the line which happened > to pop up with the mouse highlit area right under the mouse pointer is > not getting the mouse highlighting (only after the mouse pointer > moves). > > I seem to recall adding a feature like that. > People asked for it. Yes, I changed it so that setting `mouse-highlight' to 1 causes the mouse highlight to be shown only after actually moving the mouse. > > The crazy thing is that if the cursor is blinking in the > should-be-highlighted-but-is-not-yet area, it is blinking in green, > while the rest of the line still looks ordinary B&W. > > I wonder if the code that redisplays the cursor checks the properties > rather than the status of mouse highlighting. Can someone check that? It seems that if you place the mouse over a mouse sensitive area (which then gets highlighted), you then move the cursor (so the highlight disappears), and then moves the cursor into the mouse sensitive area, the characters that you move over gets highlighed with the mouse-highlight face. The blinking cursor anomaly is a special case of this... I don't think it a big issue though; it only happens when the cursor is moved with the keyboard into a mouse-sensitive area which the mouse happens to be hoovering over. Anyway, it is definitely an error in my original implementation -- I'll see if I can find a suitable fix... -- Kim F. Storm <storm@cua.dk> http://www.cua.dk ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Mouse highlighting occurs only after movements 2002-10-26 23:16 ` Kim F. Storm @ 2002-10-27 0:55 ` Kim F. Storm 0 siblings, 0 replies; 3+ messages in thread From: Kim F. Storm @ 2002-10-27 0:55 UTC (permalink / raw) Cc: David.Kastrup, emacs-devel, gerd storm@cua.dk (Kim F. Storm) writes: > I don't think it a big issue though; it only happens when the cursor > is moved with the keyboard into a mouse-sensitive area which the mouse > happens to be hoovering over. > > Anyway, it is definitely an error in my original implementation -- > I'll see if I can find a suitable fix... I just committed changes to the x, w32, msdos, and mac ports to fix this. However, I noticed the that mouse-highlight functionality isn't implemented on the MAC port! To add, look at the treatment of Vmouse_highlight in xterm.c or w32term.c for details. -- Kim F. Storm <storm@cua.dk> http://www.cua.dk ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-27 0:55 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <x5smyubzef.fsf@tupik.goethe.zz> 2002-10-26 20:15 ` Mouse highlighting occurs only after movements Richard Stallman 2002-10-26 23:16 ` Kim F. Storm 2002-10-27 0:55 ` 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).