Hi all,
Is there way to work in TextMate and then use TM key binding "cmd+r" to compile the tex document with, e.g. pdflatex, with TeXShop?
Thans in advance,
--
Christian
-Your time is limited, so don't waste it living someone else's life.-
Steve Jobs, 2005
Hi,
Could you help me to make a custom language colorization!
I have followed the short tutorial on the website
http://manual.macromates.com/en/language_grammars
but it didn't work for me, so I simplified it as much as possible but still
no success. I guess there is something simple which I am missing. How can I
make the following definition working:
{ scopeName = 'source.serpent';
fileTypes = ( 'serpent' );
patterns = (
{ begin = '<\?';
end = '\?>';
patterns = ( { include = 'source.php'; } );
},
);
}
it does not highlight php insertions in my file, but the standard language
definition for php (supplied with the editor) does it.
What do I need to do?
Thanks,
nuke
On Jun 5, 2010, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> Date: Fri, 4 Jun 2010 13:28:19 -0500
> From: Donald Ephraim Curtis <dcurtis(a)gmail.com>
> Subject: [TxMt] Re: insecure world writable problem
> To: TextMate users <textmate(a)lists.macromates.com>
> Cc: "textmate(a)lists.macromates.com" <textmate(a)lists.macromates.com>
> Message-ID: <41483A8F-74A0-43FA-ACE7-8EA11771F177(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
>
> Try:
>
> chmod o-w /usr/local/bin
Disk Utility (in /Applications/Utilities/) has a "Verify Disk Permissions" button in the First Aid tab. Click on your hard drive partition and hit the disk permissions button. See if that fixes your error.
-Roberto.
> But you may have bigger problems. Somehow the /usr/local/bin directory
> is world editable meaning any malicious script could copy another
> script or program into that directory. The problem is that the
> directory is in your shells PATH.
>
> On Jun 4, 2010, at 13:05, Christopher Brewster <cbrewster(a)gmail.com>
> wrote:
>
>> When running a python script, I suddenly have the following error
>> message
>>
>> /Library/Application Support/TextMate/Support/lib/tm/process.rb:194:
>> warning: Insecure world writable dir /usr/local/bin in PATH, mode
>> 040777
>>
>> I have tried re-installing textmate, and re-installing all the
>> bundles to no avail.
>>
>> Looking through the email list I cannot make heads or tails of what
>> the solution is.
>> Any suggestions are appreciated.
>>
>> Christopher
Disclaimer: I've been playing with TM for about 30 minutes, i.e. I'm a
complete newcomer. One of the main reasons I'm considering abandoning
my beloved emacs in favor of TM is the integrated ri / documentation
lookup. But I haven't been able to get that to work.
Briefly, my question is: how can I get the TM help system to use
ruby / rails documentation from a sandboxed directory?
Some details:
In my development machine I have carefully built versions of ruby
1.9.1, rails, ri, rdoc, all of my gems, etc in a sandboxed directory
(~/Development/Ruby/bin/*), and I've left the Mac OS X standard
distributions alone.
If I try to use TM's ^h help lookup, I get a message like:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Ruby.tmbundle/Support/bin/linked_ri.rb:13: command not found: ri -T -f
plain belongs_to
... presumably since it can't find 'ri'. Digging in, I can ask TM to
tell me more about its environment:
which ri^r =>
/opt/local/bin/ri
ls -l /opt/local/bin/ri^r =>
-rwxr-xr-x 2 root admin 1491 Aug 5 2009 /opt/local/bin/ri
echo $PATH^r =>
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
CocoaDialog.app/Contents/MacOS:/usr/local/git/bin:/opt/local/bin:/opt/
local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/
Applications/TextMate.app/Contents/SharedSupport/Support/bin
(Another disclaimer: I'm also new to ri / rdoc, so this may ultimately
be an ri / rdoc question rather than a TM question.)
- rdp
Although I can't find it now, I seem to recall seeing a nifty TextMate command that would harvest all inline styles from an HTML document and place them in a stylesheet at the top of the document (eg, sorted by id).
Anyone remember in which bundle that command could/can be found?
jon
______________________________
Still Water--what networks need to thrive.
http://still-water.net/
Once, I saw a tip by James Gray II (if I remember correctly) about how to
convert highlighted text in TextMate to html with css style so that the
rendered html is identical to the textmate window (in my case Railscast
theme). But now I can't quit remember how to do it--something with markdown
maybe. And can't find the tip. Does anyone know how to do this?
I want an easy way to post code snippets from textmate.
Thanks,
Tim
Hey,
just wanted to let people know I've released AckMate - a plugin for
searching your project files with 'ack'.
It offers significant improvements over my previous ack-in-project
bundle, such as per-project windows and settings, filetype selection,
and a much less annoying UI.
It's currently only compatible with OS X 10.5 and above (and only
heavily tested on 10.6).
Source and binaries are included in the github project at
http://github.com/protocool/AckMate and the project wiki contains
instructions on how to use it.
Regards, Trev
--
--
Trevor Squires
http://propaneapp.com
When running a python script, I suddenly have the following error message
/Library/Application Support/TextMate/Support/lib/tm/process.rb:194: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
I have tried re-installing textmate, and re-installing all the bundles to no avail.
Looking through the email list I cannot make heads or tails of what the solution is.
Any suggestions are appreciated.
Christopher