emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customizing key definitions with Customize


From: Stefan Monnier
Subject: Re: customizing key definitions with Customize
Date: Tue, 13 May 2008 21:10:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> 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

Also, what would be the semantics of the above `custom-set-keybindings'.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]