GNU bug report logs - #8114
macros fail in emacs 23.1

Previous Next

Package: emacs;

Reported by: <johnc <at> technology-is-evil.com>

Date: Fri, 25 Feb 2011 03:05:02 UTC

Severity: normal

Merged with 7046, 10461

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


Message #11 received at 8114 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 8114 <at> debbugs.gnu.org, johnc <at> technology-is-evil.com
Subject: Re: bug#8114: macros fail in emacs 23.1
Date: Fri, 25 Feb 2011 10:23:42 +0200
> From: Glenn Morris <rgm <at> gnu.org>
> Date: Thu, 24 Feb 2011 23:15:51 -0500
> Cc: 8114 <at> debbugs.gnu.org
> 
> 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.

Something related to scrolling, it seems: the unedited lines start on
the second screenful.




This bug report was last modified 5 years and 142 days ago.

Previous Next


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