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

SourceForge.net noreply at sourceforge.net
Fri Dec 19 09:50:19 EST 2003


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

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
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.

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

>Comment By: Skip Montanaro (montanaro)
Date: 2003-12-19 08:50

Message:
Logged In: YES 
user_id=44345

Thanks.  Sorry for the delay.  python-mode.el 4.45.


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

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