On Jul 1, 2011, at 2:30 PM, Brandon M Fryslie wrote:
@Gerd
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)
AckMate.tmplugin MissingDrawer.tmplugin ProjectPlus.tmplugin TmCodeBrowser.tmplugin WebMate.tmplugin
etc.
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.
Gerd
Brandon
On Fri, Jul 1, 2011 at 11:54 AM, textmate-request@lists.macromates.com wrote: Send textmate mailing list submissions to textmate@lists.macromates.com
To subscribe or unsubscribe via the World Wide Web, visit http://lists.macromates.com/listinfo/textmate or, via email, send a message with subject or body 'help' to textmate-request@lists.macromates.com
You can reach the person managing the list at textmate-owner@lists.macromates.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of textmate digest..."
Today's Topics:
- keymaps (Andrea Campolonghi)
- Re: Capturing error messages (Greg)
- Re: Any news on Textmate 2? (Brandon M Fryslie)
- Re: Any news on Textmate 2? (pier25)
- Remote pair programming (Adam Merrifield)
- Re: Any news on Textmate 2? (Gerd Knops)
- Re: Remote pair programming (Mario "Kuroir" Ricalde)
- Re: Remote pair programming (Gerd Knops)
- Re: Remote pair programming (Mario "Kuroir" Ricalde)
- Re: Any news on Textmate 2? (Will)
Message: 1 Date: Fri, 1 Jul 2011 15:38:45 +0200 From: Andrea Campolonghi acampolonghi@gmail.com To: textmate@lists.macromates.com Subject: [TxMt] keymaps Message-ID: 58A56F19-F6B7-4D28-A51C-4B5C79094E47@gmail.com Content-Type: text/plain; charset=us-ascii
Hi,
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 happens. I have to do alt + command + [ to get a shift left but this last keymap is supposed to do code formatting.
Thanks
Andrea Campolonghi acampolonghi@gmail.com
Message: 2 Date: Fri, 1 Jul 2011 10:17:34 -0700 From: Greg web@web.knobby.ws To: TextMate users textmate@lists.macromates.com Subject: [TxMt] Re: Capturing error messages Message-ID: 430DB169-BEFC-450C-94C2-6FE9296693B0@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@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, [1] has a survey of ways to run subprocesses in Ruby.
HTH, Martin
[1] http://tech.natemurray.com/2007/03/ruby-shell-commands.html
Thank you. I think this will point me in the right direction. Greg
Message: 3 Date: Fri, 1 Jul 2011 10:44:32 -0700 From: Brandon M Fryslie bmf@email.arizona.edu To: textmate@lists.macromates.com Subject: [TxMt] Re: Any news on Textmate 2? Message-ID: BANLkTin_9p6eeornUXPq8_m_5dXXc5gcjg@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.