Using tabs instead of spaces in IDLE?
Philip Swartzleonard
starx at pacbell.net
Sat Feb 16 02:13:41 EST 2002
Carl Banks || Thu 14 Feb 2002 10:43:49p:
> Courageous wrote:
>>
>>>> This sounds ingenious, but what happens when you save the
>>>> file and load it back? Does it remember this information
>>>> somehow, or does it get lost?
>>>
>>>The editor remembers this information by saving it in the text file
>>>itself.
>>
>> I believe that you're answering a different question than what
>> he asked.
>
> Yeah. Although the question was about vim, my mind was still thinking
> Emacs from a few posts ago. Emacs scans the line(s) above to
> determine how to unindent, i.e., all of the unindent information is
> saved in the file.
Perhaps more clearly: The formatting of the code itself is the unindent
information; emacs examines the code struture to figure out how to do this
(and other things).
--
Philip Sw "Starweaver" [rasx] :: www.rubydragon.com
More information about the Python-list
mailing list