help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Macro editing fails in a strange way


From: Jarosław Rzeszótko
Subject: Re: Macro editing fails in a strange way
Date: Thu, 26 Feb 2009 03:46:54 -0800 (PST)
User-agent: G2/1.0

Take a look at this example, every time I enter it in the macro editor
and type C-c C-c I get a wicked result:

;; Keyboard Macro Editor.  Press C-c C-c to finish; press C-x k RET to
cancel.
;; Original keys: <end> <C-insert> <C-M-right> <C-home> <C-M-left>
<down> <home>

Command: last-kbd-macro
Key: none

Macro:

C-SPC                   ;; set-mark-command
<end>                   ;; move-end-of-line
<C-insert>              ;; kill-ring-save
<C-M-right>             ;; windmove-right
C-s                     ;; isearch-forward-regexp
M-y                             ;; yank-pop
RET                             ;; newline
barfoo                  ;; self-insert-command * 6
<C-home>                ;; beginning-of-buffer
<C-M-left>              ;; windmove-left
<down>                  ;; next-line
<home>                  ;; back-to-indentation-or-beginning

And here is what it looks afterwards:

;; Keyboard Macro Editor.  Press C-c C-c to finish; press C-x k RET to
cancel.
;; Original keys: <end> <C-insert> <C-M-right> <C-home> <C-M-left>
<down> <home>

Command: last-kbd-macro
Key: none

Macro:

<end>                   ;; move-end-of-line
<C-insert>              ;; kill-ring-save
<C-M-right>             ;; windmove-right
<C-home>                ;; beginning-of-buffer
<C-M-left>              ;; windmove-left
<down>                  ;; next-line
<home>                  ;; back-to-indentation-or-beginning


reply via email to

[Prev in Thread] Current Thread [Next in Thread]