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: Mon, 16 Mar 2015 20:05:35 +0200 Message-ID: <83vbi0zukw.fsf@gnu.org> References: <5505E34C.4000106@dancol.org> <838uex1u1m.fsf@gnu.org> <8361a029p2.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426529189 15219 80.91.229.3 (16 Mar 2015 18:06:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 18:06:29 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 16 19:06: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 1YXZP0-0004RX-26 for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 19:06:10 +0100 Original-Received: from localhost ([::1]:50984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZOz-0001Qg-C5 for ged-emacs-devel@m.gmane.org; Mon, 16 Mar 2015 14:06:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZOj-0001Md-7G for emacs-devel@gnu.org; Mon, 16 Mar 2015 14:05:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXZOg-0000UB-0f for emacs-devel@gnu.org; Mon, 16 Mar 2015 14:05:53 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXZOf-0000U3-OH for emacs-devel@gnu.org; Mon, 16 Mar 2015 14:05:49 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NLB00900GUYJ900@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 16 Mar 2015 20:05:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLB00939GXN4SC0@a-mtaout20.012.net.il>; Mon, 16 Mar 2015 20:05:48 +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.166 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:183917 Archived-At: > From: Stefan Monnier > Cc: dancol@dancol.org, emacs-devel@gnu.org > Date: Mon, 16 Mar 2015 13:36:40 -0400 > > >> what users of those features normally want is to catch movement of > >> the cursor > > You mean, we should do this in redisplay? > > Probably in pre-redisplay-hook or in pre/post-command-hook, yes. That contradicts the "catch movement of cursor" idea: redisplay could well move point from where it is found before redisplay, as you know.