From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls Date: Tue, 15 Jan 2013 21:15:38 +0200 Message-ID: <83obgq8dgl.fsf@gnu.org> References: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1358277337 19902 80.91.229.3 (15 Jan 2013 19:15:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 19:15:37 +0000 (UTC) Cc: r.zeitler@ieee.org, 13452@debbugs.gnu.org To: Raymond Zeitler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 15 20:15:52 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TvBzE-00055j-Df for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 20:15:52 +0100 Original-Received: from localhost ([::1]:54481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvByx-0007n7-Tx for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 14:15:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvByv-0007n1-0P for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 14:15:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvByt-0001OC-Of for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 14:15:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvByt-0001O6-Kw for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 14:15:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TvBzO-0006TH-6t for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 14:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jan 2013 19:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13452-submit@debbugs.gnu.org id=B13452.135827734524848 (code B ref 13452); Tue, 15 Jan 2013 19:16:02 +0000 Original-Received: (at 13452) by debbugs.gnu.org; 15 Jan 2013 19:15:45 +0000 Original-Received: from localhost ([127.0.0.1]:33784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvBz6-0006Sh-ND for submit@debbugs.gnu.org; Tue, 15 Jan 2013 14:15:45 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:36396) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvBz3-0006SY-U2 for 13452@debbugs.gnu.org; Tue, 15 Jan 2013 14:15:43 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MGO00400L8WNI00@a-mtaout20.012.net.il> for 13452@debbugs.gnu.org; Tue, 15 Jan 2013 21:15:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGO004K3LH47GD0@a-mtaout20.012.net.il>; Tue, 15 Jan 2013 21:15:04 +0200 (IST) In-reply-to: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69825 Archived-At: > From: Raymond Zeitler > Date: Tue, 15 Jan 2013 18:01:13 +0000 > Cc: "r.zeitler@ieee.org" > > Create a file with many more lines than the buffer can display at once. > In my test, the buffer has about 500 identical lines like this: > > 123456789 0123456789 01234567890 > > Then place Point at line 1 column 1. > > I recorded the keyboard macro that you see in Recent Input, which merely > moves point just past the first 9, then deletes it and puts an "x" in > its place for the first three lines. Then it puts a "y" for the next > three. Point is then moved to the start of the next line before the > macro is finished recording. > > Play back the macro a few dozen times. > > As Point keeps moving down, the buffer will need to scroll. When it > does scroll, Point will not return to the start of the next line. Set line-move-visual to nil, and Bob's your uncle. > I'm amazed that I've been using Emacs (with macros) for 12.5 years and > never noticed this before! line-move-visual didn't exist before Emacs 23. So most of those 12.5 years, the bug didn't exist, because the only behavior available was the one you see when you set line-move-visual to a nil value.