• Andrii Kolomoiets's avatar
    python.el: Pdbtracking improvements · e50587b1
    Andrii Kolomoiets authored
    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
    e50587b1
Name
Last commit
Last update
admin Loading commit data...
build-aux Loading commit data...
doc Loading commit data...
etc Loading commit data...
leim Loading commit data...
lib Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
lwlib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
msdos Loading commit data...
nextstep Loading commit data...
nt Loading commit data...
oldXMenu Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.dir-locals.el Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
BUGS Loading commit data...
CONTRIBUTE Loading commit data...
COPYING Loading commit data...
ChangeLog.1 Loading commit data...
ChangeLog.2 Loading commit data...
ChangeLog.3 Loading commit data...
GNUmakefile Loading commit data...
INSTALL Loading commit data...
INSTALL.REPO Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.bat Loading commit data...
configure.ac Loading commit data...
make-dist Loading commit data...