From: Carlos Pita Date: Fri, 15 Oct 2021 00:48:43 +0000 (-0300) Subject: Avoid replacing common prefix with ellipsis X-Git-Tag: emacs-28.0.90~151 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a96f32def09e2d8a789d0b30ce0523c63203842;p=emacs.git Avoid replacing common prefix with ellipsis * lisp/progmodes/python.el (python-shell-completion-native-setup): Configure readline not to suppress common prefixes. (Bug#51218) --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1b55db09503..f1c3e75bb73 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -3711,6 +3711,8 @@ def __PYTHON_EL_native_completion_setup(): readline.parse_and_bind('tab: complete') # Require just one tab to send output. readline.parse_and_bind('set show-all-if-ambiguous on') + # Avoid replacing common prefix with ellipsis. + readline.parse_and_bind('set completion-prefix-display-length 0') print ('python.el: native completion setup loaded') except: