emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 6e788ef: ; etc/PROBLEMS: Explain about the python


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-25 6e788ef: ; etc/PROBLEMS: Explain about the python+libedit problem (Bug#25753).
Date: Wed, 1 Mar 2017 17:55:11 -0500 (EST)

branch: emacs-25
commit 6e788ef0e262fafc014c21f4ad52cc5dc9f1715b
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    ; 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 bb7e1b6..cd25cc8 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.
+<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753>
+
+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 <https://pypi.python.org/pypi/gnureadline> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]