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: Speed of keyboard macro execution? Date: Thu, 10 Dec 2015 22:00:05 +0200 Message-ID: <837fkm9ire.fsf@gnu.org> References: <20151209163954.0cefcc7f@jabberwock.cb.piermont.com> <87si3bcltu.fsf@isaac.fritz.box> <20151209180343.5a67c0e7@jabberwock.cb.piermont.com> <83r3iu9rvp.fsf@gnu.org> <20151210120051.6be8201f@jabberwock.cb.piermont.com> <87k2omciy2.fsf@isaac.fritz.box> <20151210123312.39c417c9@jabberwock.cb.piermont.com> <83lh929omw.fsf@gnu.org> <87k2omta6x.fsf@fencepost.gnu.org> <83d1ue9lns.fsf@gnu.org> <87fuzat7ot.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1449777682 13580 80.91.229.3 (10 Dec 2015 20:01:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Dec 2015 20:01:22 +0000 (UTC) Cc: perry@piermont.com, deng@randomsample.de, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 10 21:01:13 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 1a77Oq-00020b-Dw for ged-emacs-devel@m.gmane.org; Thu, 10 Dec 2015 21:01:12 +0100 Original-Received: from localhost ([::1]:44207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a77Op-0000jD-Vh for ged-emacs-devel@m.gmane.org; Thu, 10 Dec 2015 15:01:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a77Oc-0000ij-S7 for emacs-devel@gnu.org; Thu, 10 Dec 2015 15:00:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a77Ob-000890-Qx for emacs-devel@gnu.org; Thu, 10 Dec 2015 15:00:58 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:57145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a77OX-000888-Ub; Thu, 10 Dec 2015 15:00:54 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NZ500000RB8DS00@mtaout28.012.net.il>; Thu, 10 Dec 2015 21:59:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NZ500KPJRIOU240@mtaout28.012.net.il>; Thu, 10 Dec 2015 21:59:12 +0200 (IST) In-reply-to: <87fuzat7ot.fsf@fencepost.gnu.org> 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.184 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:196055 Archived-At: > From: David Kastrup > Cc: emacs-devel@gnu.org, deng@randomsample.de, perry@piermont.com > Date: Thu, 10 Dec 2015 20:38:58 +0100 > > >> Tying the operation of keyboard macros to the current display/font > >> selection is just meaningless. Its purpose is for _aiming_ positioning > >> by keyboard, and that's just not useful at keyboard replay. > > > > I think it depends on the keyboard macro. The ones I saw in that demo > > did move point, moreover they moved it to the end of a very long line, > > so both the actual redisplay and its simulation were at work, > > including auto-hscroll. > > So how did line-move-visual accomplish anything useful here? One example is vertical-motion, and many commands that call it. E.g., if the macro invokes C-n. > > In any case, keyboard macros are not relevant to the discussion > > (contrary to the subject line). The issue is slow redisplay with long > > lines. > > Which occured during keyboard macro execution due to line-move-visual > being active. No, not necessarily. Rather, the original issue with keyboard macros is just one of the scenarios that brings the broader problem to light, if the macro invokes one of the affected commands. > So I think it would make excellent sense to disable visual positioning > modes while recording and replaying keyboard macros. No, I think you are wrong. Think C-n and C-p again.