GNU bug report logs - #7526
24.0.50; Keyboard macros & long lines

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Wed, 1 Dec 2010 17:37:01 UTC

Severity: normal

Found in versions 23.1, 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: <johnc <at> technology-is-evil.com>
Subject: bug#8114: closed (Re: bug#10076: 24.0.91; Automatic horizontal
 scrolling)
Date: Sun, 20 Nov 2011 18:31:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7526: macros fail in emacs 23.1

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8114 <at> debbugs.gnu.org.

-- 
7526: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7526
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 7526-done <at> debbugs.gnu.org, 10076 <at> debbugs.gnu.org
Subject: Re: bug#10076: 24.0.91; Automatic horizontal scrolling
Date: Sun, 20 Nov 2011 20:27:35 +0200
> Date: Sat, 19 Nov 2011 22:19:24 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Cc: 10076 <at> debbugs.gnu.org
> 
> > I found an easy band-aid, and fixed this in revision 106431 on the
> > trunk.
> 
> Thanks Eli.  Your patch also seem to fix bug #7526, which could be closed too.

Done, thanks.

[Message part 3 (message/rfc822, inline)]
From: <johnc <at> technology-is-evil.com>
Subject: macros fail in emacs 23.1
Date: Thu, 24 Feb 2011 19:50:45 -0700
%emacs -Q
M-x version
GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of
2011-02-24 on hostnm01

<delete all text, so you are starting from an empty scratch buffer>

insert this line once (a <space> b):
a b

then copy it until the buffer contains 150 copies of that line:
a b
a b
a b
 .
 .
 .

ESC <                   ;; beginning-of-buffer
^X (     ;; start recording keyboard macro

C-s                     ;; isearch-forward
SPC                     ;; self-insert-command
C-e                     ;; move-end-of-line
C-b                     ;; backward-char
xyz                     ;; self-insert-command * 3
SPC                     ;; self-insert-command
C-a                     ;; move-beginning-of-line
C-n                     ;; next-line

^X )                 ;; end recording

^X e                    ;; run the macro one time
^X e                    ;; run the macro one time
C-u 1 5 0 ^X e          ;; run the macro 150 times

The expected outcome is that each line in the buffer should now look
like this:
a xyz b

But many of the lines still look as they did at the beginning, namely:
a b
.
Note that the incorrect lines are intertwingled with the
correctly-edited lines, up to the end of the buffer.

\ | /
 ===   John Crown  johnc <at> technology-is-evil.com







This bug report was last modified 13 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.