[Python-mode] TAB in script buffer

Andreas Röhler andreas.roehler at online.de
Wed Jun 25 16:04:21 CEST 2014


Hi,

lately TAB in Python shell was bound to `py-shell-complete-or-indent'.

What about doing likewise in script buffers - where TAB is currently `py-indent-line'?

Unfortunatly the default completion-key M-TAB is used by most X-windows systems, so users must re-configure first.

Binding it to TAB would solve that.

BTW in this case completion should only be called at end of line and with word before. Otherwise TAB would `py-indent-line' - as a second TAB would do also.

Comments?

Cheers,

Andreas



More information about the Python-mode mailing list