all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8114: macros fail in emacs 23.1
       [not found] <20110224195045.6813460112e1e451111e8106817db522.6e72ddd86f.wbe@email01.secureserver.net>
@ 2011-02-25  4:15 ` Glenn Morris
  2011-02-25  8:23   ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-02-25  4:15 UTC (permalink / raw)
  To: johnc; +Cc: 8114


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@technology-is-evil.com





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#8114: macros fail in emacs 23.1
  2011-02-25  4:15 ` bug#8114: macros fail in emacs 23.1 Glenn Morris
@ 2011-02-25  8:23   ` Eli Zaretskii
  2011-03-22 14:04     ` Johan Bockgård
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2011-02-25  8:23 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 8114, johnc

> From: Glenn Morris <rgm@gnu.org>
> Date: Thu, 24 Feb 2011 23:15:51 -0500
> Cc: 8114@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#8114: macros fail in emacs 23.1
  2011-02-25  8:23   ` Eli Zaretskii
@ 2011-03-22 14:04     ` Johan Bockgård
  0 siblings, 0 replies; 3+ messages in thread
From: Johan Bockgård @ 2011-03-22 14:04 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 8114, johnc

merge 8114 7046
thanks

Eli Zaretskii <eliz@gnu.org> writes:

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

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-22 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110224195045.6813460112e1e451111e8106817db522.6e72ddd86f.wbe@email01.secureserver.net>
2011-02-25  4:15 ` bug#8114: macros fail in emacs 23.1 Glenn Morris
2011-02-25  8:23   ` Eli Zaretskii
2011-03-22 14:04     ` Johan Bockgård

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.