unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Subject: Re: Proposal: Only highlight mouse-face when mouse is moved
Date: 14 Feb 2002 10:58:33 +0100	[thread overview]
Message-ID: <5xheoke65y.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <200202140312.g1E3Cxc09227@aztec.santafe.edu>

Richard Stallman <rms@gnu.org> writes:

>     I am getting pretty tired of arbitrary text getting highlighted, e.g.
>     after splitting windows, just because there happens to be some text
>     with the mouse-face at the place where mouse cursor happens to be.
> 
> That seems correct to me.  The highlighting says the mouse is over
> a sensitive area.

Ok, but try this (as an extreme example):

  $ emacs -q

  RET

  [you are now in *scratch*]

  global-map C-j

  [move the mouse into the output from this command]

  [the output is highlighted]

  [move the mouse out of the output from this command]

  [the output is no longer highlighted]

  C-x b RET

  [switches to  *Messages* or some other buffer]

  [... suppose you worked on that buffer for some time]
  [... part of this work included using the mouse     ]
  [... pretend the mouse happens to be left in the 

  [move the mouse approx. 1/3rd from the top of the window]

  C-x b RET

  [switches back to the *scratch* buffer]

  [Now, half your screen is highlighted -- because that is where
   you "happened to" leave the mouse in the previous buffer you
   worked in.]


> 
>     It seems fairly easy to me to keep track of whether the last event
>     was a mouse movement, and only try to display the mouse face in
>     that case.
> 
> It might be easy, but I don't think it is correct.

There could be an option to change the behavoir -- including
turning off mouse-highlight entirely (as has been requested
in recent mails on gnu.emacs.bug).

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-14  9:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13 11:15 Proposal: Only highlight mouse-face when mouse is moved Kim F. Storm
2002-02-13 17:18 ` Eli Zaretskii
2002-02-13 19:55   ` Jason Rumney
2002-02-13 21:11     ` Kim F. Storm
2002-02-14 12:46       ` Richard Stallman
2002-02-14 23:40         ` Kim F. Storm
2002-02-15  8:32           ` Kim F. Storm
2002-02-16 21:55             ` Richard Stallman
2002-02-14 10:07     ` Eli Zaretskii
2002-02-14 19:04       ` Jason Rumney
2002-02-14  3:12 ` Richard Stallman
2002-02-14  9:58   ` Kim F. Storm [this message]
2002-02-15 10:36     ` Richard Stallman
2002-02-15 12:44       ` Eli Zaretskii
2002-02-15 13:23         ` Kim F. Storm
2002-02-15 13:33           ` Eli Zaretskii
2002-02-15 22:27             ` Kim F. Storm
2002-02-16 19:41               ` Eli Zaretskii
2002-02-16 21:56             ` Richard Stallman
2002-02-17  8:56               ` Eli Zaretskii
2002-02-17 22:50                 ` Richard Stallman
2002-02-17  0:39       ` Kim F. Storm
2002-02-14 22:20   ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=5xheoke65y.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    /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 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).