summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/edebug.el
diff options
context:
space:
mode:
authorLiu Hui <liuhui1610@gmail.com>2024-01-18 12:00:00 +0800
committerEli Zaretskii <eliz@gnu.org>2024-02-08 14:09:42 +0200
commit0b9c7148fd681c8ad63fd0eb3895db44403e9f8c (patch)
treed454370049b289722ba06e2777e6006fcf762917 /lisp/emacs-lisp/edebug.el
parentebf4ef2022a5f0a69cdd881eb41104e7b59d698e (diff)
downloademacs-0b9c7148fd681c8ad63fd0eb3895db44403e9f8c.tar.gz
emacs-0b9c7148fd681c8ad63fd0eb3895db44403e9f8c.tar.bz2
emacs-0b9c7148fd681c8ad63fd0eb3895db44403e9f8c.zip
Respect the delimiter of completer in Python shell completion
* lisp/progmodes/python.el: (python-shell-completion-setup-code): Fix the completion code of IPython. Change the return value to JSON string and ... (python-shell-completion-get-completions): ... simplify parsing. (inferior-python-mode): Update docstring. (python-shell-readline-completer-delims): New variable indicating the word delimiters of readline completer. (python-shell-completion-native-setup): Set the completer delimiter. (python-shell-completion-native-get-completions): Convert output string to completions properly. (python-shell--get-multiline-input) (python-shell--extra-completion-context) (python-shell-completion-extra-context): New functions. (python-shell-completion-at-point): Send text beginning from the line start if the completion backend does not need word splitting. Remove the detection of import statement because it is not needed anymore. Create proper completion table based on completions returned from different backends. * test/lisp/progmodes/python-tests.el (python-tests--completion-module) (python-tests--completion-parameters) (python-tests--completion-extra-context): New helper functions. (python-shell-completion-at-point-jedi-completer) (python-shell-completion-at-point-ipython): New tests. (bug#68559)
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions