From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: 23/NS: redraws according to mouse-face are slow Date: Tue, 05 May 2009 10:13:12 -0400 Message-ID: <87ab5rvds7.fsf@cyd.mit.edu> References: <4383E9F6-9B66-4DA4-AA3C-D602EB059B97@gmail.com> <139B721E-A1B4-4256-B202-D4472C0331FB@gmail.com> <87d4aowc1l.fsf@cyd.mit.edu> <2E6E5869-2F70-4AF5-A917-7EA863D6BD42@gmail.com> <1ACB40A8-4422-4B9A-A0F7-FE0B9C738299@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241532810 4267 80.91.229.12 (5 May 2009 14:13:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2009 14:13:30 +0000 (UTC) Cc: 2530@emacsbugs.donarmstrong.com, David Reitter , Ian Eure , \, Emacs-Devel devel To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 05 16:13:21 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M1LOa-000806-Hj for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 16:13:20 +0200 Original-Received: from localhost ([127.0.0.1]:36240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1LOZ-0000Vx-SB for ged-emacs-devel@m.gmane.org; Tue, 05 May 2009 10:13:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1LOU-0000SS-21 for emacs-devel@gnu.org; Tue, 05 May 2009 10:13:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1LOP-0000G6-1M for emacs-devel@gnu.org; Tue, 05 May 2009 10:13:13 -0400 Original-Received: from [199.232.76.173] (port=53976 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1LOO-0000Ft-To for emacs-devel@gnu.org; Tue, 05 May 2009 10:13:08 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:52143) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1LOO-0005T8-IW for emacs-devel@gnu.org; Tue, 05 May 2009 10:13:08 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 531CC57E24B; Tue, 5 May 2009 10:13:12 -0400 (EDT) In-Reply-To: <1ACB40A8-4422-4B9A-A0F7-FE0B9C738299@gmail.com> (Adrian Robert's message of "Tue, 5 May 2009 17:36:31 +0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110678 Archived-At: Adrian Robert writes: > That ns_update_begin() acheives the same effect suggests that perhaps > the core mouse face code should do this (through the RIF). Yes, show_mouse_face (or one of its callers) should probably call update_begin and update_end. But it's a little far along in the pretest to risk that. I'll make a note of revisiting this after the release. Could either your or David check in the nsterm.m fix, assuming no other problems turn up with it?