[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs keybinding syntaxes bewilderment
From: |
rustom |
Subject: |
Re: emacs keybinding syntaxes bewilderment |
Date: |
Sun, 16 Dec 2007 00:25:46 -0800 (PST) |
User-agent: |
G2/1.0 |
On Dec 16, 12:22 pm, Mike Mattie <codermat...@gmail.com> wrote:
>
> That did confuse me for a while. I decided it was time to make it at least
> consistent in my
> configuration. After asking for some advice I settled on (kbd). This function
> below takes
> the pain out of keybindings.
>
> I use it as follows:
>
> M-x insert-key-notation
>
> it then prompts for the key sequence, and generates the code.
>
> (defun insert-key-notation ()
> "inject a complete \(kbd \"sequence\"\) with key notation for a key
> sequence given by prompt"
> (interactive)
> (insert "(kbd \"")
> (insert (format-kbd-macro (read-key-sequence "Key? " nil t)))
> (insert "\")")
> )
Neat! Charming!!
But why is kbd not in the elisp manual?
- emacs keybinding syntaxes bewilderment, Xah Lee, 2007/12/15
- Re: emacs keybinding syntaxes bewilderment, B. T. Raven, 2007/12/15
- Re: emacs keybinding syntaxes bewilderment, rustom, 2007/12/15
- Re: emacs keybinding syntaxes bewilderment, Mike Mattie, 2007/12/16
- Message not available
- Re: emacs keybinding syntaxes bewilderment,
rustom <=
- Re: emacs keybinding syntaxes bewilderment, Harald Hanche-Olsen, 2007/12/16
- Re: emacs keybinding syntaxes bewilderment, rustom, 2007/12/16
- Re: emacs keybinding syntaxes bewilderment, Harald Hanche-Olsen, 2007/12/16
- Re: emacs keybinding syntaxes bewilderment, Peter Dyballa, 2007/12/16
- Re: emacs keybinding syntaxes bewilderment, Lennart Borgman (gmail), 2007/12/16
- Re: emacs keybinding syntaxes bewilderment, Peter Dyballa, 2007/12/16
- Re: emacs keybinding syntaxes bewilderment, Sebastian Tennant, 2007/12/17
- Message not available
- Re: emacs keybinding syntaxes bewilderment, Romain Francoise, 2007/12/17
Re: emacs keybinding syntaxes bewilderment, Tassilo Horn, 2007/12/17
Re: emacs keybinding syntaxes bewilderment, Xah Lee, 2007/12/18