Tudor Vedeanu | 2 Jun 14:26 2012
Picon

Textmate 1.5.10 error on Mac OS X 10.5.8

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

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

John Yeates | 3 Jun 12:02 2012
Picon

TextMate 2 and rvm

Given the following ruby script:

#!/usr/bin/env ruby

puts RUBY_VERSION

…and that I'm setting TM_RUBY = "/Users/myname/.rvm/bin/ruby-1.9.3-p0 <at> primes" in the
.tm_properties for the project, hitting Cmd-R in the script window shows 1.8.7. Running it from the
command-line shows the expected 1.9.3.

Does anybody know what's going on here? It would be lovely to be able to use TM2 with different projects using
rvm, and have everything Just Work :)

[Ideally, TM2 should detect that rvm is being used and get the ruby and gemset from the project's .rvmrc, if
supplied, or from rvm's defaults otherwise. Even better if the following sequence 'rvm use 1.8.7
--default; rvm use 1.9.3; mate foo' would pick up 1.9.3 from the shell's env rather than using the default.]

--

-- 
John Yeates

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

John Yeates | 3 Jun 12:19 2012
Picon

Re: TextMate 2 and rvm

On Sunday June 03 2012, John Yeates <textmate2@...> wrote:
> 
> #!/usr/bin/env ruby
> 
> puts RUBY_VERSION
> 
> …and that I'm setting TM_RUBY = "/Users/myname/.rvm/bin/ruby-1.9.3-p0 <at> primes" in the
.tm_properties for the project, hitting Cmd-R in the script window shows 1.8.7. Running it from the
command-line shows the expected 1.9.3.

Hm — further experiments show that if I delete the shebang from the script, it runs using TM_RUBY and shows
1.9.3 (but will break for people running it from the command line). If I  point the shebang at
/Users/myname/.rvm/bin/ruby-1.9.3-p0 <at> primes, it again shows 1.9.3 (but will break for people not on
my machine, or on my machine but without read access to that binary).

So it's not as bad as I thought, but there still isn't a "set it and forget it" solution — and, of course, I
still need to specify the binary explicitly in the .tm_properties.

--

-- 
John Yeates

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

dipnlik | 3 Jun 19:12 2012
Picon

Re: TextMate 2 and rvm

For RVM's integration in textmate, please take a look at RVM's
documentation: https://rvm.io/integration/textmate/

While I'm not a TM2 user anymore, the rvm-auto-ruby's approach works
fine for me in TM1, but it only reads .rvmrc files at the project's
root (as opposed to navigating up in the directory tree looking for
other .rvmrc files)

On Sun, Jun 3, 2012 at 7:02 AM, John Yeates <textmate2@...> wrote:
> Given the following ruby script:
>
> #!/usr/bin/env ruby
>
> puts RUBY_VERSION
>
> …and that I'm setting TM_RUBY = "/Users/myname/.rvm/bin/ruby-1.9.3-p0 <at> primes" in the
.tm_properties for the project, hitting Cmd-R in the script window shows 1.8.7. Running it from the
command-line shows the expected 1.9.3.
>
> Does anybody know what's going on here? It would be lovely to be able to use TM2 with different projects
using rvm, and have everything Just Work :)
>
> [Ideally, TM2 should detect that rvm is being used and get the ruby and gemset from the project's .rvmrc, if
supplied, or from rvm's defaults otherwise. Even better if the following sequence 'rvm use 1.8.7
--default; rvm use 1.9.3; mate foo' would pick up 1.9.3 from the shell's env rather than using the default.]
>
> --
> John Yeates
>
>
(Continue reading)

Neil | 4 Jun 06:18 2012
Picon

Textmate 1 & Textmate 2 side-by-side

How well do Textmate 1 and Textmate 2 do when living side-by-side? Do they use separate Application Support and Preferences files, or do they share?

Thanks!


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
Stephen Bannasch | 4 Jun 07:27 2012

Re: TM2: crashing while accidently dragging selected text

At 11:53 AM -0400 3/12/12, Stephen Bannasch wrote:
>At 10:16 PM +0700 3/12/12, Allan Odgaard wrote:
>>On 12/03/2012, at 21.26, Stephen Bannasch wrote:
>>
>>> [Š] Here's a youtube video showing changes to source, then I cause the crash, reopen TM2, changes are gone.
>>
>>Did you disable "Open documents from last session" in Preferences?
>
>Yes. I had found the behavior annoying.
>
>... but with "Open documents from last session" enabled the changes I had make just before the crash are restored.

This bug is getting more and more annoying.

The crash happens easily and often.

Thelast several times after the crahs starts -- textmate takes about 10 minutes to actually quit.

Sometimes I'll force quit but the textmate windows stay visible even though textmate doesn't appear to be
running anymore.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

David Howden | 4 Jun 11:33 2012
Picon

Re: Textmate 1 & Textmate 2 side-by-side

They work fine.  There are slight differences in the way that TM1 and
TM2 claim the txmt:// URL, so some commands/scripts which rely on this
to open files and jump to lines might behave peculiarly.

TM1 claims the URL when you launch it, TM2 will only claim the URL if
you open the Terminal tab in the Preferences window.

Aside from this, they work nicely together!

D

On Mon, Jun 4, 2012 at 5:18 AM, Neil <kngspook@...> wrote:
> How well do Textmate 1 and Textmate 2 do when living side-by-side? Do they
> use separate Application Support and Preferences files, or do they share?
>
> Thanks!
>
>
> _______________________________________________
> textmate mailing list
> textmate@...
> http://lists.macromates.com/listinfo/textmate

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Adam Sharp | 5 Jun 01:24 2012

Re: Text > Reformat Text (Ctrl-Q) doesn't respect custom wrap column

On 06/01/2012, at 3:31 PM, Adam Sharp wrote:

> Is there something I can configure to get this to work, or maybe a bundle command workaround?

As a workaround, I've created this bundle with a single macro (bound to Opt-Cmd-Q) that is hard-coded to
wrap to 72 chars, using column selection mode:


It's by no means an elegant solution, but it does the trick for me. You can easily modify it to use more or fewer
`moveRightAndModifySelection:` commands to increase or decrease the column width.

Open to any ideas for improvement (especially ones that actually use TM_COLUMNS).

Adam

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
barmalei | 7 Jun 12:52 2012

Re: [TM2] No filenames shown in tabs


adamvert wrote:
> 
> I have an odd problem whereby all tabs, instead of showing the name of the
> file, are blank.
> 
> 
> http://old.nabble.com/file/p33763410/Screen%2BShot%2B2012-05-03%2Bat%2B13.16.24.png 
> 
> I've tried completely uninstalling TM2 (deleted everything in
> ~/Library/Application Support/TextMate and
> ~/Library/Preferences/com.macromates.*), but it hasn't helped. I don't
> have a ~/.tm_properties file.
> 
> When I run TM2 on the same machine as a different user, I don't have this
> problem.
> 
> There must be a rogue preferences file lurking somewhere - what am I
> missing?
> 
> Thanks
> Adam
> 

the same with me, additionally the all text fields in status bar are also
invisible (but usable). quite annoying thing that makes perfect tm2 not very
handy :(

(my working env. is Mac OS X Lion 10.7.4) 
--

-- 
View this message in context: http://old.nabble.com/-TM2--No-filenames-shown-in-tabs-tp33763410p33975025.html
Sent from the textmate users mailing list archive at Nabble.com.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Tudor Vedeanu | 7 Jun 13:35 2012
Picon

Re: Textmate 1.5.10 error on Mac OS X 10.5.8

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

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate