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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8114 in the body.
You can then email your comments to 8114 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, help-debbugs <at> gnu.org:
bug#8114; Package debbugs.gnu.org. (Fri, 25 Feb 2011 03:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to <johnc <at> technology-is-evil.com>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Fri, 25 Feb 2011 03:05:02 GMT) Full text and rfc822 format available.

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

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








Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8114; Package emacs. (Fri, 25 Feb 2011 04:16:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: johnc <at> technology-is-evil.com
Cc: 8114 <at> debbugs.gnu.org
Subject: Re: bug#8114: macros fail in emacs 23.1
Date: Thu, 24 Feb 2011 23:15:51 -0500
It looks like this bug report was submitted via bcc?
Please try not to do that, since if you do the bug tracking system has
no way of knowing which package (Emacs in this case) your bug report is
about. Or put "Package: emacs" at the start of the message body.

I have reassigned it to the emacs package. The full text of the original
report is below.

--------

%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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8114; Package emacs. (Fri, 25 Feb 2011 08:25:01 GMT) Full text and rfc822 format available.

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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8114; Package emacs. (Tue, 22 Mar 2011 14:05:02 GMT) Full text and rfc822 format available.

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

From: Johan Bockgård <bojohan <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 8114 <at> debbugs.gnu.org,
	johnc <at> technology-is-evil.com
Subject: Re: bug#8114: macros fail in emacs 23.1
Date: Tue, 22 Mar 2011 15:04:14 +0100
merge 8114 7046
thanks

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

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

See http://debbugs.gnu.org/7046#23




Merged 7046 7526 8114. Request was from Johan Bockgård <bojohan <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 22 Mar 2011 14:05:02 GMT) Full text and rfc822 format available.

Disconnected #7526 from all other report(s). Request was from Johan Bockgard <bojohan <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 28 Nov 2011 21:41:02 GMT) Full text and rfc822 format available.

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Nov 2011 21:44:01 GMT) Full text and rfc822 format available.

Merged 7046 8114 10461. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Wed, 08 Jun 2016 03:27:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Jan 2020 12:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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