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: Richard M Stallman
Subject: Re: customizing key definitions with Customize
Date: Thu, 15 May 2008 13:39:59 -0400

    Command `custom-create-keymap-option' creates a user option of the same =
    name as
    its keymap argument, but with `-defs' appended. E.g.,

     M-x custom-create-keymap-option RET bookmark-map

We should not ask _users_ to type any commands to make a map
customizable.  Rather, all the keymaps that Emacs knows about should
be known to Custom as well.  So anything that has to be done in order
to make a keymap known to Custom should be done in the Lisp code.

It would make sense to have a command `customize-keymap' as a user
interface for running Custom to customize one particular keymap.

But we also should be able to include keymaps in custom groups.

    Unlike faces, keymaps, apart from keymap-valued variables, do not
    have names, so the approach I suggested makes sense: customize
    keymap variables, not "first-class" keymap objects.

If that works out conveniently, I am not against it.

It would be nice if the macros for defining major modes
were connected to this, so that all the keymaps were
customizable.




reply via email to

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