Allan,
Here are the versions I have:
$ cat /Library/Application\ Support/TextMate/Support/version
9280
$ cat /Applications/TextMate.app/Contents/SharedSupport/Support/version
9279
The perl script I'm trying to run is pretty minimal:
#!/usr/bin/perl
print 123;
For the heck of it I removed:
/Library/Application Support/TextMate
~/Library/Application Support/TextMate
I also deleted TextMate.app and downloaded a fresh copy. The perl
script then ran!
I then downloaded the cutting edge version of TextMate, and the perl
script still ran.
I then followed the instructions in the wiki to checkout bundles via
subversion, and restarted TextMate. Once again the perl script would
not run, and yielded the same error:
-e:2:in `require': no such file to load -- /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/tm/executor (LoadError) from -e:2
Removing:
/Library/Application Support/TextMate
and restarting TextMate, the perl script once again worked.
It looks like something may be broken in Support version 9280?
- Dave
I'm very proud to announce the release of PySmell v0.7.2, now with
extra goodness.
Changes:
* TextMate's dialog no longer errors when dealing with a huge number
of entries.
* New --input allows mutation of existing PYSMELLTAGS file; useful
to run after a file is saved
* Analyze the current file when detecting completion type; more up-
to-date suggestions
* TextMate now completes a word rather than re-writing it.
* TextMate honours TM_PYTHON - no need to set PATH
* Fixes in pysmell.vim by Krzysiek Goj; Thanks!
* Bundle ez_setup for people that don't have setuptools.
* Use argparse.py rather than hand-rolled option parsing
* Fixed issue 18 (tabs)
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
Installation:
"python setup.py install", then copy pysmell.vim, pysmell.el in the
relevant places, or double click PySmell.tmbundle.
More instructions included in README.markdown.
Thanks,
Orestis Markou
--
orestis(a)orestis.gr
http://orestis.gr/
When coding in AS3 in TextMate I like to put in some nice JavaDoc
style comments:
/**
* Fetch up a dice from the server
* @param Number dice_num Which dice to get (1-6)
* @return NetDice Populated dice info object
* @access private
*/
All well and good. I put a tab after the keyword declaration, so I'd
type:
@param<tab>Number<tab>dice_num<tab>etc...
For the first row. When I try to populate the return value:
@return<tab>...
The value gets automatically converted into this:
@↩
Why does this happen? What can I do to turn it off? My workaround is
to type this instead:
@return<space><tab>...
The go back and delete the space but that's just a PITA. Any
suggestions?
G.
--
Being drunk is feeling sophisticated without being able to say it.
http://www.playr.co.uk/
On Nov 16, 2008, at 7:00 AM, Allan Odgaard wrote:
> When the path contains ‘TextMate.app’ then it is a sure sign of not
> being up-to-date (since it favors the Support folder inside
> TextMate.app).
>
>> [...] At revision 10740.
>
> We’re at r10812, but it’s now http://svn.textmate.org/trunk/
>
> See http://lists.macromates.com/textmate/2008-October/027271.html
> for how to relocate.
Great, thanks Allan!
I've just relocated my /Library/Application Support/TextMate/ to the
new svn repository, and updated so I'm now at revision 10812 (feels
good to be up to date once again).
TextMate tells me it's at cutting edge version 1464.
I then reloaded bundles, restarted TextMate for good measure, and
tried once again to use the Perl bundle's Run command on my script,
but I'm still getting:
-e:2:in `require': no such file to load -- /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/tm/executor (LoadError) from -e:2
Might my ~/Library/Application Support/TextMate/ folder be messed up
somehow? Is there a way to reset it yet preserve the themes and
bundle's I've added and created?
Getting an error when trying to connect to a remote server using the
mysql bundle. It's wanting to look for the mysql socket in the wrong
spot. Anyway to change this? Would be cool if there was just an
environment variable to set this.
and ideas?
Hi all,
I just stumbled on a description of WebMate, a plugin that enables live editing
of (say) HTML in the preview window rather than in the source. This would be
fantastically valuable to me, as I do all my text editing in various TextMate
flavors.
Unfortunately, the links I Googled (at End.com) seem to be dead. Does anyone
have a copy of the WebMate bundle, an alternate url to download it, or a
suggested replacement?
Thanks!
jon
/RR (http://responserequested.com)
Hi,
Today I attempted to use the latest revision of the Latex bundle.
Unfortunately, it seems that for some reason typeset and view has stopped
working. It errors with a message like:
/tmp/temp_textmate.S1T12b:3:in `require': no such file to load --
The rest of the latex bundle seems OK. So, does anybody know what is going on,
or should I try to work it out?
Thanks for any ideas.
Using TextMate 1.5.7 under Tiger (10.4.11). I have a Finder window
open and sorted by modified date/time. If I save a file in TextMate,
the Finder window does not automatically update - I have to click on
the file once and then the window re-sorts. This does not occur if I
save the same file using TextEdit, for example. I do not use Atomic
saves.
Is this a known issue under Tiger? Does Leopard solve this problem?
Why would TextMate behave differently than TextEdit in this case?
Hi All,
I'm writing a bundle for gnuplot[1], and I've run into some difficulty
with a small snippet I'm trying to write.
What I have so far is this:
for [${1:n} ${2:=} ${2/(in)|(.+)/(?1:"":\:)/}] $0
and what I'd like to have is something more like this:
for [${1:n} ${2:=} ${2/(in)|(.+)/(?1:"$3":$3\:$4)/}] $0
The conditional expansion seems to work ok, but unfortunately the
placeholders inside it don't appear.
Can anyone give me any pointers, or tell me what I'm doing wrong?
Cheers,
Matt
[1]: github.com/mattfoster/gnuplot-tmbundle
--
Matt Foster | http://my-mili.eu/matt
Ok so I am making a new bundle of snippets and everything was working
great, had it installed on my laptop and iMac. I then did an svn to
track the changes....still runs on my iMac but it mentions the plist
is corrupt so I am unable to install it anywhere else. Not sure what
happened as I am not used to the bundles yet. I looked at the plist
file and it looks weird....but still runs on my iMac, where I made the
bundle.
any ideas why this happened?
Hi.
I have a little problem with the blogging bundle. Running the category
command (cat <tab>) gives me the message "Received exception:Too many
return values. Only one allowed. No categories available!".
Other functions, for instance uploading works. Does anyone have an
idea what this could depend on? I am running agains Blosxom with XML-
RPC.
Regards,
Lars.
Recently the Perl "Run Script" bundle command stopped working for me.
The error I'm getting is
-e:2:in `require': no such file to load -- /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/tm/executor (LoadError) from -e:2
Normally this type of error goes away when I update my Bundles or my
Support folder, but it appears that I'm up to date:
$ cd /Library/Application\ Support/TextMate/Support/
$ sudo svn update
At revision 10740.
Help?
ok, hello there, I used textmate for a while with "found on the internet"
licence, but now I decided to really buy it (and I really did), so now I
think its OK to post some feature request or questions here :)
first feature request I have is something simmilar to the "Tidy" function in
HTML bundle, only with C. There is a program called indent, thats on every
Mac OS X distribution in /usr/bin/indent, that does exactly that. This can
be used to "tidying up" the C code..
--
View this message in context: http://www.nabble.com/C-indent-tp20510776p20510776.html
Sent from the textmate users mailing list archive at Nabble.com.
When I use Edit Each Line In Selection (alt-command-A) on very long
selections, TextMate seems to crash.
As a silly example:
for i in 1 2 3 4; do for j in /usr/bin/*; do echo $j >> test; done; done
paste -d ' ' test <(python -c "for n in range($(wc -l test | grep -oE
'[0-9]+')): print 'is a file' ") | mate
This file looks like:
/usr/bin/BuildStrings is a file
/usr/bin/CpMac is a file
/usr/bin/DeRez is a file
/usr/bin/GetFileInfo is a file
/usr/bin/IPMITool is a file
/usr/bin/ImageUnitAnalyzer is a file
...
On my system, this has 3752 lines. Say now that I have it open, I want to
change this into just the list of executable names: BuildStrings, CpMac,
etc. The best way to do this would probably be to do a find-and-replace;
that's really easy, in fact. But it's not the first thing that popped into
my head. Instead, I tried to do it like this:
- Rectangular-select the /usr/bin/ part on every line and delete it. That
worked fine.
- Select every line (command-A) and go into edit-each-line mode, to delete
the "is a file" part. I can go into the edit mode okay, but as soon as I hit
backspace, TextMate becomes unresponsive, its memory usage skyrockets, and
basically nothing happens until I kill it.
Is this a known problem? Why is edit-each-line mode so memory-intensive?
It's not a major issue, since the workaround is in fact easier than this way
of doing it, but still....
(Why was I trying to do this in the first place? Well, my file looked like:
error sending to joe(a)example.com: SMTP connection disconnected
error sending to bobdobalina(a)example.com: SMTP connection disconnected
...
and I wanted to get the list of emails out.)
On Nov 15, 2008, at 1:00 PM, running.cz(a)gmail.com wrote:
> Date: Fri, 14 Nov 2008 16:35:13 -0800 (PST)
> From: kaja <running.cz(a)gmail.com>
> Subject: [TxMt] PHP MySQL highlighting
> To: textmate(a)lists.macromates.com
> Message-ID: <20510850.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> another bug/issue I have with textmate - mysql highlighing in php
> code works
> only sort of. If I write:
>
> "SELECT * FROM `table` WHERE `column` = 'value';";
>
> it's fine - FROM and WHERE are blue, the rest is green.. but if I
> write
> something like
>
> "SELECT * FROM `".$table."` WHERE `".$column."` = '".$value."';";
>
> the MySQL highlighting stops working at FROM.
Hi Kaja,
the keyword matching can't guess that you concatenate strings. You are
already using double quotes for the string, so why not embed your
variables anyway?
"SELECT * FROM `{$table}` WHERE `{$column}` = '{$value}';";
This would highlight correctly since it is a continuous string.
Regards, Torsten
--
Torsten Walter
__________________________________________________
3d-M | Professional Solutions for Online and Offline Media
Zum Piepenkerl 2 | 49090 Osnabrück | Germany
__________________________________________________
website: http://legacy.3d-m.de
blog: http://playground.magicrising.de/
__________________________________________________
phone: +49 541 69 16 645
mobile: +49 179 12 13 561
__________________________________________________
email: tw(a)3d-m.de
I've been using TextMate a while and have installed the Actionscript 3 bundle
as per
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-text….
I did this on my last computer, and got a bunch of nifty templates (Sprite,
etc), that had large areas of the .as file blocked out (EVENT HANDLERS,
PRIVATE METHODS, etc).
I got a new machine here at work and installed the bundle as per above, and
although I now have the templates again, they don't have all the content
they used to; and in fact come up with a sort of cryptic package
designation, i.e.
package .var.folders.lB.lBw3509ZExidE+zqzMfB2oHT-Fk.-Tmp- {
I'm not at all an expert at TextMate, but like it a lot (we're registered
users here). Can anyone suggest a fix to get things back to how they once
were? Thanks very much!
--
View this message in context: http://www.nabble.com/How-to-install-Actionscript-3-TEMPLATE-correctly--tp2…
Sent from the textmate users mailing list archive at Nabble.com.
another bug/issue I have with textmate - mysql highlighing in php code works
only sort of. If I write:
"SELECT * FROM `table` WHERE `column` = 'value';";
it's fine - FROM and WHERE are blue, the rest is green.. but if I write
something like
"SELECT * FROM `".$table."` WHERE `".$column."` = '".$value."';";
the MySQL highlighting stops working at FROM.
--
View this message in context: http://www.nabble.com/PHP-MySQL-highlighting-tp20510850p20510850.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I checked out the Bundles repository to User/Library/Application
Support/TextMate/Bundles after I restarted TM and tried to typset my
latex document I get the following error message:
/tmp/temp_textmate.Y4UcNG:3:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
process (LoadError) from /tmp/temp_textmate.Y4UcNG:3
I already tried Logout/Login and Restart without any changes.
How could I get TM to work again?
Thanks in advance,
Christian
I've been using this to keep my bundles up to date:
cd /Library/Application\ Support/TextMate
svn up
and it's been working fine. However as of the past few days it seems to not
be getting any updates. According to the bundle update RSS feed (feed://
macromates.com/svnlog/bundles.rss), it's at r10806, but when I do the svn
up, it tell me I'm up to date at: r10740
Had the bundle update process changed?
Thanks,
jt
Dear All,
I am very new with MacOSX and Textmate(1.5.7). I write with TextMate simple
HelloWorld in C.
#include <stdio.h>
int main()
{
prinft("hello world");
return 0;
}
When I run the code. I always get this error.
xcodebuild: Error: the directory /Users/koko/Documents/MNP does not contain
an Xcode project.
what is the problem? I dont wanna use Xcode editor for C learning.
How can I configure the Xcode complier for TextMate editor.?
many thanks in advance,
koko
Howdy,
Our project is a mix of erb and haml templates, but the majority are erb.
Prior to installing the haml plugin in the Rails project and the Textmate
bundle, the "Go To View" shortcut in TextMate would neatly take me to the
.html.erb view from a controller, but now wants to go to the .html.haml
file, which doesn't exist for most views. Is there a way to set the default
back to .erb ? Uninstalling the TextMate HAML bundle doesn't seem to do it.
Cheers,
Pete
--
View this message in context: http://www.nabble.com/HAML-templates-now-the-default-for-%22Go-To-View%22-s…
Sent from the textmate users mailing list archive at Nabble.com.
First a question, is there someone using textmate to work on unix servers??
I thought that with sshfs and the power of bundles I could do something
really nice, much better than using vim (which is a great software anyway)
in ssh...
I have doubts on how to implement the "helpers", because I don't know enough
yet of TM.
1. If I create a language for every software (a grammar for monitrc, a
grammar for apache etc...) I will get too many languages, is there a way to
create a group of languages??
I would like to create mainly many snippets, help functions that returns
useful web-pages and maybe nice scripts to automate things..
2. Good ways to send command to external servers??
Maybe just open a shell and ssh <host> <cmd>?
3. There are any kind of problems working with TM+sshfs (if you know)?
I have also created a good (I think) way to document servers, with latex and
custom scripts, if anyone interested in TM + sysadmin work is welcome to
write me, I could publish everything somewhere..
Any advice is welcome, you know better than me the potentiality of this
great software!
--
View this message in context: http://www.nabble.com/TextMate-for-sysadmins-tp20327584p20327584.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I just installed Skim 1.2 (a pdf viewer). They appear to have moved
the `displayline' command from <skim dir>/Contents/Resources/
displayline to <skim dir>/Contents/SharedSupport/displayline which
breaks the pdfsync integration with the TextMate LaTeX bundle.
I updated the path in <textmate dir>/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/texMate.py, line 111 which seems to have
corrected the problem:
if viewer == 'Skim' and vp:
syncPath = vp + '/Contents/SharedSupport/displayline ' +
os.getenv('TM_LINE_NUMBER') + ' ' + pdfFile + ' ' +
shell_quote(os.getenv('TM_FILEPATH'))
I noticed that displayline now supports a -r flag to refresh the pdf
so the refresh and pdfsync could be done in one command. I wasn't
feeling confident enough in my python skills to try this.
-Mark