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: Sat, 21 Mar 2015 18:12:08 -0400 Message-ID: References: <5505E34C.4000106@dancol.org> <55092AE0.1080206@gmx.at> <5509CC67.5010207@gmx.at> <550A7FFB.7040502@gmx.at> <550BD579.9040804@gmx.at> <550C3335.4070405@gmx.at> <83zj77vh87.fsf@gnu.org> <550C7AD1.4080806@gmx.at> <83egojv02r.fsf@gnu.org> <83a8z6vlyn.fsf@gnu.org> <838ueqtnjb.fsf@gnu.org> <834mpetgri.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426975963 29131 80.91.229.3 (21 Mar 2015 22:12:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2015 22:12:43 +0000 (UTC) Cc: rudalics@gmx.at, dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 21 23:12:28 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 1YZRd5-0001kI-GZ for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 23:12:27 +0100 Original-Received: from localhost ([::1]:49104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZRd4-0000kR-Da for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 18:12:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZRd0-0000kH-LD for emacs-devel@gnu.org; Sat, 21 Mar 2015 18:12:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZRcw-00054U-LF for emacs-devel@gnu.org; Sat, 21 Mar 2015 18:12:22 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:57227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZRcw-00054M-GU; Sat, 21 Mar 2015 18:12:18 -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 t2LMC9Yd017198; Sat, 21 Mar 2015 18:12:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 61002EC1; Sat, 21 Mar 2015 18:12:08 -0400 (EDT) In-Reply-To: <834mpetgri.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Mar 2015 19:14:09 +0200") 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 RV5252=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5252> : inlines <2455> : streams <1409357> : uri <1886664> 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:184110 Archived-At: >> > So do you still claim that pre-redisplay-function is only run "before >> > redisplay", where "we can be sure the value of point is the one that >> > will be shown to the user"? >> Yes. > I don't see how you can say that, when you just said it will be run > elsewhere. AFAIK this "elsewhere" is still "before redisplay". >> > or maybe there's a better place? >> Like where? > Where we set the cursor, of course. What if it moves point outside the window? Stefan