[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: customizing key definitions with Customize
From: |
Juri Linkov |
Subject: |
Re: customizing key definitions with Customize |
Date: |
Wed, 14 May 2008 02:59:27 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> Another alternative is to make keybindings first-class entities
> for Customize like faces with their `defface' definition.
> So customized and saved settings in a customization file
> would be like:
>
> (custom-set-keybindings
> ;; custom-set-keybindings was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(emacs-lisp-mode-map (([tab] 'lisp-indent-or-complete) ...))
> ...)
>
> That looks clean and useful to me.
A question remains to decide is what would be a good user interface
for editing key bindings. For instance, after typing
M-x customize-keymap RET emacs-lisp-mode-map RET
what the user will see: all current key bindings in this keymap
(this may be too many as some keymaps have dozens of key bindings),
or an empty list with the single [Insert] button to add new key
bindings that will override the existing ones after saving the
Customization buffer.
--
Juri Linkov
http://www.jurta.org/emacs/
Re: customizing key definitions with Customize, Reiner Steib, 2008/05/12
Re: customizing key definitions with Customize, Richard M Stallman, 2008/05/12
- RE: customizing key definitions with Customize, Drew Adams, 2008/05/12
- Re: customizing key definitions with Customize, Juri Linkov, 2008/05/12
- Re: customizing key definitions with Customize, Lennart Borgman (gmail), 2008/05/12
- Re: customizing key definitions with Customize, Richard M Stallman, 2008/05/13
- Re: customizing key definitions with Customize,
Juri Linkov <=
- Re: customizing key definitions with Customize, Stefan Monnier, 2008/05/13
- Re: customizing key definitions with Customize, Richard M Stallman, 2008/05/14
- RE: customizing key definitions with Customize, Drew Adams, 2008/05/15
- Re: customizing key definitions with Customize, Richard M Stallman, 2008/05/15
- RE: customizing key definitions with Customize, Drew Adams, 2008/05/16
- Re: customizing key definitions with Customize, Richard M Stallman, 2008/05/16
- Re: customizing key definitions with Customize, David Kastrup, 2008/05/16
- RE: customizing key definitions with Customize, Drew Adams, 2008/05/16
- Re: customizing key definitions with Customize, Richard M Stallman, 2008/05/17
RE: customizing key definitions with Customize, Drew Adams, 2008/05/16