On 25.06.2014 16:28, Barry Warsaw wrote:
On Jun 25, 2014, at 04:04 PM, Andreas Röhler wrote:

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?

Hmm, maybe.  I'd have to try it for a while to make sure it doesn't interfere
with normal code editing.

It should not. Beside reverting will not be an issue - just didn't want to 
create a surprise.

  FWIW, I'm a big fan of dabbrev-complete.

Me too - as the good quite often is nearby :)

#

-Barry


_______________________________________________
Python-mode mailing list
Python-mode@python.org
https://mail.python.org/mailman/listinfo/python-mode

Reply via email to