From: Chong Yidong Date: Sat, 27 Feb 2010 00:19:50 +0000 (-0500) Subject: Minor Python mode fix (Bug#5653). X-Git-Tag: emacs-pretest-23.1.93~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8280f393023247c6cb21e7546fc9edd891fb711;p=emacs.git Minor Python mode fix (Bug#5653). * progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow the characters _<> in the stack entry (Bug#5653). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 434e3aab619..1eb01818750 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-02-27 Jeremy Whitlock (tiny change) + + * progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow + the characters _<> in the stack entry (Bug#5653). + 2010-02-26 Kenichi Handa * language/burmese.el: Fix entries in composition-function-table. diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a6354eff998..4e0f326e2d4 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -576,7 +576,7 @@ Currently-active file is at the head of the list.") (defvar python-pdbtrack-is-tracking-p nil) (defconst python-pdbtrack-stack-entry-regexp - "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_]+\\)()" + "^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()" "Regular expression pdbtrack uses to find a stack trace entry.") (defconst python-pdbtrack-input-prompt "\n[(<]*[Pp]db[>)]+ "