Emacs python mode question

Skip Montanaro skip at pobox.com
Sat Jan 10 17:25:59 EST 2004


    jb> gogo-line is on the menu but is not bound to a key. How can I bind
    jb> it?

M-x global-set-key RET

should do the job interactively.  In your ~/.emacs file use something like:

    (define-key esc-map [g] 'goto-line)

YMMV.  I don't use GNU Emacs anymore.  Keybindings is one area in which
Emacs and XEmacs have diverged.  Try C-h f define-key RET.

Skip




More information about the Python-list mailing list