unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Baloff <washdc@wash.edu>
Subject: Re: global key not binding
Date: 11 Aug 2005 06:51:28 +1000	[thread overview]
Message-ID: <87d5ola52n.fsf@wash.edu> (raw)
In-Reply-To: mailman.3280.1123704053.20277.help-gnu-emacs@gnu.org

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> Joe Corneli wrote:
> 
> >   >    (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.
> >
> I just checked in the CVS version of Emacs. It seems to work.

sorry, what is CVS version and my version under debian. ok newbi.
thanks

> 
> I saw in one of the messages "Global-set-key" instead of
> "global-set-key" but I guess that was just a typo?

  parent reply	other threads:[~2005-08-10 20:51 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
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 [this message]
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=87d5ola52n.fsf@wash.edu \
    --to=washdc@wash.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).