Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs python-mode e completamento del codice
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Oct 30, 2005 3:55 pm    Post subject: Emacs python-mode e completamento del codice Reply with quote

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 :roll:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum