aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAndrii Kolomoiets2019-11-02 18:08:13 +0200
committerEli Zaretskii2019-11-07 18:53:04 +0200
commite50587b1db8475fd45e6668f97ca7bc28b798996 (patch)
treee51d7e5dd91759fa98780b1799032e8aa6411ce2 /src/process.c
parent3df1cf75f2f2be9549b6ffe3649387d2b4246f06 (diff)
downloademacs-e50587b1db8475fd45e6668f97ca7bc28b798996.tar.gz
emacs-e50587b1db8475fd45e6668f97ca7bc28b798996.zip
python.el: Pdbtracking improvements
Allow not to kill buffers when pdbtracking session is finished. Pdbtracking session considered finished judging from the user input. * lisp/progmodes/python.el (python-pdbtrack-kill-buffers): New customizable variable. (python-pdbtrack-set-tracked-buffer): Use it. (python-pdbtrack-unset-tracked-buffer) (python-pdbtrack-tracking-finish): New functions. (python-pdbtrack-continue-command, python-pdbtrack-exit-command): New customizable variables. (python-pdbtrack-process-sentinel): New function. Finish pdbtracking session when process is killed. (python-pdbtrack-prev-command-continue): New variable. (python-pdbtrack-comint-input-filter-function): New function. Finish pdbtracking session based on commands sent to pdb. (python-pdbtrack-comint-output-filter-function): Unset/set tracking buffer if looking at pdb prompt; finish pdbtracking session if filename of current stack frame starts with "<" e.g. "<stdin>". (python-pdbtrack-comint-output-filter-function): Don't override overlay-arrow-string. (python-pdbtrack-setup-tracking): New function. (inferior-python-mode): Use it. (python-pdbtrack-stacktrace-info-regexp): Default value is changed. Must also match lines with filename like "<stdin>" and "<string>". * etc/NEWS: Mention python-pdbtrack-kill-buffers
Diffstat (limited to 'src/process.c')
0 files changed, 0 insertions, 0 deletions