TextMate
OSXCPA writes "TextMate is a closed-source, GUI-based, extensible text editor that looks and behaves like a mashup of GNU Emacs ("Emacs") and NetBeans. This book is a primer and reference for TextMate. The blurb on the back of the book identifies the target audience as 'Programmers, web designers and anyone else who regularly needs to work with text files on Mac OSX.' After working with TextMate and reading through the book, the target audience is spot on. For example, the book briefly covers basic text editing, but provides in-depth information about basic operations (keyboard shortcuts, customizations, etc.) more advanced users will want to know and beginning users should know." Read below for the rest of OSXCPA's review.
TextMate: Power Editing for the Mac
author
James Edward Gray II
pages
193
publisher
Pragmatic Programmers
rating
8
reviewer
OSXCPA
ISBN
097873923X
summary
Excellent for the more complex scripting features of TextMate
I am reviewing TextMate: Power Editing for the Mac ("TPEFTM") by James Edward Gray II, published by The Pragmatic Programmers LLC, which I received from O'Reilly Media because I am the organizer of the Forest Park Ruby Meetup group. I received no compensation other than a copy of the book. I am relatively new to Ruby and Rails, but studied C and Java at University using Emacs and NetBeans. I am not a professional developer by any means, so if I can make sense of a tool and follow a book or manual, newbies should have no trouble.
The book and online manual are targeted at completely different audiences. The online manual clocks in at 97 very terse pages (print-previewed as-is in Internet Explorer) while the book is 193 pages. Despite the 100+ page difference, the online manual is intended for the hardcore geek and covers much more detail with less hand-holding. The book is written in a conversational tone that occasionally borders on distracting (e.g., "The Ruby executor is quite clever...") but no more so than other Pragmatic Programmer books.
Beginners and road warriors will find the book very handy, literally. I am a 'dead tree' book fan, especially regarding 'how-to' style documents. I like my books splayed open on my desktop so I can go from book to book as I work. At 193 pages, 'TPEFTM' does not like to sit open and flat, but it does fit easily into a laptop bag. The book does not come with a CD, but all the code is available on-line. I prefer this delivery system since besides the fact that I hate ripping CD envelopes out of books, TextMate is only available as a download anyway. Links to various third-party automations, commands and code are included throughout the book, and most of these 'ad-ons' are some flavor of open-source.
The book is organized in order of increasing complexity, so it is a good introduction for someone new to IDE-based development in the 'big tool that does many things' school. TextMate consciously mirrors some of the complex functionality of Emacs, albeit in a more accessible form, and the book eases the reader into this world in small, logical steps.
This is not to say the hardcore geeks won't find the book useful. There are many tips and tricks throughout the book that help a reader work faster and more efficiently (lots of keyboard shortcuts and scripting).
I tend to put sticky notes in my books, especially manuals. Find a code recipe you like? Sticky-note the page. The book contains many shortcuts ("Command Line TextMate", "filename matching") that inspired sticky-notes for later tinkering. The ordering of the tools is such that the reader can sit at the keyboard and work the examples straight through, read it start to finish 'offline', or use it as a reference book. I would encourage at least one straight-through read to ensure seeing every passage once. Browsing the index, chapter or page headings will not yield everything on offer.
TextMate is primarily viewed as a Ruby on Rails development tool. The book expressly acknowledges this (the code examples are mostly written in Ruby), but provides detailed instructions for handling syntax highlighting in Java, C and other languages via Automations. I did not try this out, but the instructions seemed fairly straightforward — someone with the passion to write Haskell in TextMate could probably set it up.
When deciding whether to buy this book or not, the key consideration is 'what does the book give me that the online documentation does not?' Textmate has several features that require elaboration, especially for newer users. TextMate supports various 'shortcut' and 'script-like' technologies — code snippets, macros, automations and two different types of commands — plain *NIX shell commands and TextMate 'automation commands'. Chapters five through 12 cover these tools individually and when combined. Purists may say 'well just use Emacs and write LISP' but the TextMate framework is more accessible to someone with less developed skills (and with less time to develop LISP-Fu). It provides a stepping stone for ambitious users, but allows for 'just getting it done'. I found these chapters to be the most compelling in the book both because they cover the most valuable features of the TextMate environment and they introduce skills a newer user should have (*NIX scripting, pipes, etc.) and more experienced users already have, but will want to implement in the TextMate context. While the online manual covers the technologies in detail, the book provides a more structured, user friendly introduction with enough detail to get work done and lay the groundwork for future development.
For $29.95, I do not expect exhaustive coverage of every feature. While 800+ page tomes have a place, it is nice to have a manual that fits in my bag. The coverage is very good for the basics and excellent for the more complex scripting features. I would definitely recommend this book for newer users, anyone who wants a readable, portable guide and those who plan on using the advanced scripting features, especially in conjunction with preexisting NIX system skills.
You can purchase TextMate: Power Editing for the Mac from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
I am reviewing TextMate: Power Editing for the Mac ("TPEFTM") by James Edward Gray II, published by The Pragmatic Programmers LLC, which I received from O'Reilly Media because I am the organizer of the Forest Park Ruby Meetup group. I received no compensation other than a copy of the book. I am relatively new to Ruby and Rails, but studied C and Java at University using Emacs and NetBeans. I am not a professional developer by any means, so if I can make sense of a tool and follow a book or manual, newbies should have no trouble.
The book and online manual are targeted at completely different audiences. The online manual clocks in at 97 very terse pages (print-previewed as-is in Internet Explorer) while the book is 193 pages. Despite the 100+ page difference, the online manual is intended for the hardcore geek and covers much more detail with less hand-holding. The book is written in a conversational tone that occasionally borders on distracting (e.g., "The Ruby executor is quite clever...") but no more so than other Pragmatic Programmer books.
Beginners and road warriors will find the book very handy, literally. I am a 'dead tree' book fan, especially regarding 'how-to' style documents. I like my books splayed open on my desktop so I can go from book to book as I work. At 193 pages, 'TPEFTM' does not like to sit open and flat, but it does fit easily into a laptop bag. The book does not come with a CD, but all the code is available on-line. I prefer this delivery system since besides the fact that I hate ripping CD envelopes out of books, TextMate is only available as a download anyway. Links to various third-party automations, commands and code are included throughout the book, and most of these 'ad-ons' are some flavor of open-source.
The book is organized in order of increasing complexity, so it is a good introduction for someone new to IDE-based development in the 'big tool that does many things' school. TextMate consciously mirrors some of the complex functionality of Emacs, albeit in a more accessible form, and the book eases the reader into this world in small, logical steps.
This is not to say the hardcore geeks won't find the book useful. There are many tips and tricks throughout the book that help a reader work faster and more efficiently (lots of keyboard shortcuts and scripting).
I tend to put sticky notes in my books, especially manuals. Find a code recipe you like? Sticky-note the page. The book contains many shortcuts ("Command Line TextMate", "filename matching") that inspired sticky-notes for later tinkering. The ordering of the tools is such that the reader can sit at the keyboard and work the examples straight through, read it start to finish 'offline', or use it as a reference book. I would encourage at least one straight-through read to ensure seeing every passage once. Browsing the index, chapter or page headings will not yield everything on offer.
TextMate is primarily viewed as a Ruby on Rails development tool. The book expressly acknowledges this (the code examples are mostly written in Ruby), but provides detailed instructions for handling syntax highlighting in Java, C and other languages via Automations. I did not try this out, but the instructions seemed fairly straightforward — someone with the passion to write Haskell in TextMate could probably set it up.
When deciding whether to buy this book or not, the key consideration is 'what does the book give me that the online documentation does not?' Textmate has several features that require elaboration, especially for newer users. TextMate supports various 'shortcut' and 'script-like' technologies — code snippets, macros, automations and two different types of commands — plain *NIX shell commands and TextMate 'automation commands'. Chapters five through 12 cover these tools individually and when combined. Purists may say 'well just use Emacs and write LISP' but the TextMate framework is more accessible to someone with less developed skills (and with less time to develop LISP-Fu). It provides a stepping stone for ambitious users, but allows for 'just getting it done'. I found these chapters to be the most compelling in the book both because they cover the most valuable features of the TextMate environment and they introduce skills a newer user should have (*NIX scripting, pipes, etc.) and more experienced users already have, but will want to implement in the TextMate context. While the online manual covers the technologies in detail, the book provides a more structured, user friendly introduction with enough detail to get work done and lay the groundwork for future development.
For $29.95, I do not expect exhaustive coverage of every feature. While 800+ page tomes have a place, it is nice to have a manual that fits in my bag. The coverage is very good for the basics and excellent for the more complex scripting features. I would definitely recommend this book for newer users, anyone who wants a readable, portable guide and those who plan on using the advanced scripting features, especially in conjunction with preexisting NIX system skills.
You can purchase TextMate: Power Editing for the Mac from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
At one point it's a text editor. At another in the review, it's an RoR development tool. Maybe the book itself is clear on what it is about, but the review sure isn't.
"I'd rather be a lightning rod than a seismometer." -Ken Kesey
TextMate is a closed-source, GUI-based, extensible text editor that looks and behaves like a mashup of GNU Emacs ("Emacs") and NetBeans.
What I want to see is a mashup between vi and emacs, so we can put the eternal battle behind us once and for all.
The theory of relativity doesn't work right in Arkansas.
Why would it be an issue? I don't think you can GPL arbitrary concepts; it's a source-code license. That is to say, if Mr. Odgaard recreates "look and feel" of the Emacs GUI, but writes it all himself, then by definition he is not using any GPL code, and therefore is not violating the GPL.
So a users manual can submitted to slashdot as a Book Review?!?!?! Not only is that insulting, it's poorly targeted advertising. Nobody around here knows how to RTFM.
What does Emacs being GPL'd have to do with someone else creating a program which has a similar feel?
-matthew
"THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
In Vim we trust, and if I wanted a windowing GUI app for development I'd be using Eclipse.
I'm wearing my flame proof undies so what are the big advantages of TextMate over Vim (or that Emacs thing)?
In the vein of Apple Pages > TextEdit i've wondered where XCode > CodeEdit was. I use text mate and love it, but mostly because it's agnostic to my projects, instead of having UI features geared towards one way of doing things. TextMate fills that role well, but so would XCode, if it had a bunch of stuff taken out.
Since i wrote a lanaguge using textmate syntax highlighting, i've always wished for someone to make syntax highlighting built into the Cocoa Text View. But, maybe that's a tall order.
CS majors know the time/space tradeoff, but they never get taught the 3rd, crucial, tradeoff of the set: comprehension!
I love textmate it's alot better than emacs UI wise, but the C parser really suck. It can't parse this:
int main(int argc,
char *argv[])
{}
the main function will not be found.
I avoid closed source software like the plague but I do contribute to several FOSS projects, including my favorite linux distro. I also don't object to closed source software if there isn't a free alternative but this is a text editor and they're not exactly rare. In this case it would be wrong for me to buy this, first because I don't run OSX (although I do own a license) and second because there are far more deserving FOSS projects around.
Definitely one of those books which causes me to say "Aha!" every page or so.
TextMate is a very impressive editor. I use it for almost everything now - PHP work during the day and other languages by night - because it combines Mac OS X accessibility to Emacsesque power. Already I have a little personal library of clippings, scripts, doohickeys and thingamajigs I've whipped up based on the guidance in the book reviewed above.
I'd recommend the editor and this book as a good introduction to it.
Classical Liberalism: All your base are belong to you.
Copying the "look and feel" of something shouldn't be a crime, contrary to what companies like Apple think.
And I'll slip into my flameproof suit to say this: For all its power, anyone who thinks cloning the Emacs GUI (and that includes XEmacs) should be impaled slowly with a rusted farm implement. Surely we can do better than that bizantine, bloated, confusing, slow and labrynthic interface. Again, for all its power and all that.
Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
is textmate better than visual studio? I have never found an IDE as good as Visual Studio.
The result
Life is like a web application. Sometime you need cookies just to get by.
You know what's great? Open-source software has developed to the point where I can usually say to myself, "That product is closed source? I'm not going to bother."
I.e., there will probably always be the exception where a closed-source product is so good that it's worthwhile accepting its closed-ness. But for things like text editors, etc., those exceptions are rare enough that I can defer looking at the product until I hear every tech news site praising the product from the rooftops.
It's a happy state of affairs for a software consumer.
As macbook pro owner, (Now running linux again). :).
:)
Textmate is great - it is the only thing i really miss from OSX
With textmate I learned advanced features much faster, compared to vim/emacs (being a long time vim user). I just ended up being more productive.
I think textmate is a perfect example of why following UI guidelines even help hackers.
For some reason we just put up with emacs/vim being so diffucult to learn. Everything that is different from what we are used is an abomination. It is only because of habbits that you keep doing using it. Really!
PS: Textmate is not an emacs clone, and GPL can't cover software. Patents is only in the US
still reading?
Hey, just asking. How can a text editor be complete without Zippy the Pinhead quotes?
extensible text editor that looks and behaves like a mashup of GNU Emacs ("Emacs") and NetBeans
So it combines the worst of two worlds.
I've been running it side by side with BBEDIT this last week. Made a serious commitment to write real code in it.
If I did not already have BBEDIT i'd have been very impressed. It also spurred me to look for features I liked to see if they were actually in BBEDIT and surprise they were there all along, I just had not noticed them. On the whole BBEDIT is more powerful and with more thoughtful distribution of things across the menus for easy access. But each has some specific features that might make or break the difference to specific users.
The big selling point of TextMate, is it's powerful active templating and macros. BBEDIT has text factories and lets you write filters so in principle simmilar behaviour might be possible. But TextMate has huge libraries of these already.
For example, when writing python, pull down the python template for a class and it gives you boilerplate class text, but then as you fill in the dummy fields it, for example, the args, it also automatically typing self.arg = arg in the function. Is that helpful? well probably yes in most cases.
likewise tabbing, will move between he dummy fields. And you can ask it to autocomplete a variable name for you and it will do the autocompletion from a dictionary it builds from scanning the document itself and finding variable names. In python which allows silent typos, that could be helpful.
Both BBEdit and Textmate have roll-up functions and oddly enough both implementations are buggy and don't properly recognize the ends of functions.
Both have emacs key bindings avaialble.
as textmate grows and add more and more language templates, it's ironically making those hard to access since the menus are getting too long.
both have grep search. Beedit has multi-file search too.
BBEDIT does a better job of exposing some basic text ops like, zapping invisible chars or converting line endings. It also shows tabs stops better.
A couple of things I have not yet figured out how to do in Textmate yet that I really am jonesing for are
Line numbering, and the ability to mark a set of lines and change them to comment lines in a language aware fashion.
A big marketing advantage for BBEDIT is that there's a free version. This way I can use the full price bbedit on my main computer but still have a nearly idendtical envirnoment on all the computers I use less often without paying for it. (for example, I can't legally use my work lic on my home computer, but I can use the free one).
So far I'm much preferring BBEDIT, though I wish it had the autocompletion and the active templating. My productivity is still higher in BBEDIT. But part of that is familiarity.
Both have command line invocation.
both are very good text editors and I could live with either. I suspect BBEDIT will be the winner of my test. THe free lite-version I use at at home forces me to continue using it even if I select TextMate for work.
For those of you in the Linux and Windows World who never had BBEDIT. I pity you.
Some drink at the fountain of knowledge. Others just gargle.
OS X is Unix based...
Invexi - a Phoenix, AZ based web design and web development company.
So in other words, if I want to go back and find something later, I may or may not be able to find it in the materials intended to help me find things in the book, and since (as above) there is no included CD, I don't have the text of the book, and therefore I cannot search its contents to find what I'm looking for.
Reference books in which you cannot find things are useless.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
I'm sure that Stallman must have overlooked situations where someone might want to make a proprietary piece of software from scratch but looks like a GPL'd piece of software. He's probably working the prohibitions in to GPLv3, or maybe it'll have to wait till version 4.
Disclaimer: I switched to textmate about 4 months ago and am an absolutely avid fan, more so than even the most rabbid of mac fanboys (and I own a macbook, so I know this species too).
The snippets, IMHO, are the best thing ever. Honestly, my productivity has shot through the roof because creating simple things like for loops takes about 8-12 key hits to get all the infrastructure done, and with all the proper brackets and semicolons all perfectly placed and formatted. I shit you not when I say that this has eliminated 90% of my debug problems.
plus you can essentially make anything a snippet, from simply putting out your details (say an entire address formatted) and the like. Totally understands and formats as per a given document type.
The book reviewed here is pretty sweet too, and I learned a few things that I wasn't aware existed. Its worth buying as well simply to use as a good reference material.
I defnitely recommend trying this as shareware for at least a few weeks.
my last sig was too controversial... now, a new and improved useless sig!
Well, feel free to fix/change it to fit your needs. All the TextMate parsers are in the Bundles, they're the "Language" files, and they mostly use regexps. Of course, they're not all that simple either - here is the one for function in the C parser (couldn't paste here because of lameness filter).
Brought to you by the numbers π, e, and 0x1B.
There has been a HUGE amount of software ported from Unix/Linux/BSD to OS X, but every day I hear of yet another application developed for OS X *only*, when making it cross-platform would have taken little to no extra effort. Now, people are free to do whatever they want, don't get me wrong, but that doesn't mean I won't call them out on it.
This is a WICKED tool.
Must have for any user, Mac or PC.
Not everyone is committed to open source. The MAC fanboys do not care one bit about Open Source, that is our job as nerds and geeks. That being said, these people want MAC's to have software they call their own so they not look so far inferior to Microsoft, when comparing the issue. I would argue that Apple cares less about Open Source than Microsoft.
Invexi - a Phoenix, AZ based web design and web development company.
Uhhh... AppKit and CoreFoundation exist on other OSes? This is news to me. While it might be possible to use a subset of them a make something that could either be compiled for GNUStep and AppKit it wouldn't be simple or "no extra effort."
I don't have a mac and I pretty much hate the textmate people for having no desire to make their application cross-platform whatsoever. Some of us don't own a mac and would like a Ruby on Rails editor that doesn't blow goats, thanks a lot. >=(
Go ahead and laugh but... KDevelop.
If you haven't tried it in a year or so, give it another go. In my opinion it's superior to the VS IDE, in many ways. The editor is fantastic, much better than the VS IDE editor which isn't as configurable, and doesn't provide as rich of an environment. Code folding, and indenting is much nicer in kdevelop.
Also, kdevelop's autocomplete is a significant step up over IntelliSense. It works in all cases, even for add on libraries (it's very easy to build additional autocomplete databases), and parses super fast (near instantaneous) -- and actually does the right thing in all cases. I was frequently annoyed by IntelliSense when I was doing win32 programming. Not to mention that kdevelop actually autocompletes variable names as well (as you type) not just functions and their parameters.
I would say that the integrated VS debugging facility is nicer than kdevelop's, however kdevelop's debugging still works VERY well -- I think that this is just one of visual studio's strong points, and an area where the open source alternatives are still playing catch up. But seriously, a lot has happened in the past year (or so), and it's become a tool I can't live without.
I've also heard people praise Apple's Xcode in significant ways (even windows people). Not having used it though I can't comment, but it sounds to me like visual studio isn't the be all and end all of IDEs that it used to be.
from the Unix world without giving anything back.
I can't adequately describe how sick I am of seeing this particular whine constantly being made on Slashdot. Really a case of ESR's gift culture at work there, guys.
"... anyone who thinks [of] cloning the Emacs GUI (and that includes XEmacs) [shouldn't] ..."
TextMate does not clone the Emacs GUI.
I think the reviewer merely meant that, unlike some other editors, it had some of the power of Emacs. The GUI is nothing like it. To put another way, TextMate actually has a proper GUI.
I suppose it does share some of the Emacs keybindings for editing in text-fields. But then so do all Mac OS X Cocoa apps. You are certainly not *unable* to navigate it at all except by memorizing arcane keystroke combinations, as with Emacs.
For web-specific development ActiveState's Komodo rocks, IMHO.
I agree to this - textmate is one of my killer features under OSX. My favorite editor ever, though Kate is a good second.
An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
Are we going to start seeing MS Office and Visual Studio 2005 books reviewed on here too, because they only match two of these three.
** I've seen many-a-screencast where the author uses TextMate, but haven't studied the product's features. From what I can tell it has nice features but nothing ground-breaking.
I'm sorry, this is Slashdot. Your choices are limited to vi or emacs. There are no other editors.
Weaselmancer
rediculous.
For some reason we just put up with emacs/vim being so diffucult to learn.
People think that using vi or emacs enlarges their e-penis. That's why people use them.
I use TextMate at least one hour a day so I am motivated to streamline my development process. I still can't decide whether I prefer IntelliJ + Ruby/Rails plugins or TextMate. That said, I use TextMate as a general file and project viewer and for small programs in Earlang, Ruby, and Python TextMate is hard to beat. The only thing that I don't like about TextMate is the poor support for Lisp languages, but if I really cared, I could fix that myself. TextMate is aso pretty good for Latex work, but for the Mac, I like TexShop a bit better.
So far, I find the book to be very worthwhile.
BTW, I also bought the "beta book" PDF for Pragmatic's new Erlang book - that also looks excellent.
E-TextEditor. The TextMate guy has helped them a bit, and they bleat on all the time about how it's like TextMate ;-)
So much for the oft-heard argument that OS X is "just like Unix", or that Apple gives a shit about open source.
I'm a primarily a Mac OS X user for 3 years now - having moved from Linux - and have to say that I am underwelmed by the o-so-famous seen-on-every-webframework-screencast-in-the-last- 2-years OS X Editor TextMate.
It's basically a sophisticated Cocoa Textwidget with an all-out scripting interface. It only costs 39$ and runs natively which makes it an OK deal, but the hype this editor gets just because it's the first of it's kind on OS X is baseless. If someone would come along and build an editor that has the same featureset as jEdit in a native, non-Java manner, then I'd be impressed and even pay money for it. But I've tested TextMate and have to say I'd rather learn one of the OS X Emacs ports which can be that much harder than putting up with yet another proprietary editor scripting language. That way I'll be able to use the old CLI variants aswell.
So be it that jEdit comparativly is a slowpoke and can't realistically open anything larger than 1,5 MB - it's the best editor out there and has been the feature-bar for the last few years for any other project or tool out there. No need to learn a new, proprietary tool that only runs on one OS and has less functionality.
My 2 cents.
We suffer more in our imagination than in reality. - Seneca
Well, yeah, it's easy to make code from an inferior system portable to a superior one, but not so easy the other way, huh?
Textmate is pretty slick for those who aren't already used to vim'sms. I'd love to see real gvim port that works like gvim on windows and unices, for cocoa. :/
I do use OS X though...
Well then there you have it. The basic philosophy behind OS-X is ripping off Unix and not giving anything back.
I love apple
Oh! Was that the argument? Nah, it's not just like Unix for GUI applications. While you can run and write X11 applications they aren't integrated into the OS in any meaningful way, and the paste board issues are just the start. Of course "UNIX" doesn't have much of a standard GUI anyway, POSIX of course doesn't define anything of the sort. Linux has two main toolkits these days GTK/QT. Freedesktop is making some head way into having GUI development be a bit simpler, but there's still a long way to go in the opensource world for GUI toolkits.
extensible text editor that looks and behaves like a mashup of GNU Emacs ("Emacs")
Is it in some way similar to OpenOffice.org's ("OpenOffice.org")?
Ubuntu is an African word meaning 'I can't configure Debian'
So what? Do you think this article is taking away space from other oh-so-important news you'd like to read? Get a fucking life.
Oh, I don't know, perhaps you don't buy into the hype that is apple? Or, say, your macbook pro died and now you're running linux on something else? Or, perhaps you like some of the features of the newest linux editions and didn't want to upgrade your copy of the Mac OS?
Lots of reasons, it's not -that- far-fetched.
Get back to us when Cocoa is cross platform.
I would argue that that is not the case. And it's not an acronym.
There is an open source text editor for OS X called Smulton. I've been using it for awhile. It's a bit lean on features, but it is free.
http://smultron.sourceforge.net/
On Windows, I use PSPad (Free) or UltraEdit (Commercial). The only thing I know of on GNU/Linux is BlueFish and SciTe.
"TextMate is primarily viewed as a Ruby on Rails development tool." Um, no. It's not.
... didn't think so.
And what's with the GNU Emacs ("Emacs") thing?
Yesterday was the time to do it right. Are we having a REVOLUTION yet?
Bunch of wimps.....
Not that I've had a chance to read every comment on this thread, but it is really funny to see how many highly opinionated comments are posted by people who are obviously completely ignorant in regards with TextMate. (Of course, this problem seems endemic to Slashdot these days, and I can take it no longer!)
:)
1. TextMate is nothing like emacs. I actually dislike emacs. Nothing against emacs, it just doesn't fit me. (I used to use joe all the time, but recently decided I liked vim better).
2. TextMate is a text editor. It has three main features, two of which are pretty ordinary these days. The ordinary ones are tabs and a tree-file browser for managing a "project". The other one is its language definitions, which dictate the syntax hilighting, auto-completion, and commands that can be done on a file of that kind. The great thing is that the langauge definitions are fully editable down to the last detail, so you can manipulate them to be what you want them to be, all with a built-in editor, or even create your own!
3. I haven't heard this one here as much, but TextMate is MacOS X only not because they are elitist bastards, but because the Cocoa API is only supported in Mac OS X. Once you make your open source Cocoa API (GNUStep is a good place to start with that), then you can demand a port into Linux/Windows/etc.
4. Close-source != evil, despite what the OSS junkies say (or are they just freeloaders?!). I've done work on both open sourced and closed source projects. At the end of the day I have to eat. If no one pays me to code, then I don't have as much time to produce code. Most developers are in the same boat. Similarly, most companies don't want to pay developers for something that won't make them money. Otherwise they go out of business and noone can pay developers. In a utopian society that is all free and open source, who pays for software development? The point is thus two-fold:
a) It is difficult to have a world where everything is open source,
b) I don't mind paying for software if the company that makes it is actually devoted to making *good* software.
Not all close-source companies are out to steal all your money and screw you. Stop being so bitter.
I feel better. Carry on!
I think the review author is really inaccurate with the implication that TextMate is a mashup of Emacs and Netbeans. It's like Emacs in that it's highly extensible via an extensive set of Bundles (and not just for programming: Its support for LaTeX is stellar, for example), but it's build to look and behave like an OSX application, meaning it takes advantage of the OS's UNIX underbelly and GUI.
The hour of noon has passed. Let us go and get some Kentucky Fried Chicken.
Thanks for your uninform(ed | ative), rant. Unfortunately you don't seem to know what you're talking about, or care to know. Why is it a cocoa textwidget? Do you think it uses the cocoa text view? (I think you'll find the answer is no). Really I have no idea what you mean by 'all out scripting interface' - perhaps you mean it's extensible? There's no requirement to write scripts to use it.
If you're incapable of learning to use a new text editor (it's a text editor for goodness sake, not a jet engine), you're really not in the author's target market anyway, so stick with jedit and be happy; no need to slag things off when you've obviously spent 5 seconds evaluating them and dismissed them out of hand. No idea what you mean by 'proprietary editor scripting language'? Had to hit all the Slashdot buzzwords I guess? There's no requirement to learn any scripting language, though you might find doing so helps you become a better developer, and yes, you can extend TextMate to do wonderful things by using your choice of scripting language to do so.
PS, It's by no means the first of its kind on OS X, BBEdit, Emacs etc had a lot of these features a long time ago, it's just quite a nice editor and easy to use, what's your problem with that?
What if there's a security hole you don't know about in an Open Sores application?? If you don't know about the hole, you're fucked either way. Sorry but I'll pay someone to make if their job to keep me updated rather than relying on some fat, greasy basement dweller to roll out updates when he's done watching Firefly, that is if he can be bothered to do it rather than stammering, "you have the source, patch it yourself". No thanks, chunky, don't strain your twinkie laden heart. I'll get my software from professionals.
Some people tend to get religious when it comes to text editors (emacs. vs. vi, etc), so I'll just say this: TextMate is still young (it's v 1.5.5 for now), but already good enough to be honored in "editor hall of fame". And I have used enough number of editors for past 20 years including alpha, brief, vim, bbedit, visual studio, codewarrior, ultraedit, slickedit....
Intro to TextMate (check out the videos) Take a look at the commants on "alternatives of TextMate"But then again, how much source code do we really need for our media access controllers?
Recursive: Adj. See Recursive.
I [may] disapprove of what you say, but I will defend to the death your right to say it.
What is it you think "MAC" stands for?
A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
Yes, I know, it is a bad habit as the AC pointed out.
Invexi - a Phoenix, AZ based web design and web development company.
That would explain all the Windows apps that don't run on OS X, then.
No point moderating you "-1 Redundant" since that would prove your point that people hate you, but you need to stop beating this drum over and over. This ESR gift culture is the result of having lived through experiences like the shutdown and loss of BeOS's code. After going through that I can honestly say that OSS/FSF is the way to go. I was young and naive, I purchased a BeOS professional release, Office software, and a game. I only was able to use this software for a year or two as my next machine wasn't supported. I only plan on having that happen to me once. As for /. fanboys there are less and less of the ESR/Unix/Linux people here everyday. Anyways, I don't want to flame, we should discuss this issue; but as such, that is my view that I learned the hard way.
"but money is the God of Algiers & Mahomet their prophet." - Rich. O'Bryen June 8th 1786
All these fanboys think that TextMate is the first extensible editor on the Mac. Well, way over ten years ago, Pete Keleher wrote Alpha.
Alpha was shareware, based on TCL and had different modes based on the language being edited. It could be extended using TCL scripts and was pretty advanced for its time. It won numerous awards from Mac magazines and was predicted to overtake BBEdit at any moment.
http://www.kelehers.org/alpha/
I added that to indicate I would be writing 'Emacs' in the rest of the review, instead of 'GNU Emacs' because I expected some pedantic ./-ers to hammer me if I just started out calling it 'Emacs'. RMS is rather picky about language, and he has a few supporters here.
Ok, so this is another one of those holy wars. BBEdit is an actual REAL Mac application, not a mashup for lost *NIX junkies who couldn't handle a world without Emacs.
TextWrangler rocks too, if you are allergic to paying money for software.
Apple isn't DRM-friendly like Windows; you can remove the file TextMate creates to check your demo-days in ~/Library
Wipe it out, restart TextMate -- 30 more days to "evaluate"
Woo hoo woo hoo hoo
I frigging love TextMate. I love the directory browsing "project" system, I love the fact that it's dead simple to create custom macros/commands (using bash/python/ruby/perl!), and I love its snippets features.
.emacs.
However. It's not cheap, not cross-platform, and the "Emacs-like keybindings" are just bastardized enough to drive me up the wall. So I'm sticking with Emacs for now.
For anyone interested, here are some quick ways to modify the One True Editor to behave a bit more like TextMate:
Directory browsing of projects: Try Emacs Code Browser.
Snippets: Check out msf-abbrev. You'll be able to specify cursor location, fields, etc. similar to TextMate. I've also heard good things about Skeleton Mode).
Macros: Try the Power Macros package.
Quick(er) buffer-switching: The ido.el package works wonders for me. Note: If you're used to running dired from find-file, you'll want to set ido-show-dot-for-dired to t in your
Writerati
In the 1980's Stallman was one of 'the rest of us' who actively and loudly denounced Apple and their look-n-feel lawsuit, as they tried to run any and every other company producing a GUI-based computing system out of business.
It made permanent enemies of Apple out of some of us. And not for irrational reasons. Go ahead and be one of the 'Pod People' and if you don't understand the reference, you watch waaay too many Apple commercials and need to read some SF.
Textmate has an affair with Ruby and does a fantastic job at cutting up code.
I use it exclusively for C++ / Ruby development, its a small price for bang for buck.
I love the in-built ruby language that is available within the editor itself, creating custom scripts in native ruby is a huge advantage.
For Windows users, In-type is probably the closest, it uses "Bundles" and many other things. Check it out, nice screencasts are available: http://intype.info/home/index.php
You mean like the native Carbon gvim for Mac?
The first hit for "mac vim" on Google: http://macvim.org/OSX/index.php
It's beautiful and I use it every day.
Oh dear. It seems someone who obviously likes TextMate and the book has written the worst possible review for the Slashdot crowd. I can't imagine a first sentence less likely generate discussion of interest, and persuades less Slashdot readers to take a look. This is a shame, because TextMate does some interesting things.
This is what I really don't like about 'dumb' text editors: they don't parse the program's AST and don't give meaningful info in realtime.
I'm still using emacs for mostly everything, but for Java development I use IntelliJ IDEA. That IDE tells you, as you're typing, stuff as:
"condition xxx is always true"
At first I was thinking "WTF!? The source code file cannot even *compile* yet, for it was incomplete. Yet the IDE is so good that it can already parse part of the AST and return immediately interesting informations. Oh, and yup, it's always right of course. My mistake was actually a typo leading to an obviously flawed condition, that was always evaluating to true. This is just one example. I can't use a text editor (or an IDE) that doesn't do that anymore. No more toys for me. I need real tools, to work in the real-world. There must be a reason why huge project are using such tools (eg Java and IntelliJ IDE are huge in the banking sector). Meanwhile people rediscover cute text editors and think it's all the shit. I don't buy that. And, yes, IntelliJ IDEA exists for OS X and there are plugins and inspections allowing it to work with languages other than Java. As TextMate, it is not free (but, to me, contrarly to TextMate, it's worth its price).
I spend all day in my editor and dammit, it's going to look and feel exactly the way that I want it to. Namely, invisible, fast, and part of the rich command environment around it. And any editor that needs a 200-page manual is weighed down with crap I'll never use.
"Skill shows through where genius wears thin." -Wittgenstein || Religion: uniting aviation and architecture.
Try slickedit. It's got 98% of the power of emacs with alot more GUI goodness and excellent tagging support.
Highly recommended but its not free.
Cheers
Ben
Get back to us when you learn the difference between an application frameworkI and an operating system.
Well, that went well, didn't it?
I'm sorry you're so angry, but I have no idea what you're talking about. I don't own a Mac, never have and probably never will. I don't own an iPod, either.
Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
Next you will advocate Sheep that are part human....
Keep Emacs, and the sheep, pure!
I only look human.
My mother is a halfling and my dad is an ogre, so that makes me an Ogreling
Yeah -- it's not Eclipse.
Seriously, though, I think that TextMate survives because it doesn't quite try to be an IDE, although it does have some definitely IDE-ish features for a text editor.
It's basically for the kind of person who doesn't want to use a full on development environment, but instead just wants a really robust, extensible text editor for cranking out various forms of ASCII (and Unicode).
I don't quite agree with the reviewer when he describes TextMate as mostly a RoR development tool. I've never really noticed that about Textmate. In fact, it comes with a huge selection of built-in highlighting presets, for every commonly-used language, plus less-commonly used ones, plus some things that aren't even programming languages at all (e.g., syntax highlighting for markup languages like Markdown or MultiMarkDown). It's a very general-purpose tool.
The idea is to be an "Emacs for OS X" (which is totally different than being a port of Emacs to OS X -- they want to make a general-purpose, heavy-duty text editor that's as true to the Mac GUI philosophy as Emacs is to the Unix one), which is slightly different than being an IDE. They don't really try to compete directly with Eclipse, or Xcode.
"Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
This ESR gift culture is the result of having lived through experiences like the shutdown and loss of BeOS's code. After going through that I can honestly say that OSS/FSF is the way to go. I was young and naive, I purchased a BeOS professional release, Office software, and a game.
I'm not arguing against OSS. I was arguing in favour of OSS via a license which does not explicitly dictate distribution or end use.
"We need to stop being true to ourselves, because if we don't, corporations are going to kill us all."
I find it deeply ironic that Stallman and his followers engage in the amount of fearmongering that they do, and then in the same breath turn around and argue about the importance of principle. It's utterly laughable...or it would be if it didn't cause me the degree of pain that it does.
That in the end is what copyleft is...an attempt to enforce reciprocity based on fear, via use of the law as a blunt instrument, and then dressed up as something morally superior. That the only way to compete with the heads of corporations, who engage in total sale of their souls, is to engage in the incremental sale of our own.
Sadly however, it's a persuasive argument, and the majority have fallen for it.