From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Raymond Zeitler Newsgroups: gmane.emacs.bugs Subject: bug#13452: 24.1; Macro Playback Fails When Buffer Scrolls Date: Tue, 15 Jan 2013 18:01:13 +0000 Message-ID: <3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930F@Exchange2010.PHONON.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_3D3BECA95B858C4D9F42F2A6CDFC04DD37BE930FExchange2010PHO_" X-Trace: ger.gmane.org 1358275117 29815 80.91.229.3 (15 Jan 2013 18:38:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2013 18:38:37 +0000 (UTC) Cc: "r.zeitler@ieee.org" To: 13452@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 15 19:38:55 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 1TvBPS-0008Fq-8d for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 19:38:54 +0100 Original-Received: from localhost ([::1]:34877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBPB-0001bz-Vj for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jan 2013 13:38:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBP8-0001bi-4y for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:38:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvBP5-0006CE-Q4 for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:38:34 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBP5-0006C9-MA for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:38:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TvBPa-0005as-6A for bug-gnu-emacs@gnu.org; Tue, 15 Jan 2013 13:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Raymond Zeitler Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jan 2013 18:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13452 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.135827508621414 (code B ref -1); Tue, 15 Jan 2013 18:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jan 2013 18:38:06 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Thread-Topic: 24.1; Macro Playback Fails When Buffer Scrolls Thread-Index: Ac3zSks5hQXmRIXnSwmxM2BGk7jvuA== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.124] 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-Mailman-Approved-At: Tue, 15 Jan 2013 13:38:03 -0500 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:69821 Archived-At: --_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_--