[Python-mode] [ python-mode-Patches-828429 ] py-pdbtrack-grub-for-buffer typo

SourceForge.net noreply at sourceforge.net
Wed Oct 22 15:02:32 EDT 2003


Patches item #828429, was opened at 2003-10-22 21:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581351&aid=828429&group_id=86916

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Per Cederqvist (ceder)
Assigned to: Nobody/Anonymous (nobody)
Summary: py-pdbtrack-grub-for-buffer typo

Initial Comment:
py-pdbtrack-grub-for-buffer assigns and reads the
global variable "buf".  It binds "curbuf" in a let
statement, but never uses that variable.  I think that
the intent was to create a local binding and use it. 
The enclosed patch changes the binding so that the
variable name "buf" is used throughout the function.

I have not tested this.  I might be missing something
subtle.  I stumbled across this bug when I looked at
the warnings produced by Emacs 21.2 while
byte-compiling python-mode.el.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581351&aid=828429&group_id=86916



More information about the Python-mode mailing list