[Python-mode] [ python-mode-Bugs-1250516 ] strange tab key behavior for newer python constructs
SourceForge.net
noreply at sourceforge.net
Tue Aug 2 22:18:22 CEST 2005
Bugs item #1250516, was opened at 2005-08-02 15:08
Message generated for change (Comment added) made by montanaro
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1250516&group_id=86916
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Mike Coleman (mkc)
Assigned to: Nobody/Anonymous (nobody)
Summary: strange tab key behavior for newer python constructs
Initial Comment:
If you paste this into a python-mode buffer and then
put the cursor on the second line and hit tab
repeatedly, you'll get strange (non-idempotent) behavior.
print >> log, '\t'.join([ form[x].value
for x in ('name',
'institution', 'email') ])
----------------------------------------------------------------------
>Comment By: Skip Montanaro (montanaro)
Date: 2005-08-02 15:18
Message:
Logged In: YES
user_id=44345
That is by design. It's supposed to cycle back through the
tab stops
until you reach column 1, after which the next TAB press
reindents
the line. This allows you to adjust the indentation of
nested lines a bit
easier.
If this is a problem and you can suggest better behavior,
feel free to
reopen the ticket.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1250516&group_id=86916
More information about the Python-mode
mailing list