From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Can we make set_point_both less expensive? Date: Sun, 22 Mar 2015 05:34:35 +0200 Message-ID: <83wq29so1g.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426995314 13625 80.91.229.3 (22 Mar 2015 03:35:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2015 03:35:14 +0000 (UTC) Cc: rudalics@gmx.at, dancol@dancol.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 22 04:35:04 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 1YZWfG-0007DQ-If for ged-emacs-devel@m.gmane.org; Sun, 22 Mar 2015 04:35:02 +0100 Original-Received: from localhost ([::1]:49726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZWfF-00054e-TR for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 23:35:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZWfB-00054H-KW for emacs-devel@gnu.org; Sat, 21 Mar 2015 23:34:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZWf8-0006xR-EZ for emacs-devel@gnu.org; Sat, 21 Mar 2015 23:34:57 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:59270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZWf8-0006wf-6y for emacs-devel@gnu.org; Sat, 21 Mar 2015 23:34:54 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NLL00100G90DR00@mtaout27.012.net.il> for emacs-devel@gnu.org; Sun, 22 Mar 2015 05:29:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLL00J99GDCAL60@mtaout27.012.net.il>; Sun, 22 Mar 2015 05:29:36 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.183 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:184113 Archived-At: > From: Stefan Monnier > Cc: rudalics@gmx.at, dancol@dancol.org, emacs-devel@gnu.org > Date: Sat, 21 Mar 2015 18:12:08 -0400 > > >> > 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". No, it's "during 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? It can't.