[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why this macro error: "After 0 kbd macro iterations: Keyboard macro term
From: |
Chris Seberino |
Subject: |
Why this macro error: "After 0 kbd macro iterations: Keyboard macro terminated by a command ringing the bell" |
Date: |
Sat, 13 Oct 2001 14:24:46 -0700 |
User-agent: |
Mutt/1.2.5i |
Hello! Any insight why this little home grown macro fails
would be greatly appreciated...
I have C-q bound to a home made macro
that fails with following error message:
"After 0 kbd macro iterations: Keyboard macro terminated by a command ringing
the bell"
Here is the simple macro bound to C-q......
; Define Ctrl-q to exit Emacs.
(global-set-key "\C-q" 'new-kill-emacs)
(fset 'new-kill-emacs
[escape ?x ?k ?i ?l ?l ? ?b ?u ?f ?f ?e ?r
return return ?y ?e ?s return
escape ?x ?k ?i ?l ?l ? ?e ?m ?a ?c ?s return
])
Basically just runs kill-buffer and then kill-emacs.
Thanks,
Chris
--
=======================================================
| Dr. Christian Seberino || (619) 553-7811 (office1) |
| SPAWARSYSCEN 2733 || (619) 553-2564 (office2) |
| 53560 HULL ST || (619) 553-6307 (fax) |
| SAN DIEGO CA 92152-5001 || seberino@spawar.navy.mil |
=======================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Why this macro error: "After 0 kbd macro iterations: Keyboard macro terminated by a command ringing the bell",
Chris Seberino <=