Staging
v0.5.1
https://github.com/python/cpython
Revision 420d0f775cd49ab2b8475df623120ab0aaa0c429 authored by Barry Warsaw on 11 April 2001, 20:23:24 UTC, committed by Barry Warsaw on 11 April 2001, 20:23:24 UTC
20.7, although not all of the compatibility code for older Emacsen has
been removed.  Specifically, the old "make sure we have a current
custom.el library" stuff is removed, as is the hack-around for an
NTEmacs 19.34.6 make-temp-name bug.

Updated much of the Commentary section in the initial comments.

Much more importantly, I've integrated Ken Manheimer's pdbtrack stuff,
which is way cool.  When enabled (as by default), this turns on the
overlay arrow when pdb is entered, either in the shell buffer or in
the *Python* buffer.  Specifically:

(py-mode-map): Added C-c C-d to toggle pdb tracking.

(py-pdbtrack-do-tracking-p): New user customizable variable to control
whether overlay arrow tracking is enabled or not.  This variable is
buffer local and is turned on by default.

(py-pdbtrack-minor-mode-string): The string that's added to the minor
mode alist when actually doing pdb overlay arrow tracking.  User
customizable.

(py-pdbtrack-toggle-stack-tracking, turn-on-pdbtrack,
turn-off-pdbtrack): New commands to control pdb tracking.

(py-pdbtrack-is-tracking-p): Helper variable used to control the
display of py-pdbtrack-minor-mode-string.  Set to true when the
overlay arrow is enabled, and false when it's disabled.

(py-pdbtrack-stack-entry-regexp, py-pdbtrack-input-prompt,
py-pdbtrack-track-range): Inherited from pdbtrack.el and renamed.

(py-pdbtrack-overlay-arrow, py-pdbtrack-track-stack-file): New
functions which actually do the tracking.

(py-shell): Add py-pdbtrack-track-stack-file to
comint-output-filter-functions.

Finally, add py-pdbtrack-track-stack-file to
comint-output-filter-functions at the file level.  This and the
py-shell addition should ensure that pdb tracking is installed
regardless of the order of operation.

Also, add py-pdbtrack-minor-mode-string to minor-mode-alist.
1 parent 4f577d2
History
Tip revision: 420d0f775cd49ab2b8475df623120ab0aaa0c429 authored by Barry Warsaw on 11 April 2001, 20:23:24 UTC
Bumping to version 4.0 since we now support only XEmacs 21.1 and Emacs
Tip revision: 420d0f7
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.9 KB
LICENSE -rw-r--r-- 9.2 KB
Makefile.pre.in -rw-r--r-- 21.7 KB
README -rw-r--r-- 37.9 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.5 KB
configure -rwxr-xr-x 176.9 KB
configure.in -rw-r--r-- 35.9 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 24.5 KB

README

back to top