[Python-mode] TAB in script buffer

2014-06-25 Thread Andreas Röhler
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

Re: [Python-mode] TAB in script buffer

2014-06-25 Thread Barry Warsaw
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

Re: [Python-mode] TAB in script buffer

2014-06-25 Thread Andreas Röhler
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