For better Erlang integration I want to run some stuff in the background, see:
http://www.rsaccon.com/2007/11/faster-interaction-between-erlang-and.html
Based on my still very basic understanding of TetxMate, the best way
to achieve this, I think is to to write a plugin.
Does there exist any tutorial or recommendation on how to get started
? Or do I just have to read the source code of the exsting plugins ?
I am familiar with C in general, but unfortunately no experience yet
with Objective-C.
regards
--
Roberto Saccon
http://rsaccon.com
I know there are a few of masters of the art of creating magical code
on the TextMate list. I'm wondering if TextMate, with a little,
perhaps a lot, of clever programming might be the solution to a very
common small business problem.
Many small business owners are searching for a simple way to create
and send customized boilerplate email to individuals and occasionally
to Address Book groups. Before you get the wrong idea, I'm *not*
referring to the usual 'bulk' email program, that market is already
well served.
I know small business owners would be delighted to discover a
straightforward, highly automated way to welcome new customers and
periodically communicate with them by email.
Marketcircle's Daylite, an OpenBase SQL CRM, is the best solution I've
been able to find. Objective-Decision's Contactizer Pro, Christian
Fries' Serial Mail and MacTank's Mail Template also attempt to address
this need. Bulk mail programs aren't likely to be the answer.
Overview:
- family businesses are usually frugal
- paraphrasing Occam/Ockham "All other things being equal, the
simplest solution is the best."
- leverage Apple's Address Book
- leverage Apple's Mail
- use TextMate to create email merge templates (provide an easy way to
add Address Book fields to the merge template. Joe Pagliaro does this
nicely with drop-down Address Book field selection in his program
Mailings.)
- merge data from Address Book into the TextMate merge template and
transfer the merged text to Apple Mail for editing and sending
Potential workflow:
1. Select an existing Address Book client record (Spotlight)
2. Select a merge template (right click)
3. Magic happens, an email appears in Apple's Mail, ready to send.
I'm not a coder, so, it's a given that my idea may be ridiculous. It's
possible Christian Fries was on the right track with Serial Mail.
http://www.christian-fries.de/osx/SerialMail/index.html
Cheers,
Frank
I suspect this is more like a feature request than anything else, but
does anyone have a hack/workout/methodology for color labels in the
project drawer - I know that open or unsaved files have a slightly
different toned icon - than saved file icons - is there any way /
plans to enhance this further?
I know that I for one would LOVE this feature..
regards
-s.i
I never noticed this issue before, but if I have a php file with html
in it like so:
<html>
<head></head>
<body>
<div>
<?
echo "hello world";
?>
</div>
<body>
</html>
I get code colorization to the first div tag the closing div, body
and html tags go uncolorized - is this just me? I'm thinking this is
a new issue, because I've never noticed it before?
-saul
To commands that I think would be awesome (since the last time I made
a request my project drawer got all colorful :0)
has anyone attempted to match the functionality of markupmaker
(http://www.accessify.com/tools-and-wizards/developer-tools/markup-
maker/)
as a textmate command? -- my head would explode if somebody had that
handy (seriously EXPLODE!)
- saul
I've just attempted to add folding for POD to TM's Perl language
definition - forgetting that I've already tried it previously. POD
looks like this:
=head1 A heading
=head2 A sub heading
=cut
The =cut always ends the POD. So my patterns look like ^=(?!cut) and
^=cut\s*$ respectively. That doesn't work because the folding
mechanism expects a recursive syntax - each opening 'thing' requires
its own closing 'thing'.
So I was thinking about how the problem could be solved and it
occurred to me that it'd be interesting to have an extension to
regular expression syntax that allowed an assertion to be made about
the matching scope.
Assuming the assertion was called ?^ you could match the text 'foo'
only in storage.type.sub.perl or entity.name.function.perl with
something like this:
(?^storage.type.sub.perl|entity.name.function.perl:foo)
Generally (?^ <scope re> : <re> ) would allow <re> to match only if
the current scope name matched <scope re>.
To solve my folding problem the code that scans for folds would have
to be scope aware - which may not be feasible architecturally.
And I realise that extending RE semantics to grok rich text is a bit
of a big undertaking - but I thought it was a cute idea :)
--
Andy Armstrong, Hexten
The Completion command shortcut ⎋ (the most important command to me)
was gone. Then I discovered that I can assign a new Menu command via
System Preferences. I assigned ⌘⎋ ant it becomes to work again!
- Juan Falgueras
hi :)
i've written some classes in php and would like to document my methods
so i'm typing in doc_fp, hit tab and voila:
/**
* undocumented function
*
* @return void
* @author /bin/bash: niutil: command not found
**/
8-)
i can't remember seeing this before i switched to leopard ( format +
install ) but what is that command? netinfo-something?
regards,
oktay.
Hi,
I encountered a tiny bug in the Ruby code for: "Insert Close Tag"
If one has he following HTML code:
<HTML><HEAD><TITLE>foo</TITLE></HEAD><BODY>
<HR>
and press OPT+APPLE+. it will insert </HR> not </BODY>.
The reason is here:
# remove all self-closing tags
if ENV.has_key?('TM_HTML_EMPTY_TAGS') then
empty_tags = ENV['TM_HTML_EMPTY_TAGS']
before.gsub!(/<(#{empty_tags})\b[^>]*>/, '')
end
The regexp is not case insensitive! TM_HTML_EMPTY_TAGS are written in
lower case only.
Ergo:
# remove all self-closing tags
if ENV.has_key?('TM_HTML_EMPTY_TAGS') then
empty_tags = ENV['TM_HTML_EMPTY_TAGS']
before.gsub!(/<(#{empty_tags})\b[^>]*>/i, '')
end
Cheers,
--Hans