From 6e788ef0e262fafc014c21f4ad52cc5dc9f1715b Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Wed, 1 Mar 2017 17:53:12 -0500 Subject: [PATCH] ; etc/PROBLEMS: Explain about the python+libedit problem (Bug#25753). --- etc/PROBLEMS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index bb7e1b6f9c3..cd25cc8e8fa 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -464,6 +464,23 @@ problem by adding this to your .cshrc file: stty -icrnl -onlcr -echo susp ^Z endif +*** In Inferior Python mode, input is echoed and native completion doesn't work. + + +This happens when python uses a libedit based readline module, which +is the default on macOS. This can be worked around by installing a +GNU readline based module instead, for example, using setuptools + + sudo easy_install gnureadline + +And then rename the system's readline so that it won't be loaded: + + cd /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload + mv readline.so readline.so.bak + +See for more details on +installation. + *** Emacs startup on GNU/Linux systems (and possibly other systems) is slow. This can happen if the system is misconfigured and Emacs can't get the -- 2.39.5