emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; python.el: auto-indentation doesn't work with continuation


From: Torsten Bronger
Subject: Re: 23.0.60; python.el: auto-indentation doesn't work with continuation lines
Date: Sat, 26 Apr 2008 20:51:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hallöchen!

Edward O'Connor writes:

> Torsten Bronger wrote:
>
>> When I use a continuation line (either by parenthesis or by
>> backslash) in a Python program, the following, non-continuated
>> line is erroneous indented. For example,
>>
>> def open_file():
>>     file_ = open("file.txt",
>>                  "r")
>>
>> makes <TAB> jump between column 0 and 17, although 4 would be
>> correct.
>
> Actually, that indentation is correct. The arguments in multi-line
> function calls should be aligned in such a way.

I said, the "following, non-continuated line is erroneous indented":

def open_file():
    file_ = open("file.txt",
                 "r")
    here_to_proceed = True

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: address@hidden
               (See http://ime.webhop.org for further contact info.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]