aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/package-activate.el
diff options
context:
space:
mode:
authorLiu Hui2026-01-30 18:10:30 +0800
committerEli Zaretskii2026-02-21 16:51:28 +0200
commitf2b99c4c0b1cca4360a6c516ca99e716e531fae5 (patch)
tree206bb3eb550317a3b597c2cca5ac2f2c80e370bd /lisp/emacs-lisp/package-activate.el
parent6f29a0ca7b179f2fa909bd27de69aa113ceab01e (diff)
downloademacs-master.tar.gz
emacs-master.zip
Use a custom Pdb class in the Python shellHEADmaster
The custom Pdb class enables native completion in pdb by wrapping the pdb's native completer. It also makes necessary function definitions like __PYTHON_EL_* available between pdb frames, and enables non-native completion/ffap/eldoc functionalities when debugging inside python modules. * lisp/progmodes/python.el (python-shell-send-setup-code): Fix the separator between python-shell-setup-codes. (python-shell-completion-native-setup): Move common completion setup code ... (python-shell-completion-setup-code): ... here. (python-shell-completion-at-point): Enable native completion for pdb and respect the delimiter of pdb completer. (python-shell-pdb-setup-code): New variable. (python-shell-comint-watch-for-first-prompt-output-filter): Send setup codes only once. (python-ffap-module-path, python-eldoc--get-doc-at-point): Stop sending setup code in every function call. * test/lisp/progmodes/python-tests.el (python-tests--pdb-1) (python-shell-pdb-1): New test. * etc/NEWS: Mention the change. (bug#80182)
Diffstat (limited to 'lisp/emacs-lisp/package-activate.el')
0 files changed, 0 insertions, 0 deletions