From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5766: 23.1.94; invisible pointer still highlights text Date: Tue, 30 Mar 2010 11:04:13 -0400 Message-ID: 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=us-ascii X-Trace: dough.gmane.org 1269962754 17048 80.91.229.12 (30 Mar 2010 15:25:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 30 Mar 2010 15:25:54 +0000 (UTC) Cc: Jay Berkenbilt , 5766@debbugs.gnu.org To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 30 17:25:50 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 1NwdK9-0002DF-T5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 17:25:50 +0200 Original-Received: from localhost ([127.0.0.1]:39733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwdK9-0002Wl-7g for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Mar 2010 11:25:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwdK5-0002We-QA for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 11:25:45 -0400 Original-Received: from [140.186.70.92] (port=34723 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwdK0-0002WR-1h for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 11:25:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwdJy-0001we-H1 for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 11:25:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60269) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwdJy-0001wS-Dk for bug-gnu-emacs@gnu.org; Tue, 30 Mar 2010 11:25:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nwd02-0001mJ-Go; Tue, 30 Mar 2010 11:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Mar 2010 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5766-submit@debbugs.gnu.org id=B5766.12699614636824 (code B ref 5766); Tue, 30 Mar 2010 15:05:02 +0000 Original-Received: (at 5766) by debbugs.gnu.org; 30 Mar 2010 15:04:23 +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 1NwczP-0001m1-Gj for submit@debbugs.gnu.org; Tue, 30 Mar 2010 11:04:23 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwczN-0001lv-DQ for 5766@debbugs.gnu.org; Tue, 30 Mar 2010 11:04:21 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o2UF4DRD028259; Tue, 30 Mar 2010 11:04:14 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 77F933A0F4; Tue, 30 Mar 2010 11:04:13 -0400 (EDT) In-Reply-To: <4BB1D252.3010200@swipnet.se> (Jan D.'s message of "Tue, 30 Mar 2010 12:28:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3501=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 30 Mar 2010 11:05: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:35811 Archived-At: >> 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