From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3459: NS: mouse-face flicker Date: Wed, 3 Jun 2009 12:37:19 -0400 Message-ID: Reply-To: David Reitter , 3459@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244048255 31559 80.91.229.12 (3 Jun 2009 16:57:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jun 2009 16:57:35 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 03 18:57:32 2009 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.50) id 1MBtmN-0002LP-Nx for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2009 18:57:32 +0200 Original-Received: from localhost ([127.0.0.1]:37719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBtmN-0004S5-4F for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2009 12:57:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBtmI-0004RU-1e for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 12:57:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBtmD-0004PV-Rl for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 12:57:25 -0400 Original-Received: from [199.232.76.173] (port=56389 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBtmC-0004PS-Na for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 12:57:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38651) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MBtmC-0005Tz-3i for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2009 12:57:20 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n53GvIel011757; Wed, 3 Jun 2009 09:57:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n53Gj3Rs009897; Wed, 3 Jun 2009 09:45:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: David Reitter Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 03 Jun 2009 16:45:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3459 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12440470519186 (code B ref -1); Wed, 03 Jun 2009 16:45:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 3 Jun 2009 16:37:31 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n53GbQIr009181 for ; Wed, 3 Jun 2009 09:37:28 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:51082) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MBtSw-0004v8-CO for emacs-pretest-bug@gnu.org; Wed, 03 Jun 2009 12:37:26 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MBtSv-0000wq-NU for emacs-pretest-bug@gnu.org; Wed, 03 Jun 2009 12:37:26 -0400 Original-Received: from mail-fx0-f217.google.com ([209.85.220.217]:37861) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBtSv-0000wa-AQ for emacs-pretest-bug@gnu.org; Wed, 03 Jun 2009 12:37:25 -0400 Original-Received: by fxm17 with SMTP id 17so121821fxm.42 for ; Wed, 03 Jun 2009 09:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=sl7hPrYplInMEdoZ0qFPHH0cFhbjaYxeEJOB2A7mXDc=; b=e0D0Q598xfZiTwxH11p7LNB1CXMvysboTkMT7ijvEWqhQ13beCrSZFoyuzPOFVE9S2 kHDa8CivRxBvxA5LC0+gRvqxQTXIML031paVIOZYhBPEacwWvEjmP41APmt/oDZCnIcy lsvnzCE0amQrPmvaNjsZXqEUw5Xo5t/+coCcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=ffw1TG6z8s28Y4gxsEXG0uh9B82hYOy/YSDRZI4/V8vSeSH51m7IQXkxIA0s2h6eOq l5cpVLD2Ut8M/DKHTxNhoZkOBYZY50XgtPXTIlMAkAcWJVyKqznOeKIPifzojoODkpMx 16npsaGpGC1Jz4owHW7kowsGD54YK1/O15Qq0= Original-Received: by 10.103.189.18 with SMTP id r18mr737626mup.80.1244047043233; Wed, 03 Jun 2009 09:37:23 -0700 (PDT) Original-Received: from CMU-276608.WV.CC.CMU.EDU (CMU-276608.WV.CC.CMU.EDU [128.237.252.131]) by mx.google.com with ESMTPS id j6sm5554497mue.31.2009.06.03.09.37.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 09:37:22 -0700 (PDT) X-Mailer: Apple Mail (2.935.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 03 Jun 2009 12:57:25 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:28459 gmane.emacs.pretest.bugs:24557 Archived-At: This happens only with the NS port, not on X: Emacs -Q (insert (propertize "Hello World" 'mouse-face 'highlight)) Hover mouse over the Hello World text. Nothing special should happen. Now select a region with the mouse or the keyboard. Hover mouse over mouseface text again ==> Heavy flicker; there is a visible, sequential removal and redraw of the highlighted text with every mouse movement. Diagnosis: I'm not sure, hence this report. One contributing factor is that we ns_flush() in ns_update_end(). However, this is not just due to nested updates, and just adding ns_update calls in note_mouse_highlight alonedoesn't seem to help, at least when transient-mark-mode is on.