[Python-checkins] python/dist/src/Misc python-mode.el,4.32,4.33

klm@users.sourceforge.net klm@users.sourceforge.net
Thu, 01 May 2003 13:46:17 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv11225

Modified Files:
	python-mode.el 
Log Message:
Allow for multiple parens around pdb prompt for (new) nested debugging
sessions (and some cosmetic wording changes).


Index: python-mode.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python-mode.el,v
retrieving revision 4.32
retrieving revision 4.33
diff -C2 -d -r4.32 -r4.33
*** python-mode.el	3 Mar 2003 17:09:44 -0000	4.32
--- python-mode.el	1 May 2003 20:46:14 -0000	4.33
***************
*** 484,488 ****
    "Regular expression pdbtrack uses to find a stack trace entry.")
  
! (defconst py-pdbtrack-input-prompt "\n[(<]?pdb[>)]? "
    "Regular expression pdbtrack uses to recognize a pdb prompt.")
  
--- 484,488 ----
    "Regular expression pdbtrack uses to find a stack trace entry.")
  
! (defconst py-pdbtrack-input-prompt "\n[(<]+pdb[>)]+ "
    "Regular expression pdbtrack uses to recognize a pdb prompt.")
  
***************
*** 1291,1296 ****
  current function \(or class) or which defines the function \(or
  class).  This is to provide for remote scripts, eg, Zope's 'Script
! (Python)' - put a _copy_ of the script in a python-mode buffer named
! for the script and pdbtrack will find it.)"
    ;; Instead of trying to piece things together from partial text
    ;; (which can be almost useless depending on Emacs version), we
--- 1291,1296 ----
  current function \(or class) or which defines the function \(or
  class).  This is to provide for remote scripts, eg, Zope's 'Script
! (Python)' - put a _copy_ of the script in a buffer named for the
! script, and set to python-mode, and pdbtrack will find it.)"
    ;; Instead of trying to piece things together from partial text
    ;; (which can be almost useless depending on Emacs version), we
***************
*** 1379,1383 ****
               (format "(Non-file source: '%s')" filename))
  
!             (t (format "Function/file not found: %s(), %s" funcname filename)))
        )
      )
--- 1379,1383 ----
               (format "(Non-file source: '%s')" filename))
  
!             (t (format "Not found: %s(), %s" funcname filename)))
        )
      )