Some kind soul on #textmate clued me in to the fact that the key here is to
get Fink's /sw/bin/init.sh/csh to run ONLY when there's a TTY attached.
That way, all the initialization stuff TextMate sucks in behind the scenes
won't cause it to hang/SPOD when you pick New From Template -> Blogging
Bundle -> HTML Post from the menu.
For zsh users like myself, the fix was simple, stick the test -r
/sw/bin/init.sh && . /sw/bin/init.sh line Fink wants you to put in your
shell init into the .zshenv file.
-Chris
--
Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail:
cpatti(a)gmail.com
"Magnify the most difficult details." - Oblique Strategies, 4th Ed. Brian
Eno & Peter Schmidt
Hi,
in my TextMate Preferences a PATH variable is set with value
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:
/usr/X11/bin:/Developer/Tools
As a double check, the command
defaults read com.macromates.textmate OakShellVariables
produces an array whose last entry is
{ enabled = 1;
value = "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:
/usr/X11/bin:/Developer/Tools";
variable = PATH;
}
I quit and relaunched TextMate several times. Excellent.
However if I write in a window
p ENV['PATH']
and Execute Line As Ruby, I get
"/usr/bin:/bin:/usr/sbin:/sbin"
and, indeed, Typeset and View in the LaTeX
bundle does not work. If I accept the suggestion
Set PATH and Relaunch, a new identical PATH
variable is added (so now I have two), and things
work until next relaunch.
What's wrong? I remember someone else compained
about a similar problem on the list, with no answer...
Thanks
Piero
Hi All,
I just started using TextMate for programming Ruby on Rails apps. I have
encountered some problems using it and would appreciate any help I could get
in figuring out how to fix them. Below are the three problems that I've run
into:
1. TextMate is inconsistent about when it colorizes code in .erb file. When
I open some files, TextMate colorizes the code correctly. But on other .erb
files, TextMate doesn't colorize at all.
2. TextMate closes the folder tree on my project. When I navigate from my
browser or terminal window to TextMate, I'll often find that the folder tree
has been closed. This is really annoying because then I have to click on
all the folders so that I can navigate to the files that I want. Is there
any way to get TextMate to just remember the folder tree state?
3. TextMate doesn't do auto code completion. I've seen some videos that
show TextMate doing autocompletion via snippets. How do I turn on the auto
code completion?
Thanks for all your help!
David
Hello!
I just managed to get my hands on a shiny new Intel PowerBook, so I
duly did the Migration Assistant thing to transfer all my stuff to it
from the old G4 PowerBook (going from 10.4 to 10.5 as I went).
Which has worked wonderfully, but I notice that Textmate seems to run
as a PowerPC process rather than an Intel one, according to Activity
Monitor.
What's that about? Does the automatic update mechanism send slim
binaries, based on your platform, in order to cut download times? If
so, will I get an Intel binary the next time an update happens? Or
should I download a fresh .dmg from the site and reinstall from that?
Thanks,
ABS
--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4
One of the things I love most of textmate is the possibility of many bundles
to search for documentation with a simple ^-H, it's fantastic.
Now I'm studying erlang and I didn't find this functionality in the bundle,
then I made this
#!/usr/bin/env bash
OFF=$TM_CURRENT_WORD.html
echo $TM_CURRENT_WORD | /usr/bin/grep ':'
if [[ $? == 0 ]]
then
MOD=echo $TM_CURRENT_WORD | cut -d ':' -f 1
FUN=echo $TM_CURRENT_WORD | cut -d ':' -f 2
OFF="$MOD.html#$FUN"
fi
ADDR="http://www.erlang.org/doc/man/$OFF"
curl $ADDR
Know it's almost working, but if I give something like
lists:seq it doesn't go to the seq function, because I should also know the
arity of a function, and how to get it??
When I've got something I think it could be useful I can propose in the
developer section?
Thanks
--
View this message in context: http://www.nabble.com/Bundle-newbie-and-erlang-tp20279615p20279615.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi
When I write a program and include rubygems
and afterwards mechanize, the last will not be found
when I call "run"
I use the same ruby in /usr/bin/ruby under osx10.5.5
as in the commandline will be found after whereis ruby.
Could someone give me a hint?
Thanks in advance and kind regards
Karl-Heinz
How can i define a scope selector for this:
<anything> do
something
end
I want to highlight <anything> when it is before do block,
what pattern should i add to ruby language bundle to acomplish this?
I'm very proud to announce the release of PySmell v0.7!
PySmell is an auto-completion library for Python, meant to be plugged
in different editors. It uses static analysis to generate a TAGS file
for your code, and uses that to give you suggestions. It's very fast -
suggestions are instantaneous and analyzing Django 1.0 takes ~15
seconds.
Download from PyPI: http://pypi.python.org/pypi/pysmell/
Issue tracking at Google Code: http://code.google.com/p/pysmell
Development at GitHub: http://github.com/orestis/pysmell/tree/master
The big news for this release is the support for Emacs and TextMate,
on top of the already existing Vim support. This isn't tested as
rigorously as I'd like, so please report any issues at Google Code.
Thank you,
Orestis Markou
--
orestis(a)orestis.gr
http://orestis.gr/
Is it possible to make a TM command that runs PHP and then displays
results in an option box like 'File Completion' (Experimental Bundle)
or do I need to use Ruby?
Mvh Christoffer Winterkvist
---------------------------------------
oprah(a)noodlemantra.eu
I get this error if I try to run a java program
/Users/andrea/Library/Application Support/TextMate/Pristine
Copy/Bundles/Java.tmbundle/Support/bin/javamate.rb:3:in `require': no such
file to load --
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor
(LoadError) from /Users/andrea/Library/Application Support/TextMate/Pristine
Copy/Bundles/Java.tmbundle/Support/bin/javamate.rb:3
I just svn up all my bundles in that folder via svn, did I do something
wrong maybe?
--
View this message in context: http://www.nabble.com/Error-with-java-bundle-tp20286039p20286039.html
Sent from the textmate users mailing list archive at Nabble.com.