GNU bug report logs - #20742
24.5; python mode indentation fails pep8

Previous Next

Package: emacs;

Reported by: Tommi Komulainen <tommi.komulainen <at> iki.fi>

Date: Fri, 5 Jun 2015 15:22:02 UTC

Severity: normal

Tags: fixed, patch

Merged with 19906

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: Tommi Komulainen <tommi.komulainen <at> iki.fi>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20742 <at> debbugs.gnu.org
Subject: bug#20742: 24.5; python mode indentation fails pep8
Date: Fri, 05 Jun 2015 20:25:54 +0000
[Message part 1 (text/plain, inline)]
That's almost certainly me having the cursor after the closing bracket
rather than on top of it while double-checking the indentation on each
line. Best I can tell it made no difference to the indentation.

The other bug is closely related when the opening bracket is *not* followed
by newline, though I can't immediately say if either of the possible
indentations is preferred or an error according to pep8.

On Fri, 5 Jun 2015 at 22:16 Glenn Morris <rgm <at> gnu.org> wrote:

> Tommi Komulainen wrote:
>
> > python-indent--calculate-indentation: Wrong type argument:
> > number-or-marker-p, nil [2 times]
>
> Perhaps the behaviour is not intended.
> (Related to bug#20560?)
>
[Message part 2 (text/html, inline)]

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

Previous Next


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