From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torsten Bronger Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; python.el: auto-indentation doesn't work with continuation lines Date: Sat, 26 Apr 2008 20:51:30 +0200 Organization: Phoenix Foundation Message-ID: <87wsmk8n65.fsf@physik.rwth-aachen.de> References: <20080424072401.69CDFE4497@wilson.homeunix.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1209236201 19544 80.91.229.12 (26 Apr 2008 18:56:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 18:56:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 26 20:57:16 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jppa9-000207-F6 for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 20:57:09 +0200 Original-Received: from localhost ([127.0.0.1]:48683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JppZT-0008L3-1w for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 14:56:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JppZN-0008HZ-Bt for emacs-devel@gnu.org; Sat, 26 Apr 2008 14:56:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JppZL-0008G6-T5 for emacs-devel@gnu.org; Sat, 26 Apr 2008 14:56:21 -0400 Original-Received: from [199.232.76.173] (port=35618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JppZL-0008G3-Iy for emacs-devel@gnu.org; Sat, 26 Apr 2008 14:56:19 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JppZK-0006Ee-HI for emacs-devel@gnu.org; Sat, 26 Apr 2008 14:56:19 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JppZD-0006nG-I6 for emacs-devel@gnu.org; Sat, 26 Apr 2008 18:56:11 +0000 Original-Received: from xdsl-87-78-111-26.netcologne.de ([87.78.111.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 18:56:11 +0000 Original-Received: from bronger by xdsl-87-78-111-26.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 18:56:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-87-78-111-26.netcologne.de X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-PGP-Affinity: will accept encrypted message for GPG X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Face: +wpw"|jN2Fde|7_lKBa0\7!_6suIE_m! x)'S9ytBu8tkt'k779jbzQ4o|p+@H_DCrIdnKG]E*w X-Binford: 6100 (more power) X-Accept-Language: de, en Jabber-ID: bronger@jabber.org Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:xnxNXNw22zS0b5NuT8IiKSc0P1g= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:95986 gmane.emacs.pretest.bugs:22149 Archived-At: 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 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: bronger@jabber.org (See http://ime.webhop.org for further contact info.)