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 12:46:32 +0200 Message-ID: <83k2yatypj.fsf@gnu.org> References: <5505E34C.4000106@dancol.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> <83zj77vh87.fsf@gnu.org> <550C7AD1.4080806@gmx.at> <83egojv02r.fsf@gnu.org> <83a8z6vlyn.fsf@gnu.org> <550D4100.6030500@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426934822 9879 80.91.229.3 (21 Mar 2015 10:47:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2015 10:47:02 +0000 (UTC) Cc: dancol@dancol.org, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 21 11:46:55 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 1YZGvY-0002yz-Ql for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 11:46:48 +0100 Original-Received: from localhost ([::1]:47400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZGvY-0008IK-9e for ged-emacs-devel@m.gmane.org; Sat, 21 Mar 2015 06:46:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZGvQ-0008Ho-71 for emacs-devel@gnu.org; Sat, 21 Mar 2015 06:46:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZGvL-0000xh-Ab for emacs-devel@gnu.org; Sat, 21 Mar 2015 06:46:40 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:41263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZGvK-0000xZ-HY for emacs-devel@gnu.org; Sat, 21 Mar 2015 06:46:35 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NLK00E005NQKZ00@mtaout27.012.net.il> for emacs-devel@gnu.org; Sat, 21 Mar 2015 12:41:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLK009CT5OSLB40@mtaout27.012.net.il>; Sat, 21 Mar 2015 12:41:16 +0200 (IST) In-reply-to: <550D4100.6030500@gmx.at> 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:184085 Archived-At: > Date: Sat, 21 Mar 2015 10:59:28 +0100 > From: martin rudalics > CC: dancol@dancol.org, emacs-devel@gnu.org > > > This will only work if pre-redisplay-function is called in a way that > > guarantees it will catch the position of point after the previous > > command. > > This command, I presume. The command that preceded redisplay. "This command" is ambiguous. > > Another, related, requirement is that we never call > > pre-redisplay-function when point is in a position that is not > > supposed to be visible by the user. > > Do you mean invisible text here? No, I mean positions traversed while "this command" is executed. The position shown to the user is the last one of those, but how do we ensure that pre-redisplay-function is never run for those?