From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Re: bug in Python-mode Date: Mon, 18 Dec 2006 01:06:35 +0100 Message-ID: <20061218010336.3DE7.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <20061218003418.3DDA.SLAWOMIR.NOWACZYK.847@student.lu.se> <200612180203.59327.pogonyshev@gmx.net> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1166400429 1588 80.91.229.10 (18 Dec 2006 00:07:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2006 00:07:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 18 01:07:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gw628-0000PZ-EW for ged-emacs-devel@m.gmane.org; Mon, 18 Dec 2006 01:07:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw627-0002CX-UK for ged-emacs-devel@m.gmane.org; Sun, 17 Dec 2006 19:07:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gw61p-0002A7-TH for emacs-devel@gnu.org; Sun, 17 Dec 2006 19:06:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gw61n-00028C-8l for emacs-devel@gnu.org; Sun, 17 Dec 2006 19:06:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gw61m-000283-W8 for emacs-devel@gnu.org; Sun, 17 Dec 2006 19:06:47 -0500 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gw61m-00067x-Ag for emacs-devel@gnu.org; Sun, 17 Dec 2006 19:06:46 -0500 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.13.6/8.13.6/perf-jw-tr) with ESMTP id kBI06iWs028857; Mon, 18 Dec 2006 01:06:44 +0100 (CET) Original-To: Paul Pogonyshev In-Reply-To: <200612180203.59327.pogonyshev@gmx.net> X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.25.02 [en] 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:63908 Archived-At: On Mon, 18 Dec 2006 02:03:59 +0200 Paul Pogonyshev wrote: #> Slawomir Nowaczyk wrote: #> > On Sun, 17 Dec 2006 21:51:41 +0200 #> > Paul Pogonyshev wrote: #> > #> > #> I wrote: #> > #>> Indentation of this construct is broken: #> > #>> #> > #>> sys.stderr.write (str (lambda x: #> > #>> x + 1)) #> > #>> #> > #>> The reason is the ending column after lambda declaration. #> > #> #> > #> I meant `colon' of course. #> > #> > Well, you may be right, but I am not entirely sure... How do you think #> > the indentation *should* look in this case? #> #> Damn, I cannot formulate even two sentences properly. Indentation #> _after_ this construct is broken. Try copying it into a Python-mode #> buffer and try to add a statement after it. Well, both: sys.stderr.write (str (lambda x: x + 1)) a = 1 and: def aa(): sys.stderr.write (str (lambda x: x + 1)) a = 1 indent properly on my machine... Did I misunderstood you again? -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) Honeymoon: time between I do and you'd better