[TxMt] Re: Any news on Textmate 2?

Gerd Knops gerti-textmate at bitart.com
Fri Jul 1 20:10:34 UTC 2011


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 at lists.macromates.com> wrote:
> Send textmate mailing list submissions to
>        textmate at 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 at lists.macromates.com
> 
> You can reach the person managing the list at
>        textmate-owner at lists.macromates.com
> 
> 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 at gmail.com>
> To: textmate at lists.macromates.com
> Subject: [TxMt] keymaps
> Message-ID: <58A56F19-F6B7-4D28-A51C-4B5C79094E47 at 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 at gmail.com
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 1 Jul 2011 10:17:34 -0700
> From: Greg <web at web.knobby.ws>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Capturing error messages
> Message-ID: <430DB169-BEFC-450C-94C2-6FE9296693B0 at 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 at 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 at email.arizona.edu>
> To: textmate at lists.macromates.com
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <BANLkTin_9p6eeornUXPq8_m_5dXXc5gcjg at 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.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.macromates.com/textmate/attachments/20110701/2200641e/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 1 Jul 2011 10:53:17 -0700 (PDT)
> From: pier25 <yo at pierbover.com>
> To: textmate at lists.macromates.com
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <31975632.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> 
> Brandon M Fryslie wrote:
> >
> > 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.
> >
> 
> Well that is my point, you need to use a command.
> 
> Xcode gives you automatically the list of possible options, as compared to
> having to press a key and cycle through each possible option.
> 
> Check the video on my latest mail to see it in action.
> 
> --
> View this message in context: http://old.nabble.com/Any-news-on-textmate-2--tp31959429p31975632.html
> Sent from the textmate users mailing list archive at Nabble.com.
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 1 Jul 2011 14:06:57 -0400
> From: Adam Merrifield <macagp at gmail.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Remote pair programming
> Message-ID: <C699D703-43B3-4262-A3ED-741E7D66093B at gmail.com>
> Content-Type: text/plain;       charset=us-ascii
> 
> Has anyone worked out any solutions within textmate for remote pair programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to develop with would be lost in those ide's.
> 
> Adam Merrifield
> seydoggy.com
> 
> 820 Strasburg rd, Kitchener,
> Ontario, N2E 2Y3, Canada
> 
> Email: info at seydoggy.com
> Office: 519-489-6033
> Cell: 519-574-9788
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 1 Jul 2011 13:12:40 -0500
> From: Gerd Knops <gerti-textmate at bitart.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <CFABEE41-3C7A-4AA6-BF7F-0E4CF2FAA166 at bitart.com>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> On Jul 1, 2011, at 12:53 PM, pier25 wrote:
> 
> >
> >
> > Brandon M Fryslie wrote:
> >>
> >> 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.
> >>
> >
> > Well that is my point, you need to use a command.
> >
> > Xcode gives you automatically the list of possible options, as compared to
> > having to press a key and cycle through each possible option.
> 
> That is one of the things where I hope TM2 will give us more flexibility. I am hoping that we gain the ability (be it in a script, plugin, whatever) to intercept nearly all events, like mouse clicks (cmd-click, cmd-souble-click, alt-click etc), or cursor moved events, text changed events etc.
> 
> That would allow bundles or plugins to add a lot of really cool stuff.
> 
> Another 'must' in my book is for bundles to be able to hook into context menus (for things like "Show definition", "Show documentation" etc for the clicked text).
> 
> Some way of temporarily marking up code on the fly would also be cool, so that when a compiler/parser/whatever flags a problem in a certain line, we could highlight that line and if the compiler/parser/whatever provides a problem description or (gasp) even fix suggestions (like clang) there would be a way to add UI for that.
> 
> Well, we can dream...
> 
> Gerd
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Fri, 1 Jul 2011 13:44:27 -0500
> From: "Mario \"Kuroir\" Ricalde" <mario at kuroir.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Remote pair programming
> Message-ID: <BANLkTimnuc7Hs4VN40mu7xo2SWQ+N5_ccg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> Textmate is not the solution you need. Heck textmate hangs whn working
> with remote files over ftp. I suggest you try a specialized solution.
> 
> On 7/1/11, Adam Merrifield <macagp at gmail.com> wrote:
> > Has anyone worked out any solutions within textmate for remote pair
> > programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to
> > develop with would be lost in those ide's.
> >
> > Adam Merrifield
> > seydoggy.com
> >
> > 820 Strasburg rd, Kitchener,
> > Ontario, N2E 2Y3, Canada
> >
> > Email: info at seydoggy.com
> > Office: 519-489-6033
> > Cell: 519-574-9788
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
> 
> --
> Sent from my mobile device
> 
> *
> --
> Mario "Kuroir" Ricalde
> Developer at Destructoid.com
> kuroir at twitter
> *
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Fri, 1 Jul 2011 13:48:10 -0500
> From: Gerd Knops <gerti-textmate at bitart.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Remote pair programming
> Message-ID: <031EFE5C-DF98-4D1C-9D2A-4A6B978C5B1D at bitart.com>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> On Jul 1, 2011, at 1:44 PM, Mario Kuroir Ricalde wrote:
> 
> > Textmate is not the solution you need. Heck textmate hangs whn working
> > with remote files over ftp. I suggest you try a specialized solution.
> >
> Either that, or depending on workflow a distributed source control system (git, Mercurial) might do the trick. And for the more immediate feedback there is always screen sharing via iChat...
> 
> Gerd
> 
> 
> > On 7/1/11, Adam Merrifield <macagp at gmail.com> wrote:
> >> Has anyone worked out any solutions within textmate for remote pair
> >> programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to
> >> develop with would be lost in those ide's.
> >>
> >> Adam Merrifield
> >> seydoggy.com
> >>
> >> 820 Strasburg rd, Kitchener,
> >> Ontario, N2E 2Y3, Canada
> >>
> >> Email: info at seydoggy.com
> >> Office: 519-489-6033
> >> Cell: 519-574-9788
> >>
> >> _______________________________________________
> >> textmate mailing list
> >> textmate at lists.macromates.com
> >> http://lists.macromates.com/listinfo/textmate
> >>
> >
> > --
> > Sent from my mobile device
> >
> > *
> > --
> > Mario "Kuroir" Ricalde
> > Developer at Destructoid.com
> > kuroir at twitter
> > *
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> 
> 
> 
> ------------------------------
> 
> Message: 9
> Date: Fri, 1 Jul 2011 13:53:12 -0500
> From: "Mario \"Kuroir\" Ricalde" <mario at kuroir.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Remote pair programming
> Message-ID: <BANLkTimL5TfgDcCAjzhWz8W85VXW4WCXqg at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> Indeed. Github is very nice to work with because of the comment on line feature.
> 
> On 7/1/11, Gerd Knops <gerti-textmate at bitart.com> wrote:
> >
> > On Jul 1, 2011, at 1:44 PM, Mario Kuroir Ricalde wrote:
> >
> >> Textmate is not the solution you need. Heck textmate hangs whn working
> >> with remote files over ftp. I suggest you try a specialized solution.
> >>
> > Either that, or depending on workflow a distributed source control system
> > (git, Mercurial) might do the trick. And for the more immediate feedback
> > there is always screen sharing via iChat...
> >
> > Gerd
> >
> >
> >> On 7/1/11, Adam Merrifield <macagp at gmail.com> wrote:
> >>> Has anyone worked out any solutions within textmate for remote pair
> >>> programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to
> >>> develop with would be lost in those ide's.
> >>>
> >>> Adam Merrifield
> >>> seydoggy.com
> >>>
> >>> 820 Strasburg rd, Kitchener,
> >>> Ontario, N2E 2Y3, Canada
> >>>
> >>> Email: info at seydoggy.com
> >>> Office: 519-489-6033
> >>> Cell: 519-574-9788
> >>>
> >>> _______________________________________________
> >>> textmate mailing list
> >>> textmate at lists.macromates.com
> >>> http://lists.macromates.com/listinfo/textmate
> >>>
> >>
> >> --
> >> Sent from my mobile device
> >>
> >> *
> >> --
> >> Mario "Kuroir" Ricalde
> >> Developer at Destructoid.com
> >> kuroir at twitter
> >> *
> >>
> >> _______________________________________________
> >> textmate mailing list
> >> textmate at lists.macromates.com
> >> http://lists.macromates.com/listinfo/textmate
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
> 
> --
> Sent from my mobile device
> 
> *
> --
> Mario "Kuroir" Ricalde
> Developer at Destructoid.com
> kuroir at twitter
> *
> 
> 
> ------------------------------
> 
> Message: 10
> Date: Fri, 1 Jul 2011 11:54:42 -0700
> From: Will <willthemoor at gmail.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <449F8B7B-0214-4C4F-A21F-F72DBB790EF8 at gmail.com>
> Content-Type: text/plain;       charset=us-ascii
> 
> On Jul 1, 2011, at 11:12 AM, Gerd Knops <gerti-textmate at bitart.com> wrote:
> > That is one of the things where I hope TM2 will give us more flexibility. I am hoping that we gain the ability (be it in a script, plugin, whatever) to intercept nearly all events, like mouse clicks (cmd-click, cmd-souble-click, alt-click etc), or cursor moved events, text changed events
> 
> To me, this and related bundle enhancements is all 'textmate 2' needs to be. A release focused on extending it's strongest feature.
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> End of textmate Digest, Vol 38, Issue 2
> ***************************************
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list