[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: global key not binding
From: |
Baloff |
Subject: |
Re: global key not binding |
Date: |
11 Aug 2005 06:51:28 +1000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
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?
Re: global key not binding, Kevin Rodgers, 2005/08/10
Message not available
Message not available