[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cannot call-last-kbd-macro on named macro
From: |
james . kingston |
Subject: |
cannot call-last-kbd-macro on named macro |
Date: |
9 May 2006 12:30:16 -0700 |
User-agent: |
G2/0.2 |
GNU Emacs 21.4.1....
I have saved some keyboard macros using insert-kbd-macro into my
.emacs, like the following:
(fset 'toggle-next-perlsub
[?\C-\M-s ?\\ ?b ?s ?u ?b ?\\ ?b ?\C-m ?\C-\M-s ?{ ?\C-m ?\M-x ?f ?o
?l ?d ?- ?d ?w ?i ?m ?- ?t ?o ?g ?g ?l ?e return])
I can M-x fold-next-perlsub if I want to run the macro, but I cannot
then run call-last-kbd-macro (which I have bound to an F-key)... it's
as if the macro is loaded as a function rather than a kbd macro.
As a workaround I could change the binding of the F-key to call my
named macro, but then I wouldn't be able to use the macros with
apply-macro-to-region-lines... So is there some way to push a named
macro onto some sort of macro stack so I can use the macro commands
with my macro?
- cannot call-last-kbd-macro on named macro,
james . kingston <=
- Re: cannot call-last-kbd-macro on named macro, james . kingston, 2006/05/09
- Re: cannot call-last-kbd-macro on named macro, Kevin Rodgers, 2006/05/09
- Message not available
- Re: cannot call-last-kbd-macro on named macro, james, 2006/05/10
- Re: cannot call-last-kbd-macro on named macro, Brendan Halpin, 2006/05/15
- Re: cannot call-last-kbd-macro on named macro, Kevin Rodgers, 2006/05/15
- Re: cannot call-last-kbd-macro on named macro, Mathias Dahl, 2006/05/16
- Re: cannot call-last-kbd-macro on named macro, Brendan Halpin, 2006/05/16
- Re: cannot call-last-kbd-macro on named macro, Mathias Dahl, 2006/05/19