From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David Robinow" Newsgroups: gmane.emacs.devel Subject: Re: 23.0.60; python.el: auto-indentation doesn't work with continuation lines Date: Mon, 28 Apr 2008 13:06:35 -0400 Message-ID: <4eb0089f0804281006g15cf362rf930eda5472ff678@mail.gmail.com> References: <20080424072401.69CDFE4497@wilson.homeunix.com> <87wsmk8n65.fsf@physik.rwth-aachen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209402435 19788 80.91.229.12 (28 Apr 2008 17:07:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2008 17:07:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 28 19:07:50 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 1JqWpL-0008RQ-F5 for ged-emacs-devel@m.gmane.org; Mon, 28 Apr 2008 19:07:43 +0200 Original-Received: from localhost ([127.0.0.1]:37617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqWoe-0002Wd-SO for ged-emacs-devel@m.gmane.org; Mon, 28 Apr 2008 13:07:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqWoR-0002H1-4q for emacs-devel@gnu.org; Mon, 28 Apr 2008 13:06:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqWoM-0002BV-7K for emacs-devel@gnu.org; Mon, 28 Apr 2008 13:06:44 -0400 Original-Received: from [199.232.76.173] (port=48326 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqWoK-0002Ar-P6 for emacs-devel@gnu.org; Mon, 28 Apr 2008 13:06:40 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.244]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JqWoK-0005IP-CN for emacs-devel@gnu.org; Mon, 28 Apr 2008 13:06:40 -0400 Original-Received: by an-out-0708.google.com with SMTP id c25so1159217ana.84 for ; Mon, 28 Apr 2008 10:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hfWmeYI/uvV/eqC6Zhwc1JxOi+bsaYY3cS9/CfWBlfc=; b=SRcPYCl/l4bnqri6P2THFSnsYrt0IEusmfIZZVEu5+G3ZyMZmBeAkSlA4INiXdjnSQMSh5QGPEesyCcIhBGkIfWFcUaqhwPjnl9+Z1jkUQk2uIzIe3t2vTxaiUTO4DWDxuDPuqoKZ22xq9QTuJQuQTZgUwTM7wPYzKncx6vvSwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YtFWqJFcjHUkN4n0B3MRU0iiMImvYgufPipm6Rm2c/juvE/gNbJ/HCaMeGGCq/tSp1KpRu0BjGEUY8YCr3Z9AHB8IQhSsv3Gm9Jrzqantpuy1P47iz5qK4GutTSkZKWWIWTEIlyQXtVsar7D6t23MvxthuEeRf0KEs+gKiHkWKk= Original-Received: by 10.100.91.17 with SMTP id o17mr12090825anb.145.1209402395946; Mon, 28 Apr 2008 10:06:35 -0700 (PDT) Original-Received: by 10.100.165.5 with HTTP; Mon, 28 Apr 2008 10:06:35 -0700 (PDT) In-Reply-To: <87wsmk8n65.fsf@physik.rwth-aachen.de> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:96079 Archived-At: On Sat, Apr 26, 2008 at 2:51 PM, Torsten Bronger wrote: > Edward O'Connor writes: > > 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 > To clarify, the last line above is aligned with the continued line above it, rather than starting at the correct indentation level. This is with Dave Love's python.el included in emacs. python-mode.el, by Tim Peters, Barry Warsaw et al, indents this correctly. Recently there was some discussion about emacs switching to python-mode.el (or perhaps trying to merge the two?) The authors of python-mode.el, if I remember correctly, expressed willingness to assign copyright. What is the current status of python-mode.el ? Is it proper to look at python-mode.el when making changes to python.el? Is it a waste of time to fix bugs in python.el, since it will soon be replaced? DR