emacs-devel
[Top][All Lists]
Advanced

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

Re: Getting more info on a variable in Customize buffers


From: Stefan Monnier
Subject: Re: Getting more info on a variable in Customize buffers
Date: Tue, 04 Jan 2005 15:39:44 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

>       (defkeymap foo-map
>        '((X1 Y1)
>          (X2 Y2)
>          (X3 Y3)
>          (X4 Y4)))

>     with some additional options like :inherit and :suppress.  What it does
>     w.r.t Custom can then be adjusted as you please and improved over time.

> defkeymap appears to be just an abbreviation.  You could argue for
> it as an abbreviation, but I don't see how it would have any effect
> on what we can or can't easily do with Customize.

> How would replacing the defvar with defkeymap affect Custom's handling
> of this?

There are two benefits:

1 - abbreviation, as well as a more declarative code.

2 - future updates to the definition of `defkeymap', for example to record
    all the keymaps defined, or to use the future keymap-support for Custom,
    or to make it easier for the user to define a binding in her .emacs for
    a keymap which will be loaded later, ...


-- Stefan




reply via email to

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