When I watched the sqleditor screen-cast, I swear I watched him open
a per-project variable list (like the Preferences -> Advanced ->
Shell Variables).
Why don't I see this? and if it's there, how do I open it? I want to
set a bunch of variables per-project instead of globally.
Regards,
Eric Coleman
Greetings everybody,
When you're recording a macro, an ugly logo, which seems to be partly
taken from iPhoto's, appears at the bottom on the right hand corner
of the window. I replaced it with a beautiful red dot and here's the
result :

Of course, it's also pulsating, like the previous one.
If you like it, here's the file that you have to put in TextMate.app/
Contents/Ressources. Hit "Replace" at the message the Finder will
prompt.

Urbanose
POST
User-Agent: Xnntp/beta04 (PPC Mac OS 10.3)
Dear List,
I've recently discovered TextMate and am – so far - quite impressed because it
integrates so well with the environment (vim and emacs don't [yet]) and still
has some useful features and extensibility.
However, I have got two simple questions, to which I don't really find a good
answer on the web (my fault, probably):
– I'm not sure who develops the R bundle; the highlighting is quite okay, the
comments aren't (commenting uses C style by default; this doesn't work). I
copied over the Python or Perl definitions (#) with the right scope marker.
Is such a trivial change this worth asking for a svn account, or where should
such suggestions be directed?
– One feature from Emacs' reftex mode (for LaTeX) I'd like to have in TextMate
would be the recursive scanning for section commands, i.e. seeing all the
sections etc. from the current master document and all (recursively) included
files. Is this possible and I am to stupid to find it (perhaps using the
wrong search terms)? This is an extremely practical thing for longer
documents, because one can go from (the file containing) part I (or a file
included by it) to a chapter in (the file containing) part III (or a file
included by it).
Have a nice Labour Day,
Cheers,
Theorik
I seem to have discovered an infinite loop bug in ctags, which
TextMate depends on.
1. Create a new document
2. Paste in the text "This is a buggy <Java> program"
3. Change file type to Java
4. Save
At this point, TextMate beachballs and I have to force quit. After
that, I find that a ctags process is still running and consuming 100%
of the CPU. Can anyone reproduce this?
Trevor
P.S. TextMate 1.5.1 (948)
Hi all,
I've just watched the insert_html_tag movie, and I cannot reproduce the
"overtype the tag name"
action, where replacing the opening tag - p by div - is mirrored at the
closing tag.
When I do it, the closing tag is not modified.
"tab into the body of the tag" doesn't work either (it just inserts a
tab character, instead of having the cursor jump into the tag body area).
What am I doing wrong?
Alain
Hey all,
This is a bit OT, as I'm pretty sure the problem is not restricted to
the mate binary, but seems to be affecting any shell command that
triggers a GUI event. /usr/bin/open is throwing the same error, as is
growlnotify.
Does anyone have any idea what this might be related to? Thanks,
Ben
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Regarding the recent R discussion, this came across the R users list
today. The author has put together some scripts that interacts with
the console version of R via vim. He's reported that it doesn't yet
work on OS X, but perhaps his code may be useful for working out some
of the problems/goals that people have been raising with TextMate/R.
http://www.uft.uni-bremen.de/chemie/ranke/index.php?page=vim_R_linux
Cheers-
-Alan
Explain this, anyone!
Type "chocolate" then press the keyboard shortcut for "Insert Open/
Close Tag (With Current Word)" ("^-<).
I get
<chocolate />
When I expected to see
<chocolate></chocolate>
eh?
"pudding" gives me
<pudding></pudding> but
"chocolatepudding" gives me
<chocolatepudding />
Is this one of them Easter Eggs? ;)
eo
Hi,
I just tried dragging several selected image files from a Finder
window into an HTML document, and the code it generates is very
incorrect:
<img src="/Users/john/Pictures/P1010012.JPG" width="1024" height="768"
alt="<img src="/Users/john/Pictures/P1010013.JPG" width="1024"
height="768" alt="P1010013" />" />
It looks like it's putting the second image tag into the placeholder
for the alt attribute. Dragging more will continue the problem over
and over.
Is this a known problem?
Thanks!
jt
Hi,
Just for the record, what is the "official" convention for naming
snippets? For example, I have a snippet like this:
array date(${1:\$array}; 0)
set array($1; ${2:date})
What should the associated snipped be named?
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
There seems to be a bug in the HTML display window of TextMate.
1. Save the following Java code as test.java (the misspelling of
"String" is intentional):
class test
{
private java.util.LinkedList<Strin> blah;
}
2. Open the file and hit Command-B to build
On my TextMate, I see a line that looks like this:
private java.util.LinkedList<Strin> blah;
It looks like TextMate is properly escaping the greater-than
character but forgot about the less-than character. Is there a way to
fix this on my end, or do I have to wait until the next bug-fix
release of TextMate?
Trevor
I'm thinking about buying TextMate and am curious
about future versions - such as:
1. What's planned? Is there a roadmap somewhere?
2. When?
For me, sftp integration is a big deal. Right now I check out locally and use
rsync to update the server (before you make other recommendations, I've tried
cyberduck, interarchy, I DO use SVN, etc.), and it's borderline tolerable.
Joe
I know this doesn't belong here, but Im looking for some quick
information:
I have the following structure:
branches/
tags/
trunk/
In my repository. Inside trunk is version 1 of our application. I
want to start on 1.1 which is actually a major rewrite of almost
everything.
So I create a 1.1 branch. and remove all files in the branch
Now, when I'm finished with the 1.1 branch, how do I merge it into
trunk? can/do I just remove everything in trunk and merge the branch
stuff down? The entire file structure is changing for version 1.1
Any insight would be appreciated :)
Eric Coleman
I have a follow-up to Aparajita's recent thread about adding
FileMerge support to TextMate. I really like the idea, but as Chris
pointed out, it shouldn't be necessary to clone the Subversion bundle
or add special environment variables to TextMate. That's because
Subversion isn't hard-coded to use diff; it can run any utility you
want, as long as its arguments are diff-compatible. All you need to
do is add a diff-cmd setting to ~/.subversion/config.
The problem, though, is that TextMate is hard-coded for diff. If you
look at the svn_diff.rb file in the Subversion bundle, it forces svn
to run diff instead of the user's diff-cmd. I think the best
solution, then, is to change this file so that it's not hard-coded.
Not only would this add support for FileMerge [1], but it would add
support for any other diff utility, as well.
With that goal in mind, I've modified svn_diff.rb and posted my
changes here:
http://vocaro.com/trevor/files/svn_diff.rb
To try it out, simply replace your existing svn_diff.rb with this
one. You'll then be able to specify a custom diff utility by setting
the diff-cmd variable in ~/.subversion/config [2]. The next time you
run a Subversion diff command, TextMate will automatically run your
preferred diff utility. If you comment out the diff-cmd line (or
delete the config file entirely), TextMate will go back to using the
standard diff utility as before.
The only functional change here is that if you specify a custom diff-
cmd and a file has no changes, you'll see no output when doing a diff
on it, not even a tooltip [3]. The problem here is that with the
regular diff, no output means no changes, but with custom (graphical)
diff utilities, usually nothing is printed to stdout, even when there
are changes. So, the command can't simply look at stdout and know
whether changes were detected or not.
With that caveat, I hope some of you can try this out and let me know
what you think. I'm hoping that with the proper vetting it can be
checked into the repo. After all, it's a pretty low-impact change. No
new bundles, no new commands, just different behavior when specifying
a custom diff-cmd. (If none is specified, TextMate works exactly as
it did before.)
Trevor
[1] Unfortunately, opendiff (FileMerge's command-line launcher) is
not diff compatible. You'll need a wrapper script like this one:
http://vocaro.com/trevor/files/filemerge (It's buggy, though.
Although it works great for diffs against BASE, whenever the network
is involved, such as diffs with HEAD or PREV, it sometimes works,
sometimes doesn't. Can anyone help?)
[2] I've posted an example config file here: http://vocaro.com/trevor/
files/config
[3] When no custom diff-cmd is specified, you'll get a tooltip that
says "No differences found."
Three times a charm, or so they say. Now properly:
I've created a bundle for textmate that allows one to edit data (for instance, html templates) stored inside a MySQL database. More info and a simple screencast can be found at http://vivified.net/journal/sqledit-textmate-bundle
I hope someone finds this useful -- I did.
cheers,
Bastiaan Terhorst
Hello,
Is there anyway for texmate to have the gutter stick to the left side
of the window even when scrolling horizontally? I've seen it
mentioned several times in the wiki and the consensus seemed to be
that it would be added in 1.3, but in 1.5.1 I still can not find it.
Thanks
Mark
I'm interested if anyone else can duplicate this behavior.
It seems like I'm hitting some kind of performance ceiling when typing
in lines with more than 400 characters.
1. type "lorem" then tab.
2. click in the middle of the generated text-block and repeat.
3. repeat this several times.
On my machine (with a completely fresh install of TextMate build985)
my typing slows down to about half-speed.
The key here is that the slowdown only happens when you are typing in
the middle of the text-block; that is to say, in the middle of a very
long line. When typing on a new line, everything seems normal.
Is TextMate ill-equipted to handle lines this long or is my machine
messed up? Anyone else out there see this same thing? Any suggestions?
Is it on the agenda to add support for folders within the bundles, so
we can group commands, snippets, etc.?
I've got about 50 commands in my bundle now and I'm sure they are all
very confusing to anyone that opens up the commands, but if I would
group the commands (arbitrarily) I'm sure people could find things in
the bundle much faster.
Hi,
Is there a keyboard shortcut to close the most recently opened HTML
tag? For example, I typed
<h1>something
then hit some key combo that would automatically insert the </h1>? (I
was just watching the TurboGears video and it looked like he was
auto-closing his tags. It looks like an older version of TextMate.)
I searched the online manual and did a search of this mailing list,
but couldn't find anything.
Thanks!
jt
It looks like the latest update to the Active 4D bundle has claimed
the .html extension. If I open an HTML file that wasn't created in
TextMate, the language gets set to Active4D (HTML). Sure, it's easy to
switch, but how do I change it back so it defaults to HTML?
Thanks!
jt
thanks a lot for this Chris...i will definitely be taking this for a
test drive, as i am using ExpressionEngine for a few of my current
projects...keep us updated with any enhancements/additions you make
to it....