[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Key binding problem
From: |
Xavier Maillard |
Subject: |
Re: Key binding problem |
Date: |
Mon, 26 Feb 2007 19:41:30 +0100 |
tubescreamer808@gmail.com <tubescreamer808@gmail.com> wrote:
> Thank you very much weber, it works perfectly.
>
> Alternatively, I have just discovered that using the kbd macro works
> fine also e.g.
> (local-set-key (kbd "C-|") 'indent-region)
>
> Don't ask me why I never tried it before since I was already using it
> for the newline-and-indent binding. I guess that sometimes things are
> just too obvious or you're just too stupid...
You are not stupid at all. The two versions are perfectly right
kbd macro is just "the new syntax" to define key bindings. It has
been introduced into emacs 20.x as far as I remember.
[()} is called the XEmacs way and has been supported (and is
still supported) by older emacs.
There is also the string syntax but I do not use it.
Xavier
- Key binding problem, address@hidden, 2007/02/26
- Re: Key binding problem, weber, 2007/02/26
- Re: Key binding problem, address@hidden, 2007/02/26
- Re: Key binding problem, Lennart Borgman (gmail), 2007/02/26
- Message not available
- Re: Key binding problem, address@hidden, 2007/02/26
- Re: Key binding problem,
Xavier Maillard <=
- RE: Key binding problem, Drew Adams, 2007/02/26
- Re: Key binding problem, Xavier Maillard, 2007/02/26
- Message not available
- Re: Key binding problem, address@hidden, 2007/02/27
- Re: Key binding problem, Lennart Borgman (gmail), 2007/02/27