unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Torsten Bronger <bronger@physik.rwth-aachen.de>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; python.el: auto-indentation doesn't work with continuation lines
Date: Thu, 24 Apr 2008 09:24:01 +0200 (CEST)	[thread overview]
Message-ID: <20080424072401.69CDFE4497@wilson.homeunix.com> (raw)

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.


In GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu)
 of 2008-04-20 on wilson
Windowing system distributor `The Cygwin/X Project', version 11.0.60899901
configured using `configure  '--prefix=/usr/local/' '--mandir=/usr/local/share/man/' '--infodir=/usr/local/share/info/' '--with-x-toolkit=no' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
  global-auto-revert-mode: t
  savehist-mode: t
  display-time-mode: t
  desktop-save-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t





             reply	other threads:[~2008-04-24  7:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24  7:24 Torsten Bronger [this message]
2008-04-26 18:32 ` 23.0.60; python.el: auto-indentation doesn't work with continuation lines Edward O'Connor
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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20080424072401.69CDFE4497@wilson.homeunix.com \
    --to=bronger@physik.rwth-aachen.de \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).