From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Can we make set_point_both less expensive? Date: Fri, 20 Mar 2015 20:53:59 +0100 Message-ID: <550C7AD7.2010404@gmx.at> References: <5505E34C.4000106@dancol.org> <838uex1u1m.fsf@gnu.org> <8361a029p2.fsf@gnu.org> <83vbi0zukw.fsf@gnu.org> <55080104.9070606@gmx.at> <5508800E.3070600@gmx.at> <55092AE0.1080206@gmx.at> <5509CC67.5010207@gmx.at> <550A7FFB.7040502@gmx.at> <550BD579.9040804@gmx.at> <550C3335.4070405@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1426881300 28056 80.91.229.3 (20 Mar 2015 19:55:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2015 19:55:00 +0000 (UTC) Cc: Eli Zaretskii , dancol@dancol.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 20 20:54:51 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YZ30J-00006j-GC for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 20:54:47 +0100 Original-Received: from localhost ([::1]:45524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ30I-0002rd-Rf for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 15:54:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ2zq-0002YO-DC for emacs-devel@gnu.org; Fri, 20 Mar 2015 15:54:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZ2zn-00087D-JH for emacs-devel@gnu.org; Fri, 20 Mar 2015 15:54:18 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:50251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ2zn-000873-A9; Fri, 20 Mar 2015 15:54:15 -0400 Original-Received: from [188.22.44.177] ([188.22.44.177]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LguAU-1ZKyvx3R1a-00oJiy; Fri, 20 Mar 2015 20:54:07 +0100 In-Reply-To: X-Provags-ID: V03:K0:7/w8Pq6NB/iMGIrkr5ye3ojl2lV5JAUU5rOzxjhgRHB5M8PU3EJ pCIFWBpvpy5R+L6ytEDh6o3rz9AJvFsZvgVuSxpol4kpWexxCDfSEE/nUo3OOCG8S5qtqxv I7zQCSCewNotgeIxPGUjZoTHGi/OJrLs9GMDyHQho90Se0j+pv6PNAS13AjTvp1JZWL4vkB bCaa48KW0pfoBuX39jdew== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184054 Archived-At: >> Then the second incarnation of p-r-f will have to move the window's >> point to the start or end of the intangible area, whichever is nearer >> to the window point established by redisplay. Or do I miss something? > > More important than "nearer" would be "after window-start and before > window-end" to avoid inf-looping. Yes. As I said before: "Handling the intangible property makes IMO sense only after redisplay has determined the start/point/end positions of the window." > >> Strictly spoken I see no reason why the display engine should not handle >> that property by itself. > > It's complicated enough as it is. Maybe you're right. martin