all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: bug in Python-mode
Date: Mon, 18 Dec 2006 01:06:35 +0100	[thread overview]
Message-ID: <20061218010336.3DE7.SLAWOMIR.NOWACZYK.847@student.lu.se> (raw)
In-Reply-To: <200612180203.59327.pogonyshev@gmx.net>

On Mon, 18 Dec 2006 02:03:59 +0200
Paul Pogonyshev <pogonyshev@gmx.net> wrote:

#> Slawomir Nowaczyk wrote:
#> > On Sun, 17 Dec 2006 21:51:41 +0200
#> > Paul Pogonyshev <pogonyshev@gmx.net> 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

  reply	other threads:[~2006-12-18  0:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-17 19:46 bug in Python-mode Paul Pogonyshev
2006-12-17 19:51 ` Paul Pogonyshev
2006-12-17 23:46   ` Slawomir Nowaczyk
2006-12-18  0:03     ` Paul Pogonyshev
2006-12-18  0:06       ` Slawomir Nowaczyk [this message]
2006-12-18  0:20         ` Paul Pogonyshev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061218010336.3DE7.SLAWOMIR.NOWACZYK.847@student.lu.se \
    --to=slawomir.nowaczyk.847@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.