Subject: Re: bug#27712: 26.0.50; ffap in python-mode

From: [email-masked]
Date: Sat, 15 Jul 2017 18:19:31 -0400

tags 27712 + moreinfo
quit

[email-masked] writes:

> In python-mode, with elpy loaded (seems to have no effect), nothing has
> effect.

Does "have no effect" mean you can reproduce this without loading elpy?
Or is the only effect that you get this error?  Can you show how to get
the error starting from 'emacs -Q'?  Does doing 'M-:
(python-shell-prompt-set-calculated-regexps) RET' help?

> I'm just doing "ido-find-file".

>From what buffer?

> The trace shows ffap in there.
>
> This is the debugger info:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   replace-regexp-in-string("\\`\\^" "" nil)
>   (concat "\015?\n?" (replace-regexp-in-string "\\`\\^" "" python-shell--prompt-calculated-input-regexp) "\\'")