Registering for the ADC Leopard talks, I note I have the following
choices in answer to:
What development tools are you using to build your application(s)
today? (check all that apply)
* Xcode IDE
* gcc/Xcode build system via TextMate <<----- !!!
* gcc command-line only
* Eclipse
* Other
Kudos to all.
--
Simon Pride
a: Bronxville, NY 10708
why is the new version of pymate written in ruby?
I don't know jack about ruby -- why should I learn it in order to hack on a
tool I use daily while writing python code? come on, we don't want no stinking
ruby here!
I often compose emails in TextMate and paste them into new messages
in Mail. I think there should be a automated way of doing this.
What I've come up with so far involves transforming the document into
a link and runing it with the "open" command. Something like this:
open "mailto:jo@foo.net,%20elizabeth@bar.com?
cc=sam(a)fake.org&subject=New%20Fall%20Schedule&body=Hey%20guys%21%0A%
0AI%20just%20wanted%20to%20let%20you%20know%20that%20I%20was%20in%
20town%20next%20tuesday.%20Please%20call%20me%20at%20818-555-1234%20so
%20we%20can%20set%20something%20up.%0A%0ASee%20you%20then%21%0A%0A--
oliver"
This works reasonably well.
Obviously, transforming the document into a single link would require:
1. A syntax
2. URL escaping
2. Some clever search/replace
But before I invest time into this I wanted to ask you guys what you
thought.
Is this a good candidate for the existing mail bundle?
Are there better ways of sending the message to mail than thru a link?
What are your thoughts?
--oliver
Hi,
Is there a command to select the current node and its descendants in
an XML or HTML document? I know there is the "select current scope"
command, and the "select enclosing brackets", but they don't seem to
work this way.
It would seem that a "select node and descendants" is quite possible
because the "close tag" command traverses the DOM and closes the
current node.
Greg
I love this concept, but my last version of Justin's command didn't
have image dimensions. Now it inserts dimensions if you're inside a
blank rule or creates a full rule with dimensions in source.css. Of
course, if you're inside parenthesis it will just insert the name
with single quotes, inside single quotes just the name, you know how
it goes. It inserts as a snippet and on the longer snippets it
kindly leaves you after the last semicolon of the last value, so that
if you're using the workflow commands adding more declarations is as
easy as hitting tab or CTRL-N then TAB for a new rule.
I'm actually finding this more useful than the drag command... it's
more accessible and doesn't require the mouse! But they both have
their place, the drag is nice when you have a lot more images and the
folder management comes into play. A big thanks to Justin Palmer.

Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett(a)circlesixdesign.com
http://www.circlesixdesign.com
..................................................
I haven't run across this before, so I thought I'd share.
Here's a simple command for looking up the current word in
Dictionary.app:
osascript &>/dev/null \
-e 'with timeout of 30 seconds' \
-e 'tell application "Dictionary"' \
-e 'activate' \
-e 'end tell' \
-e 'end timeout' \
-e 'do shell script "open dict:///$TM_CURRENT_WORD"' &
We can't just do the shell script because, for whatever reason, it
only works if Dictionary.app is already open. Without the "Timeout"
argument applescript will not wait for Dictionary.app to open before
requesting the definition.
I'm sure there are better ways to code this, but it works for me.
--oliver
[2006-11-02: REVISION 1324]
[REMOVED] TextMate no longer pays tribute to human sacrifices, rape, nor
does it show a picture of the God of the deaths in your dock -- ticket
945BEB5D
lol, please tell me people didn't complain about the easter egg?
Also, while I'm doing things just for giggles, bloggers might want to
check out http://murl.info/14421. It's a little TM command that
triggers an applescript that pulls in whatever text is highlighted in
Vienna (RSS Reader) and formats it as a blockquote with linked
credits and inserts it into your current entry. The applescript is
separate and can be edited to work with other readers/programs.
it's just an implementation choice I find too hurried.
p.s.:
> Because the existing pymate was broken
by any means, the code stinks and it's got lots of ugly bugs hard to fix --
I'm not against a rewrite or something, I'm against a rewrite in ruby.
think about letting the build factory of -- say -- FreeBSD run on top of linux
machines. that's just weird.
come on, I didn't want to be rude and I think I was lacking a ";)" at the end
(even if the adjective "stinking" should turn a light on, how can you be
serious if you say a language stinks?).
it just strikes me as... hell, strange! and no, I have no plans on learning
ruby -- nor should I in order to fix or just tweak something which happens to
be used by... like... python programmers, you know. it's just an implementation
choice which