all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Edward O'Connor <hober0@gmail.com>
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; python.el: auto-indentation doesn't work with continuation lines
Date: Sat, 26 Apr 2008 11:32:01 -0700	[thread overview]
Message-ID: <m2ej8szcv2.fsf@gmail.com> (raw)
In-Reply-To: 20080424072401.69CDFE4497@wilson.homeunix.com

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	other threads:[~2008-04-26 18:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18495.14283.684156.693737@fencepost.gnu.org>
2008-04-24  7:24 ` 23.0.60; python.el: auto-indentation doesn't work with continuation lines Torsten Bronger
2008-04-26 18:32   ` Edward O'Connor [this message]
2008-04-26 18:51     ` Torsten Bronger
2008-04-28 17:06       ` David Robinow
2008-04-28 18:02         ` Glenn Morris
2008-04-28 18:41           ` Stefan Monnier
2008-04-28 19:53             ` Glenn Morris
2008-04-29  1:03               ` Stefan Monnier
2008-04-29  3:45                 ` Glenn Morris
2008-04-29  4:22                   ` Stefan Monnier
2008-05-29 23:20   ` bug#155: marked as done (23.0.60; python.el: auto-indentation doesn't work with continuation lines) Emacs bug Tracking System

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=m2ej8szcv2.fsf@gmail.com \
    --to=hober0@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@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.