]> git.eshelyaron.com Git - emacs.git/commit
Revise pdbtrack functionality to incorporate advances in python-mode.el.
authorKen Manheimer <ken.manheimer@gmail.com>
Thu, 21 Feb 2008 22:28:13 +0000 (22:28 +0000)
committerKen Manheimer <ken.manheimer@gmail.com>
Thu, 21 Feb 2008 22:28:13 +0000 (22:28 +0000)
commit82ede38976aab812724f8c8075c83985ec771074
treeba6dda6060ef97352a1f5e0b56ef550a0a378306
parent26e99723805dcf1809ffbe209f05722dc82845c3
Revise pdbtrack functionality to incorporate advances in python-mode.el.

(I'm doing this python.el checkin with some byte-compiler warnings.  These
warnings existed before Nick Roberts or I applied any of the pdbtrack
changes, and look very clearly like preexisting, incomplete adoption of
code from python-mode.el.  I'm going to next look at settling those
warnings, though I don't have time for a major reconciliation of the two
python-mode implementations.)

(python-pdbtrack-toggle-stack-tracking): Clarify docstring.
(python-pdbtrack-minor-mode-string): A sign indicating that pdb
tracking is happening.
(python-pdbtrack-stack-entry-regexp): Better recognize stack traces.
(python-pdbtrack-input-prompt): Better recognize PDB prompts.
(add python-pdbtrack-track-stack-file to comint-output-filter-functions):
Tracking is plugged in to all comint buffers once python.el is loaded.
(python-pdbtrack-overlay-arrow): Toggle activation of
`python-pdbtrack-minor-mode-string' in addition to the overlay arrow.
(python-pdbtrack-track-stack-file): Use new
`python-pdbtrack-get-source-buffer' for more flexible access to
debugging source files.
(python-pdbtrack-get-source-buffer): Identify debugging target
buffer according to pdb stack trace, optionally using new
`python-pdbtrack-grub-for-buffer' if file is not locally
available.
(python-pdbtrack-grub-for-buffer): Find most recent python-mode
named buffer, or having function with indicated name.
(python-shell): Remove comint-output-filter-functions hook
addition, it's being done elsewhere.  Wrap long line.
lisp/ChangeLog
lisp/progmodes/python.el