[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Binding same command to two separte keys??
From: |
Reiner Steib |
Subject: |
Re: Binding same command to two separte keys?? |
Date: |
Sat, 14 Apr 2007 11:26:44 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
On Fri, Apr 13 2007, Matthew Flaschen wrote:
> The correct syntax is:
>
> [?\M-s]
[...]
>> (global-set-key (kbd "M-s") #'shell-command)
>
> There's no need for kbd here. It's unnecessary overhead.
There a different ways to do the same job. Using `kbd' offers the
striking advantage that the user can use the output of `C-h k ...' as
input without a need to think much about Emacs internal handling of
key bindings.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- Re: Binding same command to two separte keys??, (continued)
- Re: Binding same command to two separte keys??, Matthew Flaschen, 2007/04/13
- Re: Binding same command to two separte keys??, William Case, 2007/04/13
- Re: Binding same command to two separte keys??, Matthew Flaschen, 2007/04/13
- Re: Binding same command to two separte keys??, David Hansen, 2007/04/13
- Re: Binding same command to two separte keys??, Matthew Flaschen, 2007/04/13
- Re: Binding same command to two separte keys??, David Hansen, 2007/04/13
- Message not available
- Re: Binding same command to two separte keys??, Rjjd, 2007/04/13
- Re: Binding same command to two separte keys??, Matthew Flaschen, 2007/04/13
- Message not available
- Re: Binding same command to two separte keys??, Tim X, 2007/04/14
- Message not available
- Re: Binding same command to two separte keys??, Joost Kremers, 2007/04/13
- Re: Binding same command to two separte keys??,
Reiner Steib <=
- Re: Binding same command to two separte keys??, Kai Grossjohann, 2007/04/16