M-x customize-variable jde-key-bindings
Insert your new key bindings
Save for future sessions (writes to your .emacs)

Regards
Jason


Ulrich Obst <[EMAIL PROTECTED]>

09/18/02 08:48 AM

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Can't redefine JDE Keys



Hi

I'd like to redefine some of the JDE keybindings, e.g.
C-c C-v C-s should open the super class source rather than the speedbar
(because I never use the speedbar.)

In my .emacs file I wrote:

(add-hook 'jde-mode-hook (lambda()
    (local-set-key "\C-c\C-v\C-s" 'jde-show-superclass-source)
))

This works when I open a Java source for the first time. But when I
open a second one and change back to the first source
the original keybinding is active.

(I also tried the jde-entering-java-buffer-hook, but this hook is
never called on my system)

So how can I customize the JDE keybindings without chaning the original
jde source?

Thanks
ulli



Reply via email to