From: Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
Subject: return key in keyboard macros
Date: 05 Oct 2003 14:18:46 +0200 [thread overview]
Message-ID: <m31xtrubbt.fsf@tfkp14.physik.uni-erlangen.de> (raw)
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
next reply other threads:[~2003-10-05 12:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-05 12:18 Roland Winkler [this message]
2003-10-05 20:29 ` return key in keyboard macros Stefan Monnier
2003-10-06 11:21 ` Joakim Hove
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m31xtrubbt.fsf@tfkp14.physik.uni-erlangen.de \
--to=roland.winkler@physik.uni-erlangen.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).