From: Joe Corneli <jcorneli@math.utexas.edu>
Subject: Re: global key not binding
Date: Wed, 10 Aug 2005 14:20:32 -0500 [thread overview]
Message-ID: <E1E2w7s-0008Ni-00@lab1.ma.utexas.edu> (raw)
In-Reply-To: <87wtmtip2k.fsf@wash.edu> (message from Baloff on 11 Aug 2005 05:12:19 +1000)
> (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c b
> (global-set-key "\C-cb" "\C-xh\M-w") ;copy buffer C-c p
>
> I get symbol function definition is void ...
>
> That is to be expected.
>
why then this work:
(global-set-key "\C-cl" "\C-a\C-@\C-e\M-w") ;copy ling C-c l
OK, I guess it isn't to be expected. The question boils down to the
behavior of the function `define-key', which is what `global-set-key'
calls (without any intervening typechecking) and which _does_ allow
"strings treated as macros". So, I have no idea.
Evaluating this works:
(execute-kbd-macro "\C-xh\M-w")
But anyway, my hint should work for you. Maybe someone else
can say whether you found a bug or not.
next prev parent reply other threads:[~2005-08-10 19:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-10 8:15 global key not binding Baloff
2005-08-10 8:24 ` Peter Dyballa
2005-08-10 13:41 ` Joe Corneli
[not found] ` <mailman.3223.1123681667.20277.help-gnu-emacs@gnu.org>
2005-08-10 19:12 ` Baloff
2005-08-10 19:20 ` Joe Corneli [this message]
2005-08-10 19:48 ` Lennart Borgman
2005-08-10 23:11 ` Joe Corneli
[not found] ` <mailman.3280.1123704053.20277.help-gnu-emacs@gnu.org>
2005-08-10 20:51 ` Baloff
2005-08-10 19:20 ` Kevin Rodgers
[not found] ` <mailman.3194.1123662827.20277.help-gnu-emacs@gnu.org>
2005-08-10 21:13 ` Baloff
2005-08-10 21:28 ` Kevin Rodgers
2005-08-10 22:32 ` Henrik Enberg
[not found] ` <mailman.3315.1123715476.20277.help-gnu-emacs@gnu.org>
2005-08-11 22:10 ` Baloff
2005-08-11 22:06 ` Henrik Enberg
[not found] ` <mailman.3273.1123702161.20277.help-gnu-emacs@gnu.org>
2005-08-14 8:57 ` Baloff
2005-08-15 18:03 ` Kevin Rodgers
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=E1E2w7s-0008Ni-00@lab1.ma.utexas.edu \
--to=jcorneli@math.utexas.edu \
/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).