all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: David.Kastrup@t-online.de, emacs-devel@gnu.org, gerd@gnu.org
Subject: Re: Mouse highlighting occurs only after movements
Date: 27 Oct 2002 01:16:00 +0200	[thread overview]
Message-ID: <5x1y6cdc5r.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <E185XLf-0002TT-00@fencepost.gnu.org>

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

  reply	other threads:[~2002-10-26 23:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2002-10-27  0:55     ` 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

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

  git send-email \
    --in-reply-to=5x1y6cdc5r.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=David.Kastrup@t-online.de \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@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.