[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34582: [PATCH] Make python-shell-prompt-block-regexp match IPython p
From: |
Andrii Kolomoiets |
Subject: |
bug#34582: [PATCH] Make python-shell-prompt-block-regexp match IPython prompt |
Date: |
Tue, 19 Feb 2019 23:57:07 +0200 |
Hi,
This patch make python-shell-prompt-block-regexp match also IPython's
multiline prompt.
It allows to correctly disable non-native completions during multiline
statement in inferior-python-mode that runs IPython interpreter.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 71b2a94c07..b1d6796f27 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2011,7 +2011,7 @@ python-shell-prompt-regexp
It should not contain a caret (^) at the beginning."
:type 'string)
-(defcustom python-shell-prompt-block-regexp "\\.\\.\\. "
+(defcustom python-shell-prompt-block-regexp "\\.\\.\\.:? "
"Regular expression matching block input prompt of Python shell.
It should not contain a caret (^) at the beginning."
:type 'string)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#34582: [PATCH] Make python-shell-prompt-block-regexp match IPython prompt,
Andrii Kolomoiets <=