emacs-devel
[Top][All Lists]
Advanced

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

Re: [CVS] f7, f8 bound..


From: Stefan Monnier
Subject: Re: [CVS] f7, f8 bound..
Date: Tue, 03 Sep 2002 11:04:30 -0400

> The only one we risk confusing is the programmer, not the user.  The
> programmer will need to understand all three, the variable for
> customization, the automatically generated custom keymap, and the
> normal keymap.

Sounds like a nightmare!

> > I think we should be trying to make customize _more_ of a thin UI
> > layer on top of existing mechanisms, not less.
> 
> That is a good idea if we believe that the difference between
> the customization needs of a programmer and a non-programmer is merely
> a matter of syntactic sugar.  
> 
> I am more interested in moving the other direction, and focus on
> simplicity for the non-programmer, and generality for the programmer.
> Emacs is _still_ not really customizable for non-programmers.

I want it to be easy to use but I don't want the programmer to
have to do anything extra for it (or as little as possible).
The `defcustom' is a great example of it: to the programmer, it's
just like `defvar', to the user it offers all kinds of benefits.

I'm all in favor of `defkeymap', as long as its use is as simple
(for the programmer) as (defvar foo-mode-map ...).  If done right,
it could be even better than (defvar foo-mode-map ...) just like
`defface' is easier to use for the programmer than a set of
`make-face' and `set-face-foo' calls.


        Stefan





reply via email to

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