Hello,
I use Textmate 1.5.10 on my PowerBook G4 with Mac OS X 10.5.8. Lately I've been getting the following error messages when dragging an image into a HTML file:
/tmp/temp_textmate.MswUub:9: warning: parenthesize argument(s) for future version /tmp/temp_textmate.MswUub:17: warning: parenthesize argument(s) for future version
These errors appear in the HTML file, right above the <img> tag which is automatically added.
Any ideas what's wrong?
Thanks, Tudor
Bumping my question below. :)
On Jun 2, 2012, at 3:26 PM, Tudor Vedeanu wrote:
Hello,
I use Textmate 1.5.10 on my PowerBook G4 with Mac OS X 10.5.8. Lately I've been getting the following error messages when dragging an image into a HTML file:
/tmp/temp_textmate.MswUub:9: warning: parenthesize argument(s) for future version /tmp/temp_textmate.MswUub:17: warning: parenthesize argument(s) for future version
These errors appear in the HTML file, right above the <img> tag which is automatically added.
Any ideas what's wrong?
Thanks, Tudor
On 02/06/2012, at 14.26, Tudor Vedeanu wrote:
/tmp/temp_textmate.MswUub:9: warning: parenthesize argument(s) for future version /tmp/temp_textmate.MswUub:17: warning: parenthesize argument(s) for future version
These errors appear in the HTML file, right above the <img> tag which is automatically added.
Any ideas what's wrong?
You upgraded to a ruby that wants parenthesizes around the arguments for the function calls in line 9 and 17 in the drag command for images (HTML bundle).
We generally strongly recommend people not upgrade their system wide ruby nor make TextMate use a third party install of ruby, since there will often be incompatibilities.
Thank you. I am not a programmer and I don't use ruby, but I did install Xcode and other packages required for compiling some software. Probably that's where the new version of ruby came into my system.
On Jun 26, 2012, at 5:07 PM, Allan Odgaard wrote:
On 02/06/2012, at 14.26, Tudor Vedeanu wrote:
/tmp/temp_textmate.MswUub:9: warning: parenthesize argument(s) for future version /tmp/temp_textmate.MswUub:17: warning: parenthesize argument(s) for future version
These errors appear in the HTML file, right above the <img> tag which is automatically added.
Any ideas what's wrong?
You upgraded to a ruby that wants parenthesizes around the arguments for the function calls in line 9 and 17 in the drag command for images (HTML bundle).
We generally strongly recommend people not upgrade their system wide ruby nor make TextMate use a third party install of ruby, since there will often be incompatibilities.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 26/06/2012, at 16.12, Tudor Vedeanu wrote:
Thank you. I am not a programmer and I don't use ruby, but I did install Xcode and other packages required for compiling some software. Probably that's where the new version of ruby came into my system.
Xcode shouldn’t give you a ruby that has this issue.
For now you can go into the bundle editor (Bundles menu) and locate the HTML bundle in which there is a “Insert Image With Dimensions” drag command.
On the two lines quoted (9 & 17) there is ‘CGI::escapeHTML file’ and ‘CGI::escapeHTML alt’ which should be parenthesized, i.e. ‘CGI::escapeHTML(file)’ and ‘CGI::escapeHTML(alt)’.
Wouldn't it make sense to future-proof these Ruby scripts, because eventually, there will be a stock Mac OS X with 1.9.3 as default, methinks. There's no punishment for using parentheses in 1.8.6 or 7, after all.
Walter
On Jun 26, 2012, at 10:07 AM, Allan Odgaard wrote:
On 02/06/2012, at 14.26, Tudor Vedeanu wrote:
/tmp/temp_textmate.MswUub:9: warning: parenthesize argument(s) for future version /tmp/temp_textmate.MswUub:17: warning: parenthesize argument(s) for future version
These errors appear in the HTML file, right above the <img> tag which is automatically added.
Any ideas what's wrong?
You upgraded to a ruby that wants parenthesizes around the arguments for the function calls in line 9 and 17 in the drag command for images (HTML bundle).
We generally strongly recommend people not upgrade their system wide ruby nor make TextMate use a third party install of ruby, since there will often be incompatibilities.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 26/06/2012, at 17.11, Walter Lee Davis wrote:
Wouldn't it make sense to future-proof these Ruby scripts […]
We have accepted ruby 1.9 patches for a lot of them, some patches though break things for 1.8 and some issues, with people using a third party ruby install, is breaking binary compatibility with included ruby extensions.