Im hoping this reproduces on other machines, this is with the latest Textmate with all the halloween stuff that just downloaded last night.
the bug is that TextMate hangs totally when entering a particular sequence of text, when Python highlighting is enabled.
Steps to reproduce:
1. create a new file.
2. Enter the following line (im sure lots of other text works, this is the one i found):
print "registerprocessor", str(mapper), repr(processor.key), str (mapperfrom)
3. save the file with a .py extension, say "foo.py"
4. make sure the "python" file type is selected at the bottom. the file should light up with the python highlighting.
5. place the cursor directly before the word "repr" in the above string. then, type this text within the line (type it by hand; cutting and pasting doesnt seem to do it):
repr(processor),
6. on my machine, as soon as I type the right parenthesis, and then try to type the comma, textmate completely hangs (via indefinite beachball).
im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ? it worked much better, this one doenst even highlight consistently (i.e. variable names sometimes come out *bold*, sometimes *italic*, etc).
On 1. Nov 2006, at 02:17, Michael Bayer wrote:
[...] im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ?
I believe this has since been fixed, if you have svn on your system you can run these three lines to update just the Python bundle:
# assume you have TextMate in /Applications cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
# remove the old bundle rm -rf Python.tmbundle
# retrieve latest version svn export http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
If you still see problems with the latest version, please let us know.
It is also possible to retrieve the bundle prior to the latest changes, that would be done using:
svn export -r5797 http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
I forgot to mention, after having exported the bundle, be sure to either relaunch TextMate, or select Bundles → Bundle Editor → Reload Bundles from within TextMate.
On 1. Nov 2006, at 02:46, Allan Odgaard wrote:
On 1. Nov 2006, at 02:17, Michael Bayer wrote:
[...] im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ?
I believe this has since been fixed, if you have svn on your system you can run these three lines to update just the Python bundle:
# assume you have TextMate in /Applications cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
# remove the old bundle rm -rf Python.tmbundle
# retrieve latest version svn export http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
If you still see problems with the latest version, please let us know.
It is also possible to retrieve the bundle prior to the latest changes, that would be done using:
svn export -r5797 http://macromates.com/svn/Bundles/trunk/ Bundles/Python.tmbundle
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
thanks for the prompt response ! ill give that a try.
On Oct 31, 2006, at 8:49 PM, Allan Odgaard wrote:
I forgot to mention, after having exported the bundle, be sure to either relaunch TextMate, or select Bundles → Bundle Editor → Reload Bundles from within TextMate.
On 1. Nov 2006, at 02:46, Allan Odgaard wrote:
On 1. Nov 2006, at 02:17, Michael Bayer wrote:
[...] im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ?
I believe this has since been fixed, if you have svn on your system you can run these three lines to update just the Python bundle:
# assume you have TextMate in /Applications cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
# remove the old bundle rm -rf Python.tmbundle
# retrieve latest version svn export http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
If you still see problems with the latest version, please let us know.
It is also possible to retrieve the bundle prior to the latest changes, that would be done using:
svn export -r5797 http://macromates.com/svn/Bundles/trunk/ Bundles/Python.tmbundle
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
well, it appears that my original issue persists, and it occurs with both the latest bundle as well as the 5797 version...so it would seem the issue is in textmate itself (and perhaps some interaction with the python bundle). the case to reproduce can be made even simpler:
1. new file (or any file)
2. enable python highlighting
3. type: "print foo(bar)"
4. back the cursor up right before the "foo", and manually type "lala (bar), ", attempting to make the line say "print lala(bar), foo (bar)". after you type the last ), textmate hangs indefinitely.
On Oct 31, 2006, at 8:49 PM, Allan Odgaard wrote:
I forgot to mention, after having exported the bundle, be sure to either relaunch TextMate, or select Bundles → Bundle Editor → Reload Bundles from within TextMate.
On 1. Nov 2006, at 02:46, Allan Odgaard wrote:
On 1. Nov 2006, at 02:17, Michael Bayer wrote:
[...] im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ?
I believe this has since been fixed, if you have svn on your system you can run these three lines to update just the Python bundle:
# assume you have TextMate in /Applications cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
# remove the old bundle rm -rf Python.tmbundle
# retrieve latest version svn export http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
If you still see problems with the latest version, please let us know.
It is also possible to retrieve the bundle prior to the latest changes, that would be done using:
svn export -r5797 http://macromates.com/svn/Bundles/trunk/ Bundles/Python.tmbundle
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 1. Nov 2006, at 04:45, Michael Bayer wrote:
well, it appears that my original issue persists, and it occurs with both the latest bundle as well as the 5797 version [...]
Sorry, I gave the wrong revision number for the old grammar, it is r5633. Please export that revision of the bundle instead.
Michael,
This has been fixed in current svn. Thank you!
- Alex Ross
On Oct 31, 2006, at 7:45 PM, Michael Bayer wrote:
well, it appears that my original issue persists, and it occurs with both the latest bundle as well as the 5797 version...so it would seem the issue is in textmate itself (and perhaps some interaction with the python bundle). the case to reproduce can be made even simpler:
new file (or any file)
enable python highlighting
type: "print foo(bar)"
back the cursor up right before the "foo", and manually type
"lala(bar), ", attempting to make the line say "print lala(bar), foo (bar)". after you type the last ), textmate hangs indefinitely.
On Oct 31, 2006, at 8:49 PM, Allan Odgaard wrote:
I forgot to mention, after having exported the bundle, be sure to either relaunch TextMate, or select Bundles → Bundle Editor → Reload Bundles from within TextMate.
On 1. Nov 2006, at 02:46, Allan Odgaard wrote:
On 1. Nov 2006, at 02:17, Michael Bayer wrote:
[...] im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ?
I believe this has since been fixed, if you have svn on your system you can run these three lines to update just the Python bundle:
# assume you have TextMate in /Applications cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
# remove the old bundle rm -rf Python.tmbundle
# retrieve latest version svn export http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
If you still see problems with the latest version, please let us know.
It is also possible to retrieve the bundle prior to the latest changes, that would be done using:
svn export -r5797 http://macromates.com/svn/Bundles/trunk/ Bundles/Python.tmbundle
__ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
what do you know, it works now. you guys are fast !
On Oct 31, 2006, at 10:55 PM, Alexander Ross wrote:
Michael,
This has been fixed in current svn. Thank you!
- Alex Ross
On Oct 31, 2006, at 7:45 PM, Michael Bayer wrote:
well, it appears that my original issue persists, and it occurs with both the latest bundle as well as the 5797 version...so it would seem the issue is in textmate itself (and perhaps some interaction with the python bundle). the case to reproduce can be made even simpler:
new file (or any file)
enable python highlighting
type: "print foo(bar)"
back the cursor up right before the "foo", and manually type
"lala(bar), ", attempting to make the line say "print lala(bar), foo(bar)". after you type the last ), textmate hangs indefinitely.
On Oct 31, 2006, at 8:49 PM, Allan Odgaard wrote:
I forgot to mention, after having exported the bundle, be sure to either relaunch TextMate, or select Bundles → Bundle Editor → Reload Bundles from within TextMate.
On 1. Nov 2006, at 02:46, Allan Odgaard wrote:
On 1. Nov 2006, at 02:17, Michael Bayer wrote:
[...] im gathering the python highlighting has an endless loop in it. can we revert to the previous highlighter ?
I believe this has since been fixed, if you have svn on your system you can run these three lines to update just the Python bundle:
# assume you have TextMate in /Applications cd /Applications/TextMate.app/Contents/SharedSupport/Bundles
# remove the old bundle rm -rf Python.tmbundle
# retrieve latest version svn export http://macromates.com/svn/Bundles/trunk/Bundles/ Python.tmbundle
If you still see problems with the latest version, please let us know.
It is also possible to retrieve the bundle prior to the latest changes, that would be done using:
svn export -r5797 http://macromates.com/svn/Bundles/trunk/ Bundles/Python.tmbundle
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
__ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate