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: Sat, 21 Mar 2015 16:47:52 +0200 Message-ID: <838ueqtnjb.fsf@gnu.org> References: <5505E34C.4000106@dancol.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> <83zj77vh87.fsf@gnu.org> <550C7AD1.4080806@gmx.at> <83egojv02r.fsf@gnu.org> <83a8z6vlyn.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426949304 28344 80.91.229.3 (21 Mar 2015 14:48:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2015 14:48:24 +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 Sat Mar 21 15:48:14 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 1YZKh7-0000rd-S8 for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 15:48:10 +0100 Original-Received: from localhost ([::1]:48007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZKh6-0003Co-TB for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 10:48:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZKh2-0003CW-LX for emacs-devel@gnu.org; Sat, 21 Mar 2015 10:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZKgz-00013U-Ey for emacs-devel@gnu.org; Sat, 21 Mar 2015 10:48:04 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:45114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZKgz-00013K-7S for emacs-devel@gnu.org; Sat, 21 Mar 2015 10:48:01 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NLK00200GQMPE00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sat, 21 Mar 2015 16:47:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLK002C1H3YNW20@a-mtaout21.012.net.il>; Sat, 21 Mar 2015 16:47:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:184100 Archived-At: > From: Stefan Monnier > Cc: rudalics@gmx.at, dancol@dancol.org, emacs-devel@gnu.org > Date: Sat, 21 Mar 2015 10:35:10 -0400 > > BTW, I now remember that re-running pre-redisplay-function (and then > redisplay) is already implemented in xdisp.c. 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"? Or do you now understand the nature of my concerns? IOW, do you still think pre-redisplay-function is the place to put this logic of "cursor-intangible", or maybe there's a better place?