jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: python-mode and fold-mode


On  8.06.07, Jörg Sommer wrote:
> "G. Milde" <milde@xxxxxxxxxxxxxxxxxxxxx> wrote:


> It's up to John to make the real decision, but I follow you that
> _Reserved_Key_Prefix should only be used by major modes.

> > IMO, keybindings for "minor" modes in the Jed standard library should be
> > set in the emulation mode and not use the _Reserved_Key_Prefix.

> What about implementing a function that makes the decision?

> define minor_mode_key_prefix(mode, keymap)
...

> This way, every emulation (EDT, emacs, IDE, vi) can implement it's own
> version of minor_mode_key_prefix() and the user can change settings.

Wouldn't an associative array work as well?

However, there is still the problem that the "minor bindings" should go to
Global *before* any other keymaps are created. This is why I prefer to have
the bindings "hardwired" in the emulation modes.

I suppose there are not many minor modes to accomodate...

Günter

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]