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: Edward O'Connor
Subject: Re: 23.0.60; python.el: auto-indentation doesn't work with continuation lines
Date: Sat, 26 Apr 2008 11:32:01 -0700
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (darwin)

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.


Ted





reply via email to

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