50_emacs-bindings.dpatch

Rafael Laboissiere Rafael Laboissiere <rafael@debian.org>
Tue, 31 May 2005 10:37:52 +0200


* Jörg Sommer <joerg@alea.gnuu.de> [2005-05-30 14:17]:

> G. Milde schrieb am Mon 30. May, 10:40 (+0200):
> > Not all jed users prefer emacs,
> 
> Right.
> 
> > offering a choice right from the start makes it clear that jed is more
> > than just an emacs clone.
> > 
> >    Jed Default Emulation
> >    ---------------------
> > 
> >    Choose the keybinding scheme that jed should use by default
> >    (users can override this in their .jedrc file)
> > 
> >    [x]  emacs        % Emacs-like bindings
> >    [ ]  cua          % CUA bindings (KDE/Gnome like)
> >    [ ]  edt          % EDT emulation
> >    [ ]  ide          % Borland IDE emulation
> >    [ ]  native jed   % Native JED bindings
> > 
> > With jed-extra installed, there are also
> > 
> >    [ ]  brief        % Brief keybindings
> >    [ ]  vi           % VI emulation
> 
> Good idea, but I've never use debconf, so I need some time to get
> familar with it.

I also agree that this could be a good idea, although this is more a
user-specific than a site-wide configuration issue.  We could also
provide a simple text-based program that allows users to choose the
keybinding scheme with a menu like the above.  This program would change
the contents of a user-specific file (e.g. ~/.jed-keybinding), which
would be read by one of system initialization files (probably the one
which sets _Jed_Default_Emulation).  What do you think?

At any rate, before getting too carried on about the idea of using
debconf, it would be a good idea to ask the opinion of others in the
debian-devel mailing list. The developers-reference manual tells us to
not abuse debconf (see
file:///usr/share/doc/developers-reference/ch-best-pkging-practices.en-us.iso-8859-1.html#s6.5.1)

-- 
Rafael