[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
return key in keyboard macros
From: |
Roland Winkler |
Subject: |
return key in keyboard macros |
Date: |
05 Oct 2003 14:18:46 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
I am having some problems with the return key when I am defining and
storing keyboard macros.
When emacs runs in its own X window, the return key is translated
into `[return]'. For example,
;; emacs in its own X window
(fset 'foo
[return])
On the other hand "emacs -nw" translates the return
key into "\C-m". For example
;; "emacs -nw"
(fset 'bar
"\C-m")
The problem is: "emacs -nw" cannot make use of the keyboard macro
foo because here [return] is not bound to anything. (There is no
such compatibility problem with the keyboard macro bar.)
Can I enforce emacs to generate keyboard macros that will work both
with "emacs -nw" and with emacs in its own X window?
Thanks a lot,
Roland
PS I am using GNU emacs 21.2.1
- return key in keyboard macros,
Roland Winkler <=