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 #11 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: Tue, 20 Oct 2015 20:58:00 +0300
Eric Hanchrow (2015-10-19 16:08 +0300) wrote:

> Yes, sorry... Completion fail :-)

No problem, it happens :-)

> On Mon, Oct 19, 2015, 4:15 AM Alex Kost <alezost <at> gmail.com> wrote:
>
>     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

I received this reply privately, so I CC this message to debbugs for
those who have the rights to close this bug, thanks.

--
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.