[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macro keybinding
From: |
Kevin Rodgers |
Subject: |
Re: macro keybinding |
Date: |
Wed, 01 Oct 2008 22:35:55 -0600 |
User-agent: |
Thunderbird 2.0.0.17 (Macintosh/20080914) |
Stefan Thomas wrote:
Hi,
since Yesterdy I try to understand emacs, so I'm a bloody newbie.
I habve a question on macro keybindings. In the manual I've read:
"If you give |insert-kbd-macro| a numeric argument, it makes additional
Lisp code to record the keys (if any) that you have bound to macroname,
so that the macro will be reassigned the same keys when you load the file. "
But I don't understand that. I don't know, how to save the keybinding
for a defined macro forever.
C-x C-f ~/.emacs
M->
M-x insert-kbd-macro RET
C-x C-s
Compare the result of `M-x insert-kbd-macro' with `C-u M-x
insert-kbd-macro'.
And my next question would be: I would like to define some macros in a
el-file.
How can I load them automatically, when I start emacs?
Put (load "/path/to/my-macros.el") in your ~/.emacs file
--
Kevin Rodgers
Denver, Colorado, USA
- macro keybinding, Stefan Thomas, 2008/10/01
- Re: macro keybinding,
Kevin Rodgers <=