From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Can we make set_point_both less expensive? Date: Fri, 20 Mar 2015 13:59:44 -0400 Message-ID: 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 X-Trace: ger.gmane.org 1426874420 5386 80.91.229.3 (20 Mar 2015 18:00:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2015 18:00:20 +0000 (UTC) Cc: Eli Zaretskii , dancol@dancol.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 20 19:00:11 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 1YZ1DK-0005eb-AB for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 19:00:06 +0100 Original-Received: from localhost ([::1]:45013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ1DJ-0008KR-LD for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 14:00:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ1D6-0008K8-7y for emacs-devel@gnu.org; Fri, 20 Mar 2015 13:59:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZ1D3-0000uk-26 for emacs-devel@gnu.org; Fri, 20 Mar 2015 13:59:52 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZ1D2-0000ue-Tm; Fri, 20 Mar 2015 13:59:48 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t2KHxiki004008; Fri, 20 Mar 2015 13:59:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3DEC9E57; Fri, 20 Mar 2015 13:59:44 -0400 (EDT) In-Reply-To: <550C3335.4070405@gmx.at> (martin rudalics's message of "Fri, 20 Mar 2015 15:48:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5251=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5251> : inlines <2454> : streams <1408711> : uri <1885719> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:184050 Archived-At: > I suppose we agree that when the entire window text is intangible, no > "classic" solution to this problem exists. Indeed. > 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. >> Implement a new `cursor-intangible' property, by having p-r-f move point >> away from text with that property. > Strictly spoken I see no reason why the display engine should not handle > that property by itself. It's complicated enough as it is. Stefan