GNU bug report logs - #19906
python.el: indenting parenthesized lists

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Thu, 19 Feb 2015 20:37:01 UTC

Severity: normal

Tags: fixed, patch

Merged with 20742

Found in version 24.5

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: 19906 <at> debbugs.gnu.org
Cc: fgallina <at> gnu.org
Subject: bug#19906: python.el: indenting parenthesized lists
Date: Thu, 19 Feb 2015 17:36:11 -0300
Say * is the point.

Try:

def f(a,*<Enter>

You get:

def f(a,
      *

which is fine. Now try:

def f(a,*<Enter>):

You get:

def f(a,
*):

which is wrong.

I've not further investigated this issue, but the trailing parenthesis
shouldn't affect indentation.

Cheers
--
Carlos




This bug report was last modified 6 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.