GNU bug report logs - #21705
25.0.50; error while entering trivial Python program

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Mon, 19 Oct 2015 00:24:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21705 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: Eric Hanchrow <eric.hanchrow <at> gmail.com>
Cc: 21705 <at> debbugs.gnu.org
Subject: Re: bug#21705: 25.0.50; error while entering trivial Python program
Date: Mon, 19 Oct 2015 14:15:59 +0300
Eric Hanchrow (2015-10-19 03:23 +0300) wrote:

>     C-x C-f /tmp/wat.py RET
>     M-x toggle-debug-on-error RET
>     x = [ RET
>
> That leads to this error:
>
>     Debugger entered--Lisp error: (wrong-type-argument
> number-or-marker-p nil)
>       python-indent-context()
>       python-indent--calculate-indentation()
>       python-indent-calculate-indentation(nil)
>       python-indent-line(nil)
>       python-indent-line-function()
>       indent-according-to-mode()
>       electric-indent-post-self-insert-function()
>       self-insert-command(1)
>       newline(nil 1)
>       funcall-interactively(newline nil 1)
>       call-interactively(newline nil nil)
>       command-execute(newline)

Is this message intended for <bug-gnu-emacs <at> gnu.org>?

-- 
Alex




This bug report was last modified 9 years and 214 days ago.

Previous Next


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