From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Shinn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3782: 23.1.50; Indent works inconsistently in python-mode Date: Tue, 7 Jul 2009 21:26:29 -0400 (EDT) Message-ID: <20090708012629.7A88F16872B@dagda> Reply-To: Rob Shinn , 3782@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247022182 2932 80.91.229.12 (8 Jul 2009 03:03:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 03:03:02 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 08 05:02:55 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MONQr-0008HM-UF for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 05:02:54 +0200 Original-Received: from localhost ([127.0.0.1]:56392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MONQr-0000GK-7K for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 23:02:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOM6H-0004Pe-B1 for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 21:37:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOM6D-0004Ml-Jy for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 21:37:33 -0400 Original-Received: from [199.232.76.173] (port=56046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOM6D-0004Mg-HM for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 21:37:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57797) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOM6C-00077P-SI for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 21:37:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n681bQU5002666; Tue, 7 Jul 2009 18:37:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n681Z4Dg001960; Tue, 7 Jul 2009 18:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Rob Shinn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Jul 2009 01:35:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3782 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1247016405984 (code B ref -1); Wed, 08 Jul 2009 01:35:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Jul 2009 01:26:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n681QeRD000972 for ; Tue, 7 Jul 2009 18:26:41 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:45182) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MOLvj-0007qv-Fl for emacs-pretest-bug@gnu.org; Tue, 07 Jul 2009 21:26:39 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MOLvf-0005Po-Qv for emacs-pretest-bug@gnu.org; Tue, 07 Jul 2009 21:26:39 -0400 Original-Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:53674) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOLvf-0005PC-HS for emacs-pretest-bug@gnu.org; Tue, 07 Jul 2009 21:26:35 -0400 Original-Received: from dagda ([65.32.70.106]) by hrndva-omta04.mail.rr.com with ESMTP id <20090708012628104.ZJEQ16393@hrndva-omta04.mail.rr.com> for ; Wed, 8 Jul 2009 01:26:28 +0000 Original-Received: by dagda (Postfix, from userid 1000) id 7A88F16872B; Tue, 7 Jul 2009 21:26:29 -0400 (EDT) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 07 Jul 2009 21:37:33 -0400 X-Mailman-Approved-At: Tue, 07 Jul 2009 23:02:47 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29241 gmane.emacs.pretest.bugs:24743 Archived-At: Scenario A: 1. Define a new function: def foo(bar): 2. Press tab to indent (this works): 3. Write an 'if' statement: def foo(bar): if bar: 4. Press Return. 5. Press Tab, you will get "Sole indentation." and Emacs does not indent. Scenario B: 1. Open a Python source file with functions in it. 2. Press Return at the end of an exist 'def'. 3. Pressing Tab may or may not indent. In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.11) of 2009-07-05 on dagda Windowing system distributor `The X.Org Foundation', version 11.0.70200000 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Python Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: t h i n g ( ) : i f SPC p l a t g f o r m f o r m . o s - . a n n a m e SPC = = SPC ' p o s i x ' : s o m e t h i n g . s e o m e t h i n g SPC . s o m e t h i n g SPC = = SPC ' p o x i i x s i x ' : SPC = = SPC ' p o s i x ' : s o m e t h i n g : Recent messages: Closes def syslog_level(self, level): Closes class Level(): Auto-saving...done Closes else: Closes def syslog_level(self, level): Closes class Level(): Sole indentation [7 times] Auto-saving...done Sole indentation [15 times] Auto-saving...done