From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: 23/NS: redraws according to mouse-face are slow Date: Wed, 06 May 2009 16:40:52 +0900 Organization: Faculty of Science, Chiba University Message-ID: 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> <87ab5rvds7.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1241595801 15988 80.91.229.12 (6 May 2009 07:43:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2009 07:43:21 +0000 (UTC) Cc: 2530@emacsbugs.donarmstrong.com, Ian Eure , David Reitter , Chong Yidong , Emacs-Devel devel , Adrian Robert To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 06 09:43:11 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 1M1bmX-0002dm-JT for ged-emacs-devel@m.gmane.org; Wed, 06 May 2009 09:43:09 +0200 Original-Received: from localhost ([127.0.0.1]:56733 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1bmX-0007vE-4c for ged-emacs-devel@m.gmane.org; Wed, 06 May 2009 03:43:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1bkZ-0006tk-7j for emacs-devel@gnu.org; Wed, 06 May 2009 03:41:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1bkT-0006qy-93 for emacs-devel@gnu.org; Wed, 06 May 2009 03:41:05 -0400 Original-Received: from [199.232.76.173] (port=60203 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1bkT-0006qu-5Q for emacs-devel@gnu.org; Wed, 06 May 2009 03:41:01 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:44135) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1bkS-0006wx-GA for emacs-devel@gnu.org; Wed, 06 May 2009 03:41:00 -0400 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1bkR-0006o4-4W for emacs-devel@gnu.org; Wed, 06 May 2009 03:40:59 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id D26B12C40; Wed, 6 May 2009 16:40:52 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-Detected-Operating-System: by mx20.gnu.org: NetBSD 3.0 (DF) 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:110716 Archived-At: >>>>> On Tue, 05 May 2009 21:47:04 -0400, Stefan Monnier said: >>> 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. > I think as long as this is guaranteed to only affect the NS port, we > can still install it before the release (assuming tests indicate it > does improve the behavior, and assuming we agree that it's the right > way to fix it). That introduces nesting in update_begin/end. We should avoid such a change at this stage. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp