From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 15 13:38:06 2013 Received: (at submit) by debbugs.gnu.org; 15 Jan 2013 18:38:06 +0000 Received: from localhost ([127.0.0.1]:33744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvBOf-0005ZK-Dj for submit@debbugs.gnu.org; Tue, 15 Jan 2013 13:38:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44413) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvB9T-0005BJ-3D for submit@debbugs.gnu.org; Tue, 15 Jan 2013 13:22:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvB8v-0001GK-Gs for submit@debbugs.gnu.org; Tue, 15 Jan 2013 13:21:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.4 required=5.0 tests=BAYES_00,HTML_MESSAGE, RECEIVED_FROM_WINDOWS_HOST, USER_IN_WHITELIST autolearn=no version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:33563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvB8v-0001GF-Ca for submit@debbugs.gnu.org; Tue, 15 Jan 2013 13:21:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvB8t-000230-Q0 for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:21:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvB8r-0001FW-Nh for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:21:47 -0500 Received: from 63-144-137-67.dia.static.qwest.net ([63.144.137.67]:60586 helo=Exchange2010.PHONON.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvB8r-0001FQ-Fn for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:21:45 -0500 Received: from EXCHANGE2010.PHONON.com ([::1]) by Exchange2010.PHONON.com ([::1]) with mapi id 14.01.0438.000; Tue, 15 Jan 2013 13:01:14 -0500 From: Raymond Zeitler To: "bug-gnu-emacs@gnu.org" Subject: 24.1; Macro Playback Fails When Buffer Scrolls Thread-Topic: 24.1; Macro Playback Fails When Buffer Scrolls Thread-Index: Ac3zSks5hQXmRIXnSwmxM2BGk7jvuA== Date: Tue, 15 Jan 2013 18:01:13 +0000 Message-ID: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.124] Content-Type: multipart/alternative; boundary="_000_3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930FExchange2010PHO_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 15 Jan 2013 13:38:03 -0500 Cc: "r.zeitler@ieee.org" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) --_000_3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930FExchange2010PHO_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From: rzeitler@phonon.com To: bug-gnu-emacs@gnu.org Subject: 24.1; Macro Playback Fails When Buffer Scrolls --text follows this line-- This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': *************** 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. This happens also in version 23.4.1 on Win 7 and on 23.2.1 on Windows XP. I guess the workaround would be to conclude the macro with C-u 0 l. I'm amazed that I've been using Emacs (with macros) for 12.5 years and never noticed this before! *************** If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/emacs-24.1/etc/DEBUG. In GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x ( x x x y y y C-x ) C-x e e e e e M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Defining kbd macro... Keyboard macro defined (Type e to repeat macro) [5 times] Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu view edmacro kmacro time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) Raymond Zeitler - Senior Design Engineer Phonon Corp 90 Wolcott Road, Simsbury CT 06070 TEL 860-651-0211 x7741 FAX 860-651-8618 rzeitler@phonon.com http://www.phonon.com --_000_3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930FExchange2010PHO_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

From: rzeitler@phonon.com

To: bug-gnu-emacs@gnu.org

Subject: 24.1; Macro Playback Fails When Buffer Scro= lls

--text follows this line--

This bug report will be sent to the Bug-GNU-Emacs ma= iling list

and the GNU bug tracker at debbugs.gnu.org.  Pl= ease check that

the From: line contains a valid email address. = After a delay of up

to one day, you should receive an acknowledgement at= that address.

 

Please write in English if possible, as the Emacs ma= intainers

usually do not have translators for other languages.=

 

Please describe exactly what actions triggered the b= ug, and

the precise symptoms of the bug.  If you can, g= ive a recipe

starting from `emacs -Q':

 

***************

Create a file with many more lines than the buffer c= an 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 a= nd puts an "x" in

its place for the first three lines.  Then it p= uts 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 t= he next line.

 

This happens also in version 23.4.1 on Win 7 and on = 23.2.1 on Windows XP.

 

I guess the workaround would be to conclude the macr= o with C-u 0 l.

 

I'm amazed that I've been using Emacs (with macros) = for 12.5 years and

never noticed this before!

 

***************

 

If Emacs crashed, and you have the Emacs process in = the gdb debugger,

please include the output from the following gdb com= mands:

    `bt full' and `xbacktrace'.<= /o:p>

For information about debugging Emacs, please read t= he file

c:/emacs-24.1/etc/DEBUG.

 

 

In GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601)

of 2012-06-10 on MARVIN

Windowing system distributor `Microsoft Corp.', vers= ion 6.1.7601

Configured using:

`configure --with-gcc (4.6) --cflags

-ID:/devel/emacs/libs/libXpm-3.5.8/include

-ID:/devel/emacs/libs/libXpm-3.5.8/src

-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include

-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include<= /o:p>

-ID:/devel/emacs/libs/giflib-4.1.4-1/include

-ID:/devel/emacs/libs/jpeg-6b-4/include

-ID:/devel/emacs/libs/tiff-3.8.2-1/include

-ID:/devel/emacs/libs/gnutls-3.0.9/include'

 

Important settings:

  value of $LC_ALL: nil

  value of $LC_COLLATE: nil

  value of $LC_CTYPE: nil

  value of $LC_MESSAGES: nil

  value of $LC_MONETARY: nil

  value of $LC_NUMERIC: nil

  value of $LC_TIME: nil

  value of $LANG: ENU

  value of $XMODIFIERS: nil

  locale-coding-system: cp1252

  default enable-multibyte-characters: t

 

Major mode: Fundamental

 

Minor modes in effect:

  tooltip-mode: t

  mouse-wheel-mode: t

  tool-bar-mode: t

  menu-bar-mode: t

  file-name-shadow-mode: t

  global-font-lock-mode: t

  font-lock-mode: t

  blink-cursor-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  line-number-mode: t

  transient-mark-mode: t

 

Recent input:

C-x ( <C-right> <backspace> x <down&g= t; <backspace> x

<down> <backspace> x <kp-home> <= ;down> <C-right> <backspace>

y <down> <backspace> y <down> <= backspace> y <kp-home>

<down> C-x ) C-x e e e e e M-x r e p o <tab= > r t -

e m <tab> <return>

 

Recent messages:

For information about GNU Emacs and the GNU system, = type C-h C-a.

Defining kbd macro...

Keyboard macro defined

(Type e to repeat macro) [5 times]

Making completion list...

 

Load-path shadows:

None found.

 

Features:

(shadow sort gnus-util mail-extr emacsbug message fo= rmat-spec rfc822 mml

mml-sec mm-decode mm-bodies mm-encode mail-parse rfc= 2231 mailabbrev

gmm-utils mailheader sendmail regexp-opt rfc2047 rfc= 2045 ietf-drums

mm-util mail-prsvr mail-utils help-mode easymenu vie= w edmacro kmacro

time-date tooltip ediff-hook vc-hooks lisp-float-typ= e mwheel dos-w32

disp-table ls-lisp w32-win w32-vars tool-bar dnd fon= tset image fringe

lisp-mode register page menu-bar rfn-eshadow timer s= elect scroll-bar

mouse jit-lock font-lock syntax facemenu font-core f= rame cham georgian

utf-8-lang misc-lang vietnamese tibetan thai tai-vie= t lao korean

japanese hebrew greek romanian slovak czech european= ethiopic indian

cyrillic chinese case-table epa-hook jka-cmpr-hook h= elp simple abbrev

minibuffer loaddefs button faces cus-face files text= -properties overlay

sha1 md5 base64 format env code-pages mule custom wi= dget

hashtable-print-readable backquote make-network-proc= ess multi-tty emacs)

 

Raymond Zeitler - Senior Design Engineer<= /p>

Phonon Corp 90 Wolcott Road, Simsbury CT 06070<= /o:p>

TEL 860-651-0211 x7741

FAX 860-651-8618

rzeitler@phonon.com

http://www.phonon.com

 

--_000_3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930FExchange2010PHO_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 15 14:15:45 2013 Received: (at 13452) by debbugs.gnu.org; 15 Jan 2013 19:15:45 +0000 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 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 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) 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) Date: Tue, 15 Jan 2013 21:15:38 +0200 From: Eli Zaretskii Subject: Re: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls In-reply-to: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> X-012-Sender: halo1@inter.net.il To: Raymond Zeitler Message-id: <83obgq8dgl.fsf@gnu.org> References: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 13452 Cc: r.zeitler@ieee.org, 13452@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > 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. [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.179.55.166 listed in list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.4998] > 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 15 15:55:46 2013 Received: (at 13452) by debbugs.gnu.org; 15 Jan 2013 20:55:46 +0000 Received: from localhost ([127.0.0.1]:33864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvDXt-0000Nt-MC for submit@debbugs.gnu.org; Tue, 15 Jan 2013 15:55:46 -0500 Received: from 63-144-137-67.dia.static.qwest.net ([63.144.137.67]:7845 helo=Exchange2010.PHONON.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TvDXq-0000Nl-Ol for 13452@debbugs.gnu.org; Tue, 15 Jan 2013 15:55:44 -0500 Received: from EXCHANGE2010.PHONON.com ([::1]) by Exchange2010.PHONON.com ([::1]) with mapi id 14.01.0438.000; Tue, 15 Jan 2013 15:55:03 -0500 From: Raymond Zeitler To: Eli Zaretskii Subject: RE: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls Thread-Topic: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls Thread-Index: Ac3zSks5hQXmRIXnSwmxM2BGk7jvuAANFE8AAAcVGuA= Date: Tue, 15 Jan 2013 20:55:02 +0000 Message-ID: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE93D9@Exchange2010.PHONON.com> References: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> <83obgq8dgl.fsf@gnu.org> In-Reply-To: <83obgq8dgl.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.124] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13452 Cc: "r.zeitler@ieee.org" , "13452@debbugs.gnu.org" <13452@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Dear Eli: Thank you so much for your helpful and quick reply, and also for your invol= vement in the mailing lists, which has helped me many times before. Sorry about sending a bug report, especially using MS Outlook. Peace. - Ray -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org]=20 Sent: Tuesday, January 15, 2013 2:16 PM To: Raymond Zeitler Cc: 13452@debbugs.gnu.org; r.zeitler@ieee.org Subject: Re: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls > From: Raymond Zeitler > Date: Tue, 15 Jan 2013 18:01:13 +0000 > Cc: "r.zeitler@ieee.org" >=20 > 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: >=20 > 123456789 0123456789 01234567890 >=20 > Then place Point at line 1 column 1. >=20 > 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. >=20 > Play back the macro a few dozen times. >=20 > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 13:26:55 2016 Received: (at control) by debbugs.gnu.org; 16 May 2016 17:26:55 +0000 Received: from localhost ([127.0.0.1]:54106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2MIB-0005UG-0k for submit@debbugs.gnu.org; Mon, 16 May 2016 13:26:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2MI9-0005U4-N3 for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2MI0-00049p-JK for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2MI0-00049G-G6 for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2430 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b2MHx-0004Br-5T for control@debbugs.gnu.org; Mon, 16 May 2016 13:26:43 -0400 Date: Mon, 16 May 2016 20:26:33 +0300 Message-Id: <83y47952ye.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org In-reply-to: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> (abbott@dima.unige.it) Subject: Re: bug#23551: 24.5; beginning-of-line wrong in repeated kbd macro References: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) merge 13452 23551 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 14:55:20 2016 Received: (at control) by debbugs.gnu.org; 16 May 2016 18:55:20 +0000 Received: from localhost ([127.0.0.1]:54345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2Nfk-0006EY-Dq for submit@debbugs.gnu.org; Mon, 16 May 2016 14:55:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2Nfj-0006E6-FM for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2NfV-0004pI-FN for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2NfV-0004p4-Cl for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:05 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2508 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b2NfO-0005HR-Rh for control@debbugs.gnu.org; Mon, 16 May 2016 14:55:03 -0400 Date: Mon, 16 May 2016 21:54:51 +0300 Message-Id: <83mvnp4yv8.fsf@gnu.org> From: Eli Zaretskii To: control@debbugs.gnu.org In-reply-to: (message from Markus Triska on Sun, 15 May 2016 14:10:59 +0200) Subject: Re: bug#23555: 24.5; Keyboard macros unexpectedly depend on frame size References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) merge 13452 23555 thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 11:38:53 2016 Received: (at 13452-done) by debbugs.gnu.org; 28 May 2016 15:38:53 +0000 Received: from localhost ([127.0.0.1]:44957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6gKD-0005xT-D4 for submit@debbugs.gnu.org; Sat, 28 May 2016 11:38:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6gKB-0005xG-QW for 13452-done@debbugs.gnu.org; Sat, 28 May 2016 11:38:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6gK3-0003bC-E2 for 13452-done@debbugs.gnu.org; Sat, 28 May 2016 11:38:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6gK3-0003b6-Av; Sat, 28 May 2016 11:38:43 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2303 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b6gK2-0004TS-4H; Sat, 28 May 2016 11:38:42 -0400 Date: Sat, 28 May 2016 18:38:53 +0300 Message-Id: <83shx2xkdu.fsf@gnu.org> From: Eli Zaretskii To: abbott@dima.unige.it, Markus Triska , Raymond Zeitler In-reply-to: <83wpmt52ru.fsf@gnu.org> (message from Eli Zaretskii on Mon, 16 May 2016 20:30:29 +0300) Subject: Re: bug#23551: 24.5; beginning-of-line wrong in repeated kbd macro References: <20160516163032.Horde.dzyiidpM-qxZXkDDoOkApwx@fermat.dima.unige.it> <83wpmt52ru.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 13452-done Cc: 13452-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Mon, 16 May 2016 20:30:29 +0300 > From: Eli Zaretskii > Cc: 23551@debbugs.gnu.org > > > Date: Mon, 16 May 2016 16:30:32 +0000 > > From: abbott@dima.unige.it > > Cc: Abbott John > > > > Open the attached file in Emacs, and move point to the first position. > > Define a keyboard macro: (I want to put each line inside double-quotes) > > " ;; self-insert-command > > C-e ;; move-end-of-line > > " ;; self-insert-command > > C-a ;; message-beginning-of-line > > ;; next-line > > > > Now ask Emacs to repeat this macro 49 times. > > The result is wrong: at around line 35, the first double-quote > > is no longer at the start of the line; then on successive lines > > the position of the first inserted double-quote walks to the right. > > Thanks. > > This is a duplicate of the (old, but unsolved) bug #13452. The > problem is not in beginning-of-line, it's in next-line: when the > window needs to scroll as result of next-line, point ends up in > columns 1, 2, 3, ... (i.e. gains one column per line moved down), > instead of sticking to column zero. > > To work around, set line-move-visual to nil before running the macro > (or as part of the macro), then the problem goes away. > > I'll try to debug this one of these days. Should be fixed now, please test the latest Emacs master branch. From unknown Sun Jun 22 03:56:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 26 Jun 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 08 23:47:21 2016 Received: (at control) by debbugs.gnu.org; 9 Jul 2016 03:47:21 +0000 Received: from localhost ([127.0.0.1]:43166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLjEe-0005j4-Qq for submit@debbugs.gnu.org; Fri, 08 Jul 2016 23:47:20 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:37433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLjEc-0005im-Cr for control@debbugs.gnu.org; Fri, 08 Jul 2016 23:47:18 -0400 Received: by mail-it0-f49.google.com with SMTP id f6so18362687ith.0 for ; Fri, 08 Jul 2016 20:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=zGH2mFrOKMQNFCqc5kMYA084HL0ESnDyTal7CddnltY=; b=OcDTkLqJdAqb/cRMlZq+lL8/GAp7qvjc/zJe7otuifGpO9VzLZhR1rIQUDytG8LLRA a5X+50CNoM6xvHe5LJ2zN4Q32j/YFLExS5KbO07lKFRPr/9JkDpayZBZ2gB+YsaIhyL0 ACFQCNlCvCV5RcZ189O31K92CR0GoHW5Dbe2lOKi62yEU5c4zfAFEXI22ZSZLCc9QSZq /Ww1x6fVvR/b426aty9oipCPP02kn6nP/Y976W1hWjx2yXbySs92cJEgSmSgi2hZlEat o85+3raevp2xWe8MQ76kwTd5IFT5dG0Hv4sGHKRpVSsenAaowRVABYYXdoZY0DtaQwL8 R+CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=zGH2mFrOKMQNFCqc5kMYA084HL0ESnDyTal7CddnltY=; b=LliiujUBkldi4ro1zv4zRi2FuPTg5FAXn6H+rOK8BYsjs0VDchCNf77f/CKOER7PHI P2OzHBNc02ahs8swbNC68mvQMch3oVc5oLugeAaH1hVOe5RQxOYGwB428lKCvQgTg09t 02+2Phh+pxLizhsAqBBef3jA9Y07dND4haBOGfWOKVkiwvQMCc77EPY7qGRQjL0DaeIv VtUc246W5T3tLEK66DKSwenNfQxN5DfmOaeRQC1d8hzTFlQaRkaFzOJ0ObSRjOE0ySi7 QjoJhp3BlWiHl3ie4aMWcvuBdY3Uorigr8Bgxr+BrfVON2mjXlEi2VnPxCVXTlBkT9c8 n8hg== X-Gm-Message-State: ALyK8tJpoIeTpzWU3wpSkWUmallqFUmEVdx64oOC2Jj0XML6yHLOcJVyG26/7yh76WoxKQ== X-Received: by 10.36.14.130 with SMTP id 124mr5882498ite.62.1468036032864; Fri, 08 Jul 2016 20:47:12 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id k101sm6002812ioi.9.2016.07.08.20.47.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Jul 2016 20:47:12 -0700 (PDT) From: npostavs@users.sourceforge.net To: control@debbugs.gnu.org Subject: Re: bug#8809: 23.3; Macro problem References: Date: Fri, 08 Jul 2016 23:47:11 -0400 In-Reply-To: (Suresh Aryangat's message of "Mon, 6 Jun 2011 11:52:38 -0400") Message-ID: <87poqniibk.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) unarchive 13452 forcemerge 13452 8809 quit From unknown Sun Jun 22 03:56:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 06 Aug 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator