On Jul 1, 2011, at 2:30 PM, Brandon M Fryslie wrote:
Programmable event driven actions & context menu plugins are actually two of the most
useful realistic suggestions I have heard for TM2. Has anyone played with SIMBL / APE?
What are the chances of us hooking something like this in ourselves? Are there already
Cocoa events that we could hook on to for that stuff, or does the entire event framework
need to be put in?
I've only written a few Cocoa programs so I'm not an expert on that stuff, but
I've been wanting to play around with SIMBL so this may give me the opportunity.
I'm thinking that the context menu thing should definitely be doable to some extent.
No need for SIMBL as TextMate has plugin support (.tmplugin), there are a few
floating around like (random list)
But without API support from within TextMate one is quite limited as to what can be done,
and even what little can be done requires a lot of time consuming reverse engineering,
dealing with side effects and what not. And the core of TM is written in C++, which is
even harder to interface with without cooperation than the ObjcC components.
> On Fri, Jul 1, 2011 at 11:54 AM, <textmate-request(a)lists.macromates.com>
> Send textmate mailing list submissions to
> To subscribe or unsubscribe via the World Wide Web, visit
> or, via email, send a message with subject or body 'help' to
> You can reach the person managing the list at
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
> Today's Topics:
> 1. keymaps (Andrea Campolonghi)
> 2. Re: Capturing error messages (Greg)
> 3. Re: Any news on Textmate 2? (Brandon M Fryslie)
> 4. Re: Any news on Textmate 2? (pier25)
> 5. Remote pair programming (Adam Merrifield)
> 6. Re: Any news on Textmate 2? (Gerd Knops)
> 7. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 8. Re: Remote pair programming (Gerd Knops)
> 9. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 10. Re: Any news on Textmate 2? (Will)
> Message: 1
> Date: Fri, 1 Jul 2011 15:38:45 +0200
> From: Andrea Campolonghi <acampolonghi(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] keymaps
> Message-ID: <58A56F19-F6B7-4D28-A51C-4B5C79094E47(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
> I am using mate on an italian keyboard.
> While the menu tell me that I can do shift left wiht command + [ when I try nothing
> I have to do alt + command + [ to get a shift left but this last keymap is supposed
to do code formatting.
> Andrea Campolonghi
> Message: 2
> Date: Fri, 1 Jul 2011 10:17:34 -0700
> From: Greg <web(a)web.knobby.ws>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Capturing error messages
> Message-ID: <430DB169-BEFC-450C-94C2-6FE9296693B0(a)web.knobby.ws>
> Content-Type: text/plain; charset=iso-8859-1
> On Jun 30, 2011, at 10:42 PM, Martin K?hl wrote:
> > On Thu, Jun 30, 2011 at 21:58, Greg <web(a)web.knobby.ws> wrote:
> >> I'm running a Ruby script from TextMate and within that script call a
> >> Perl script (gpsPhoto.pl) and would like to capture the error messages
> >> and act on them. The messages show up in the TM Running window.
> > There's nothing TextMate-specific about this, you can capture those
> > messages any way you would otherwise in Ruby. Which way that is depends
> > on how you call the other command, e.g. with backticks you would append
> > `2>&1` to the command line.
> > If you're unsure,  has a survey of ways to run subprocesses in Ruby.
> > HTH,
> > Martin
> >  http://tech.natemurray.com/2007/03/ruby-shell-commands.html
> Thank you. I think this will point me in the right direction.
> Message: 3
> Date: Fri, 1 Jul 2011 10:44:32 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <BANLkTin_9p6eeornUXPq8_m_5dXXc5gcjg(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> > Of course you can make TM scope aware and such, but AFAIK the completion
> > mechanism can't be modified. Your bundle can be very refined but you will
> > always have to use ESC and press again and again until you find the option
> > you need...
> The built in completion (ESC by default) might not be able to be modified
> (it actually can a little), but almost every language has one or several
> completion commands in the bundle. Check out PyRopes, and also the PHP
> bundle has a couple different great completion commands.