gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Oct 30, 2005 3:55 pm Post subject: Emacs python-mode e completamento del codice |
|
|
Visto che abbiamo questo stupendo forum OT pongo un quesito che mi ha fatto perdere un pomeriggio inutilmente. Come si rimappa il tasto per il completamento del codice python da "M-/" a "C-c C-p"
Il codice che ho usato è:
Code: | (add-hook 'python-mode-hook '(lambda () (define-key py-mode-map "\C-c\C-p" 'py-complete))) |
Ma non sembra sortire l'effetto desiderato _________________ Registered as User #281564 and Machines #163761 |
|