Allan Odgaard | 6 Nov 2009 04:42
Favicon

Re: Set the SHELL to use for bundle commands

On 13 Oct 2009, at 20:16, Svoop wrote:

> I'm trying to teach TM to play nicely with Gentoo Prefix. (That's  
> Gentoo
> Linux installed in a subdir such as /Gentoo which comes with it's own
> compiler, but runs on the Darwin kernel. Very handy for Ruby  
> development.)
> Even if I set all environment vars explicitly in TM, I have hickups  
> here and
> there. I'd like to tell TM to use the bash from Gentoo Prefix
> /Gentoo/bin/bash instead of the one coming with Mac OS X. Is there a  
> way to
> do that?

This presently cannot be configured. Is there a downside to using the  
standard bash?

> Even when doing a "/Gentoo/bin/bash -l" in bash_init.sh and then  
> dump the
> environment in a bundle command, I still see "SHELL = /bin/bash"  
> there. Is
> bash_init.sh read for scripts run from a bundle command at all?

We set BASH_ENV to bash_init.sh for bundle commands w/o a shebang line.

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

(Continue reading)

Allan Odgaard | 6 Nov 2009 04:44
Favicon

Re: YAML mode for XML editing

On 1 Nov 2009, at 06:57, Alexy Khrabrov wrote:

> [...] Is it possible to have an XML mode where XML will be converted  
> to YAML upon loading, then dumped back as XML?

As Luke revealed, it is something that will be supported in the  
future, for now though you can make a wrapper around ‘mate -w’ to  
convert input/output and initiate your edits via that wrapper (could  
setup a bundle command to call it).

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

Allan Odgaard | 6 Nov 2009 04:46
Favicon

Re: shift right don't work via Keyboard Shortcut

On 4 Nov 2009, at 19:06, Juan Pablo Aqueveque wrote:

> This is my problem, ⌘]  suddenly stopped working, however via menu >
> Text > Shift Right work perfectly.
>
> Shift left working OK (via shortcut and menu).
>
> Any light?.

http://wiki.macromates.com/Troubleshooting/KeyBindings — notice last  
paragraph mention ⌘[, your problem might be similar.

_______________________________________________
textmate mailing list
textmate <at> lists.macromates.com
http://lists.macromates.com/listinfo/textmate
Allan Odgaard | 6 Nov 2009 04:47
Favicon

Re: How To Highlight Custom Syntax

On 5 Nov 2009, at 00:06, Graden Hudson wrote:

> I would like to know how to extend the syntax styling to highlight a
> proprietary syntax in my code [...]
> Here is what I was reading:
> http://manual.macromates.com/en/language_grammars

That is indeed the canonical guide explaining how grammars work.

So how much were you able to follow? Do you know regular expressions?  
Did you find the existing HTML grammar and look at that?

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

Allan Odgaard | 6 Nov 2009 04:50
Favicon

Re: Does TextMate's HTML Tidy use .htmltidyrc?

On 5 Nov 2009, at 03:05, Michael 'Mickey' Sattler wrote:

> It doesn't seem so with the trial version of 1.5.9 under Mac OS X  
> 10.6.1.

 From http://wiki.macromates.com/HowTo/CustomizeTidy:

   Set the HTML_TIDY environment variable to point at a
   configuration file and place your options in this file

I don’t think tidy reads the file you mention by default. TM uses the  
standard tidy.

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

Juan Pablo Aqueveque | 6 Nov 2009 08:21
Picon

Re: shift right don't work via Keyboard Shortcut

Allan: you are the man!—thank you, solved!.

On Fri, Nov 6, 2009 at 12:46 AM, Allan Odgaard <mailinglist <at> textmate.org> wrote:
> On 4 Nov 2009, at 19:06, Juan Pablo Aqueveque wrote:
>
>> This is my problem, ⌘]  suddenly stopped working, however via menu >
>> Text > Shift Right work perfectly.
>>
>> Shift left working OK (via shortcut and menu).
>>
>> Any light?.
>
> http://wiki.macromates.com/Troubleshooting/KeyBindings — notice last
> paragraph mention ⌘[, your problem might be similar.
>
>
>
> _______________________________________________
> textmate mailing list
> textmate <at> lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>

--

-- 
juan pablo aqueveque
www.juque.cl

_______________________________________________
textmate mailing list
textmate <at> lists.macromates.com
(Continue reading)

enas | 6 Nov 2009 16:26
Picon

latex2 bundle?

Hi,

I just wanted to play with the new LaTeX bundle Alex Ross is  
developing, and I can't access it. The following link seems to be  
broken:

http://github.com/alexross/latex.tmbundle

Additionally, I couldn't checkout the latextra bundle. Is it still  
supposed to be there?

Thanks,

enas

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

Hans-Jörg Bibiko | 6 Nov 2009 16:35
Picon

Re: latex2 bundle?


On 06.11.2009, at 16:26, enas wrote:

> Hi,
>
> I just wanted to play with the new LaTeX bundle Alex Ross is
> developing, and I can't access it. The following link seems to be
> broken:
>
> http://github.com/alexross/latex.tmbundle

I do not know precisely but maybe try

http://github.com/lasersox/latex.tmbundle

--Hans

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

Graden Hudson | 6 Nov 2009 16:57
Favicon

Re: How To Highlight Custom Syntax

Hi, Allan. Thanks for jumping in to help me.

I was able to sort of understand some things like I am obviously going to have to declare a pattern (begins with "%link=" ends with "%"), but  when I read about rule keys like "name" and "match", I am lost. I am primarily an HTML/CSS guy, and I do not delve much into other languages just yet.

Here's a line of code in the example that I simply do not understand, at all:
 7           match = '\b(if|while|for|return)\b';

I did look at the existing HTML grammar, but that did not make much sense to me, either. Should I start somewhere else in the manual? I think I'm missing some basic concepts here.

Thanks, again, for your help.
-- 
Graden Hudson
Graphic Designer
Wellness Council of America
9802 Nicholas Street, Ste. 315 | Omaha, NE  68114
Phone: 402.827.3590 | Fax: 402.827.3594
ghudson-XsHR1Oyc4Jgdnm+yROfE0A@public.gmane.org  | www.welcoa.org


From: Allan Odgaard <mailinglist-y8YpCXkx7K5g9hUCZPvPmw@public.gmane.org>
Reply-To: TextMate users <textmate-qhrM8SXbD5LrQoZeqNtYVVaTQe2KTcn/@public.gmane.org>
Date: Fri, 6 Nov 2009 04:47:47 +0100
To: TextMate users <textmate-qhrM8SXbD5LrQoZeqNtYVVaTQe2KTcn/@public.gmane.org>
Subject: [TxMt] Re: How To Highlight Custom Syntax

On 5 Nov 2009, at 00:06, Graden Hudson wrote:

> I would like to know how to extend the syntax styling to highlight a
> proprietary syntax in my code [...]
> Here is what I was reading:
> http://manual.macromates.com/en/language_grammars

That is indeed the canonical guide explaining how grammars work.

So how much were you able to follow? Do you know regular expressions?  
Did you find the existing HTML grammar and look at that?



_______________________________________________
textmate mailing list
textmate-qhrM8SXbD5LrQoZeqNtYVVaTQe2KTcn/@public.gmane.org
http://lists.macromates.com/listinfo/textmate

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
Michael Sheets | 6 Nov 2009 18:25

Re: How to get tcl script to "run"

On Nov 4, 2009, at 5:08 PM, Alex Ross wrote:

> You could add a similar first line match to the TCL grammar:
>
>> firstLineMatch = '^#!.*(tclsh)';

Committed this change to the Tcl grammar last night. :)

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


Gmane