From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Jan D." <jan.h.d@swipnet.se>
Cc: Jay Berkenbilt <ejb@ql.org>, 5766@debbugs.gnu.org
Subject: bug#5766: 23.1.94; invisible pointer still highlights text
Date: Tue, 30 Mar 2010 11:04:13 -0400 [thread overview]
Message-ID: <jwvzl1p97pb.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4BB1D252.3010200@swipnet.se> (Jan D.'s message of "Tue, 30 Mar 2010 12:28:34 +0200")
>> I like the new feature in 23.1.94 of having the mouse pointer turn
>> invisible when you are typing. However, if text is set to highlight
>> when the pointer is over it, this still occurs when the invisible
>> pointer is over something. This can be disorienting if you switch
>> contexts into a buffer that has this. For example, if you're typing
>> away and then switch to gnus, info, or any of the other many places
>> where there is mouse-selectable text, some seemingly random text on the
>> screen may be highlighted because the invisible cursor is over it. If
>> possible, it seems like any behavior triggered by the mouse pointer
>> being over something should be disabled when the mouse pointer is
>> invisible.
> I will shortly fix this in the trunk. Is this appropriate for 23.2 also
> (Stefan or Yidong)? Here's the patch:
> + if (f->pointer_invisible) return;
> +
> if (NILP (Vmouse_highlight)
> || !f->glyphs_initialized_p)
> return;
[ I didn't know about this feature. ]
The `if' should be combined with the subsequent one, but other than that
I think it's OK to install for Emacs-23.2.
Stefan
next prev parent reply other threads:[~2010-03-30 15:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 14:10 bug#5766: 23.1.94; invisible pointer still highlights text Jay Berkenbilt
2010-03-30 10:28 ` Jan D.
2010-03-30 15:04 ` Stefan Monnier [this message]
2010-03-30 17:32 ` Jan Djärv
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=jwvzl1p97pb.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=5766@debbugs.gnu.org \
--cc=ejb@ql.org \
--cc=jan.h.d@swipnet.se \
/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.