From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Proposal: Only highlight mouse-face when mouse is moved Date: 14 Feb 2002 10:58:33 +0100 Message-ID: <5xheoke65y.fsf@kfs2.cua.dk> References: <5x7kph8wer.fsf@kfs2.cua.dk> <200202140312.g1E3Cxc09227@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013681515 29091 195.204.10.66 (14 Feb 2002 10:11:55 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 14 Feb 2002 10:11:55 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16bIrq-0007Z7-00 for ; Thu, 14 Feb 2002 11:11:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16bIgc-0004QR-00; Thu, 14 Feb 2002 05:00:18 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16bIds-0004IM-00 for ; Thu, 14 Feb 2002 04:57:28 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id F17A97C048 for ; Thu, 14 Feb 2002 09:57:23 +0000 (GMT) Original-To: emacs-devel@gnu.org In-Reply-To: <200202140312.g1E3Cxc09227@aztec.santafe.edu> Original-Lines: 59 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1120 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1120 Richard Stallman 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 http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel