From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5766: 23.1.94; invisible pointer still highlights text Date: Tue, 30 Mar 2010 19:32:32 +0200 Message-ID: <4BB235B0.5060905@swipnet.se> References: <20100324101053.0996812587.qww314159@motoko.argon.local> <4BB1D252.3010200@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269971790 21832 80.91.229.12 (30 Mar 2010 17:56:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 17:56:30 +0000 (UTC) Cc: Jay Berkenbilt , 5766-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 19:56:24 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nwffp-00046J-2E for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 19:56:21 +0200 Original-Received: from localhost ([127.0.0.1]:53609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nwffo-0007p5-Iz for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 13:56:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwffQ-0007ck-4R for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 13:55:56 -0400 Original-Received: from [140.186.70.92] (port=49322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwffO-0007bY-HP for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 13:55:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwffM-0008Bk-Op for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 13:55:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60318) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwffM-0008Bg-N5 for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 13:55:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NwfJG-00031z-0B for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 13:33:02 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Mar 2010 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org Mail-Followup-To: 5766@debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= X-GNU-PR-Message: cc-closed 5766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5766-done@debbugs.gnu.org id=D5766.126997036211643 (code D ref 5766); Tue, 30 Mar 2010 17:33:01 +0000 Original-Received: (at 5766-done) by debbugs.gnu.org; 30 Mar 2010 17:32:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwfIv-00031k-Kz for submit@debbugs.gnu.org; Tue, 30 Mar 2010 13:32:42 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwfIt-00031c-KQ for 5766-done@debbugs.gnu.org; Tue, 30 Mar 2010 13:32:40 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 2B064EAEF3 for <5766-done@debbugs.gnu.org>; Tue, 30 Mar 2010 19:32:33 +0200 (CEST) X-SENDER-IP: [85.225.45.110] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar86ALrRsUtV4S1uPGdsb2JhbACHZJNJDAEBAQE1LcBQhQAE X-IronPort-AV: E=Sophos;i="4.51,335,1267398000"; d="scan'208";a="57645058" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 30 Mar 2010 19:32:33 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id CD7FB7FA01A; Tue, 30 Mar 2010 19:32:32 +0200 (CEST) User-Agent: Thunderbird 2.0.0.24 (X11/20100317) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Mar 2010 13:33:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35818 Archived-At: Stefan Monnier skrev: >>> 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. ] It was added in July, there was some discussion about it in emacs-devel. > The `if' should be combined with the subsequent one, but other than that > I think it's OK to install for Emacs-23.2. > Ok, checked in to the emacs-23 branch. Jan D.