From david at loudthinking.com Wed Oct 6 01:22:10 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Wed, 6 Oct 2004 03:22:10 +0200 Subject: [TextMate] TextMate 1.0 is finally here! (one-time annoucement) Message-ID: <252F2E72-1736-11D9-AFEA-000D932CD5BA@loudthinking.com> TextMate 1.0 is finally here! We know that the wait has been excruciating and the longing unbearable, so we?re incredible proud and relieved to finally be able to say: It?s here! => http://macromates.com/release It's okay to rush for the download now. You can come back to read the rest of this later... TextMate was born out a personal frustration with the lack of a decent editor for code and markup on OS X. So TextMate is first and foremost a relief for that personal frustration. An editor that we could use to write C++, Ruby, PHP, HTML, CSS, JavaScript, and any other programming or presentation language. But as all of you that signed up for this mailing list showed us, we were not alone with our frustrations. The anticipation for the release has really been overwhelming, so we're extremely happy to finally deliver. That said, this is a 1.0 release. There will be rough spots, there most certainly will be bugs that our extensive testing hasn't found yet, and there will be features missing that you'd wish were there. Hopefully, though, what is there will be promising enough that you'll feel comfortable jumping on board from the start. So instead of raving endlessly about what is there (go to the site for that), we're going to tell you what it still lacks: * Good defaults for more languages (1.1) Currently, only real love has been given to Obj-/C/C++, Ruby, HTML, and CSS. Hopefully, you guys will help us bring the same level of support to other languages. * Editing over Secure FTP (1.1) Work on files residing on another machine using Secure FTP. * Integrate with CVS/Subversion (1.2) Check-in, check-out, check-in, check-out. Why don't we sing that song from within the editor? As you can see, we're planning to address those points in near-future point releases that will be free upgrades to all who register version 1.0 of TextMate. We respect your right to try before you buy, so for 30 days you can enjoy a completely unrestricted version of TextMate -- without forced delays at start up or anything like that. What we would appreciate, though, is that you register TextMate as soon as you decide it's something for you. We're currently building TextMate on a 733mhz G4. It takes 45 minutes for a complete build. It's very painful and has been slowing down development considerably. The first registrations will go towards getting a dual G5 -- so we can deliver TextMate 1.1 even faster! Sincerely yours, Allan Odgaard & David Heinemeier Hansson From timfm at hawaii.rr.com Wed Oct 6 08:15:23 2004 From: timfm at hawaii.rr.com (timothy martens) Date: Tue, 5 Oct 2004 22:15:23 -1000 Subject: [TextMate] inserting snippets Message-ID: Hi TexMaters! Forgive the rudimentary nature of the question... Wondering how snippets work. For example, the "a href tag" snippet which inserts "$2" has a trigger of "ahref" But when I type "ahref" in an html document it does not seems to trigger the snippet? What am I missing? -t From justin.french at indent.com.au Wed Oct 6 08:19:37 2004 From: justin.french at indent.com.au (Justin French) Date: Wed, 6 Oct 2004 18:19:37 +1000 Subject: [TextMate] inserting snippets In-Reply-To: References: Message-ID: <76B1CFD7-1770-11D9-9B8C-000A9579CE3A@indent.com.au> Type ahref then [tab] to trigger the snippet. Justin On 06/10/2004, at 6:15 PM, timothy martens wrote: > Hi TexMaters! > > Forgive the rudimentary nature of the question... > > Wondering how snippets work. For example, the "a href tag" snippet > which inserts "$2" has a trigger of "ahref" > > But when I type "ahref" in an html document it does not seems to > trigger the snippet? What am I missing? > > -t > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate From jperkins at sneer.org Wed Oct 6 08:21:17 2004 From: jperkins at sneer.org (Jason N Perkins) Date: Wed, 6 Oct 2004 03:21:17 -0500 Subject: [TextMate] inserting snippets In-Reply-To: References: Message-ID: On Oct 6, 2004, at 3:15 AM, timothy martens wrote: > Hi TexMaters! > > Forgive the rudimentary nature of the question... > > Wondering how snippets work. For example, the "a href tag" snippet > which inserts "$2" has a trigger of "ahref" > > But when I type "ahref" in an html document it does not seems to > trigger the snippet? What am I missing? > follow the ahref with a tab. -- Jason N Perkins From jarkko.m.laine at tut.fi Wed Oct 6 08:20:32 2004 From: jarkko.m.laine at tut.fi (Jarkko Laine) Date: Wed, 6 Oct 2004 11:20:32 +0300 Subject: [TextMate] inserting snippets In-Reply-To: References: Message-ID: <96FC200A-1770-11D9-83F9-000393C43A9E@tut.fi> On 6.10.2004, at 11:15, timothy martens wrote: > > But when I type "ahref" in an html document it does not seems to > trigger the snippet? What am I missing? Press tab after typing ahref. //jarkko -- Jarkko Laine http://jlaine.net http://divingfinn.blogspot.com From johans at gmail.com Wed Oct 6 08:59:51 2004 From: johans at gmail.com (=?ISO-8859-1?Q?Johan_S=F6rensen?=) Date: Wed, 6 Oct 2004 10:59:51 +0200 Subject: [TextMate] Your syntax definitions? Message-ID: <68905974041006015917146c57@mail.gmail.com> Greetings! So, have anyone started to make some custom syntax definitions for the various laguages out there? Lets share! I wish I could say "I'll start" but I've just started on one so I'm still wrapping my head around it. It still baffles me why colours arent global (like, often i want the same color for strings regardless of laguages for instance) (apologies if this has been bought up already, I'm the list newbie) Cheers, johan -- Johan S?rensen Professional Futurist www.johansorensen.com From robbevan at xpt.com Wed Oct 6 09:04:26 2004 From: robbevan at xpt.com (Rob Bevan) Date: Wed, 6 Oct 2004 10:04:26 +0100 Subject: [TextMate] Your syntax definitions? In-Reply-To: <68905974041006015917146c57@mail.gmail.com> References: <68905974041006015917146c57@mail.gmail.com> Message-ID: I'm working on ActionScript, should have it done soon. I've already done a 'Test Movie' command. Now if only we could get TextMate not to display the binary .fla file as text... On Oct 6, 2004, at 9:59 AM, Johan S?rensen wrote: > Greetings! > > So, have anyone started to make some custom syntax definitions for the > various laguages out there? Lets share! > I wish I could say "I'll start" but I've just started on one so I'm > still wrapping my head around it. It still baffles me why colours > arent global (like, often i want the same color for strings regardless > of laguages for instance) > > (apologies if this has been bought up already, I'm the list newbie) > > Cheers, > johan > > -- > Johan S?rensen > Professional Futurist > www.johansorensen.com > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From timfm at hawaii.rr.com Wed Oct 6 09:06:06 2004 From: timfm at hawaii.rr.com (timothy martens) Date: Tue, 5 Oct 2004 23:06:06 -1000 Subject: [TextMate] inserting snippets In-Reply-To: <76B1CFD7-1770-11D9-9B8C-000A9579CE3A@indent.com.au> References: <76B1CFD7-1770-11D9-9B8C-000A9579CE3A@indent.com.au> Message-ID: Thanks Justin, Jason, and Jarkko. On Oct 5, 2004, at 10:19 PM, Justin French wrote: > Type ahref then [tab] to trigger the snippet. > > Justin > > > On 06/10/2004, at 6:15 PM, timothy martens wrote: > >> Hi TexMaters! >> >> Forgive the rudimentary nature of the question... >> >> Wondering how snippets work. For example, the "a href tag" snippet >> which inserts "$2" has a trigger of "ahref" >> >> But when I type "ahref" in an html document it does not seems to >> trigger the snippet? What am I missing? >> >> -t >> >> _______________________________________________ >> textmate mailing list >> textmate at lists.macromates.com >> http://lists.macromates.com/mailman/listinfo/textmate > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From allan at ghostgum.com Wed Oct 6 10:39:23 2004 From: allan at ghostgum.com (allan at ghostgum.com) Date: Wed, 6 Oct 2004 21:39:23 +1100 Subject: [TextMate] Congratulations Message-ID: Well done guys. I came, I saw, I bought. TextMate has delivered most of what was promised by the hype that preceded the long-anticipated launch. I now look forward to its ongoing development. First impressions have been very impressive. Allan From blalor at bravo5.org Wed Oct 6 10:46:59 2004 From: blalor at bravo5.org (Brian Lalor) Date: Wed, 6 Oct 2004 05:46:59 -0500 Subject: Congrats and text modes (was Re: [TextMate] Congratulations) In-Reply-To: References: Message-ID: <0C965358-1785-11D9-85E1-000A95E9CD22@bravo5.org> On Oct 6, 2004, at 5:39 AM, allan at ghostgum.com wrote: > Well done guys. I came, I saw, I bought. I'm on the verge of buying. I'm a java developer and I'm in my editor (Emacs on OS X, currently) most of the day. Making the jump will be a huge deal for me... > First impressions have been very impressive. Ditto. As stated by the primary developers already, however, the language support is a little thin, at the moment. I'll probably take a whack at Java, Java Properties, and XML syntaxes today (in order of easiness...). Has anyone started work on this already? Is there a command in TM to reload a bundle? Relaunching TM everytime I tweak a regexp could be a little painful. Does (or will) TM support smart tabs, backspace, and braces a la Emacs? That, quite frankly, will be a deal-breaker for me, if it doesn't. I live and die by those mode customizations... I'm really excited by what I'm seeing here! -- __ ____ / / / __/ Brian Lalor / _ \/__ \ blalor at bravo5.org /_.__/____/ http://bravo5.org/ From damelon at textdrive.com Wed Oct 6 11:03:57 2004 From: damelon at textdrive.com (Damelon Kimbrough) Date: Wed, 6 Oct 2004 13:03:57 +0200 Subject: [TextMate] I have no idea Message-ID: <6B473C58-1787-11D9-B502-000D93C5ECC2@textdrive.com> Well, maybe I do. Just experimenting with TM and dropping files on an open window to see how it handles things. Everything pretty much everything opened as I expected until I dropped one file and got: setting up accounts.rtfd/ 1__#$!@%!#__smile.tiff 1__#$!@%!#__smile.tiff.tiff smile.tiff smile.tiff.tiff TXT.rtf wink.tiff wink.tiff.tiff Haha. The file in question was a cut and paste from a conversation that Dean and I had via iChat. Crazy stuff. So I'm not sharing silliness for no gain, what exactly am I seeing here? Why is TM only registering the embedded smiley graphics and not the text itself? ? Damelon From damelon at textdrive.com Wed Oct 6 11:29:09 2004 From: damelon at textdrive.com (Damelon Kimbrough) Date: Wed, 6 Oct 2004 13:29:09 +0200 Subject: [TextMate] Versiontracker? Message-ID: Are there plans to list TM at http://versiontracker.com/macosx/ ? From allan at macromates.com Wed Oct 6 11:33:36 2004 From: allan at macromates.com (Allan Odgaard) Date: Wed, 6 Oct 2004 13:33:36 +0200 Subject: [TextMate] I have no idea In-Reply-To: <6B473C58-1787-11D9-B502-000D93C5ECC2@textdrive.com> References: <6B473C58-1787-11D9-B502-000D93C5ECC2@textdrive.com> Message-ID: <90041EE4-178B-11D9-A26A-00039351BBEE@macromates.com> On 6. Oct 2004, at 13:03, Damelon Kimbrough wrote: > So I'm not sharing silliness for no gain, what exactly am I seeing > here? Why is TM only registering the embedded smiley graphics and not > the text itself? An .rtfd file is actually a directory. When you drag a directory to an open TextMate window (in the text area) it will show the directory structure, instead of the actual contents of each file. I think you can right click the .rtfd file in Finder and select Show Package Contents, and you'll see files similar to what was inserted in TextMate. Kind regards Allan From johans at gmail.com Wed Oct 6 11:38:19 2004 From: johans at gmail.com (=?ISO-8859-1?Q?Johan_S=F6rensen?=) Date: Wed, 6 Oct 2004 13:38:19 +0200 Subject: [TextMate] Your syntax definitions? In-Reply-To: References: <68905974041006015917146c57@mail.gmail.com> Message-ID: <689059740410060438120ea4e7@mail.gmail.com> cool. if you don't want to display the .fla file at all you could add it to the exclude regex in the info panel for the folder/project... Allan, do you have any bundles for cocoa/objective-c apart from the ones that ship with TM? or are those the ones you're using (unless of course you develop TM in xcode ;) )? On Wed, 6 Oct 2004 10:04:26 +0100, Rob Bevan wrote: > I'm working on ActionScript, should have it done soon. I've already > done a 'Test Movie' command. > > Now if only we could get TextMate not to display the binary .fla file > as text... > > > > On Oct 6, 2004, at 9:59 AM, Johan S?rensen wrote: > > > Greetings! > > > > So, have anyone started to make some custom syntax definitions for the > > various laguages out there? Lets share! > > I wish I could say "I'll start" but I've just started on one so I'm > > still wrapping my head around it. It still baffles me why colours > > arent global (like, often i want the same color for strings regardless > > of laguages for instance) > > > > (apologies if this has been bought up already, I'm the list newbie) > > > > Cheers, > > johan > > > > -- > > Johan S?rensen > > Professional Futurist > > www.johansorensen.com > > _______________________________________________ > > textmate mailing list > > textmate at lists.macromates.com > > http://lists.macromates.com/mailman/listinfo/textmate > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > -- Johan S?rensen Professional Futurist www.johansorensen.com From allan at macromates.com Wed Oct 6 11:40:54 2004 From: allan at macromates.com (Allan Odgaard) Date: Wed, 6 Oct 2004 13:40:54 +0200 Subject: Congrats and text modes (was Re: [TextMate] Congratulations) In-Reply-To: <0C965358-1785-11D9-85E1-000A95E9CD22@bravo5.org> References: <0C965358-1785-11D9-85E1-000A95E9CD22@bravo5.org> Message-ID: <95116758-178C-11D9-A26A-00039351BBEE@macromates.com> On 6. Oct 2004, at 12:46, Brian Lalor wrote: > Is there a command in TM to reload a bundle? Relaunching TM everytime > I tweak a regexp could be a little painful. Highly requested, but unfortunately not yet :\ However, when you test regexps, use the regex find from within TextMate to validate that the patterns match correctly. This should make it much easier. Just remember to double escape all escapes before placing them in the property list. > Does (or will) TM support smart tabs, backspace, and braces a la Emacs? TextMate supports normal auto-indent, and you can have the indent increased by specifying a regular expression in the language syntax file which should match all lines that cause an extra indent for the next line. But currently it's probably not as clever about indentation as emacs. Kind regards Allan From damelon at textdrive.com Wed Oct 6 11:41:50 2004 From: damelon at textdrive.com (Damelon Kimbrough) Date: Wed, 6 Oct 2004 13:41:50 +0200 Subject: [TextMate] I have no idea In-Reply-To: <90041EE4-178B-11D9-A26A-00039351BBEE@macromates.com> References: <6B473C58-1787-11D9-B502-000D93C5ECC2@textdrive.com> <90041EE4-178B-11D9-A26A-00039351BBEE@macromates.com> Message-ID: Le 6 oct. 04, ? 13:33, Allan Odgaard a ?crit : > An .rtfd file is actually a directory. Yeah, well if that doesn't fall the realm of duh! Jeez, a cup of coffee is not lasting me as long as it once did. :) ? Damelon From EmailLists at SimonDorfman.com Wed Oct 6 11:46:16 2004 From: EmailLists at SimonDorfman.com (Simon Dorfman) Date: Wed, 06 Oct 2004 06:46:16 -0500 Subject: [TextMate] Folding Triangle Icon Suggestion Message-ID: Hello, I'm just trying out TextMate and I very much like the feature for collapsing brackets. (I remember seeing a post on some mac blog about using OmniOutliner to write code just so a similar feature could be achieved. Anyway...) However, I have a suggestion. I have trouble distinguishing between the little triangle icons used on the left side. I was thinking adding color to them would make it much easier to see which is the top and bottom and which is collapsed. So I looked in the resources of the app and found the graphics files and tried changing them. The colors I chose are perhaps a bit much, but perhaps this post will inspire someone else (or the developers) to come up with a better color scheme. I went with a red-yellow-green stop-light color metaphor. Green is the top of an open triangle. Red is the bottom of an open triangle. And Yellow is a collapsed triangle. If that makes any sense... Basically, I changed these files: Folding Bottom Cap.png -> tint Red Folding Collapsed.png -> tint Yellow Folding Ellipsis.png -> tint Yellow Folding Top Cap.png -> tint Green I've attached a zip containing my newly tinted PNGs. I'm not sure if this mailing list will let attachments go through, but if it does, enjoy. Otherwise, I guess you'll have to tint 'em yourself. Simon in New Orleans -------------- next part -------------- A non-text attachment was scrubbed... Name: replace_pngs_for_textmate.zip Type: application/octet-stream Size: 2072 bytes Desc: not available URL: From tomasj at gmail.com Wed Oct 6 11:55:58 2004 From: tomasj at gmail.com (Tomas Jogin) Date: Wed, 6 Oct 2004 13:55:58 +0200 Subject: [TextMate] ftp-support Message-ID: <8c05e65704100604553e80cba9@mail.gmail.com> Hi First of all, TextMate is great work. I only had to try it out for a few seconds and it was instantly obvious to me that TextMate just _feels_ great to use. It's powerful yet doesn't feel clunky or bloated, unlike some other editors which shall not be named. The only thing missing for me to be able to use it in my day-to-day work is the possibility to have projects synchronize with an ftp-server. I'm a web developer, and most of the time I work against a remote ftp-server (not always, but quite often). The only editor I've found that does this in a simple fashion is Dreamweaver MX, which, while not terrible as a code editor, it isn't exactly optimal either. I hope ftp-support is added soon, not just being able to edit a remote file, but actually being able to associate a project with an ftp account. Because, then I'd have no reason to use Dreamweaver MX again, instead of using it all the damn time. Best regards, Tomas Jogin, Sweden http://jogin.com/weblog/ From david at loudthinking.com Wed Oct 6 12:02:05 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Wed, 6 Oct 2004 14:02:05 +0200 Subject: [TextMate] ftp-support In-Reply-To: <8c05e65704100604553e80cba9@mail.gmail.com> References: <8c05e65704100604553e80cba9@mail.gmail.com> Message-ID: <8A73E0AE-178F-11D9-AFEA-000D932CD5BA@loudthinking.com> > The only thing missing for me to be able to use it in my day-to-day > work is the possibility to have projects synchronize with an > ftp-server. I'm a web developer, and most of the time I work against a > remote ftp-server (not always, but quite often). SFTP support is planned for version 1.1. And unlike most editors that merely integrate with Transmit or other existing programs, the plan is to have support from within TextMate. There's no immediate plans to support the regular, unsecure version of FTP. But it all depends on what the community around TextMate is most interested in. -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From david at loudthinking.com Wed Oct 6 12:06:17 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Wed, 6 Oct 2004 14:06:17 +0200 Subject: [TextMate] Versiontracker? In-Reply-To: References: Message-ID: <20AF2C88-1790-11D9-AFEA-000D932CD5BA@loudthinking.com> > Are there plans to list TM at http://versiontracker.com/macosx/ ? Most certainly. Our signup is pending. -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From joost at greenskin.net Wed Oct 6 12:09:23 2004 From: joost at greenskin.net (Joost Schuttelaar) Date: Wed, 06 Oct 2004 14:09:23 +0200 Subject: [TextMate] ftp-support In-Reply-To: <8A73E0AE-178F-11D9-AFEA-000D932CD5BA@loudthinking.com> References: <8c05e65704100604553e80cba9@mail.gmail.com> <8A73E0AE-178F-11D9-AFEA-000D932CD5BA@loudthinking.com> Message-ID: <4163E073.1050406@greenskin.net> David Heinemeier Hansson wrote: > There's no immediate plans to support the regular, unsecure version of > FTP. But it all depends on what the community around TextMate is most > interested in. I would like regular FTP support. Oh, and Java syntax highlighting :) -- Joost Schuttelaar From timfm at hawaii.rr.com Wed Oct 6 12:14:52 2004 From: timfm at hawaii.rr.com (timothy martens) Date: Wed, 6 Oct 2004 02:14:52 -1000 Subject: [TextMate] (no subject) Message-ID: <53D12336-1791-11D9-B6BA-000A95C0A620@hawaii.rr.com> Any plans for XHTML/CSS code hinting? And what about browser previews other than the built in safari rendering? Also, can we just have the project drawer show up by default. There's hardly ever an instance where I wouldn't need/want it in view. -t From timfm at hawaii.rr.com Wed Oct 6 12:16:52 2004 From: timfm at hawaii.rr.com (timothy martens) Date: Wed, 6 Oct 2004 02:16:52 -1000 Subject: [TextMate] ftp-support In-Reply-To: <4163E073.1050406@greenskin.net> References: <8c05e65704100604553e80cba9@mail.gmail.com> <8A73E0AE-178F-11D9-AFEA-000D932CD5BA@loudthinking.com> <4163E073.1050406@greenskin.net> Message-ID: <9B220E30-1791-11D9-B6BA-000A95C0A620@hawaii.rr.com> Me too. Some of my web hosts don't support SFTP -- but I also don't mind using Transmit either. On Oct 6, 2004, at 2:09 AM, Joost Schuttelaar wrote: > David Heinemeier Hansson wrote: > >> There's no immediate plans to support the regular, unsecure version >> of FTP. But it all depends on what the community around TextMate is >> most interested in. > > I would like regular FTP support. > > Oh, and Java syntax highlighting :) > > -- > > Joost Schuttelaar > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From andrew at article7.co.uk Wed Oct 6 13:13:30 2004 From: andrew at article7.co.uk (Andrew Green) Date: Wed, 6 Oct 2004 14:13:30 +0100 Subject: [TextMate] Comparison with SubEthaEdit Message-ID: <20041006141330894115.GyazMail.andrew@article7.co.uk> Hi, Many congratulations on the release. TextMate is truly impressive stuff. I certainly wouldn't want to start any holy wars already, but I've written a small comparison of TextMate and my current daily editor, SubEthaEdit, that might be of passing interest. As others have already observed, for programmers, an editor is the one piece of software in near-constant use, and deciding to switch to a new editor is a big, very personal, deal. I never could appreciate BBEdit in the way that many others do -- for me, TextMate is already streets ahead of BBEdit in terms of comfort. There are things about SubEthaEdit I'd sincerely miss, however, despite the excellent additional features offered by TextMate. The 30-day trial (and what I suspect will be a fairly aggressive release schedule of improvements) are very welcome in making that decision. Cheers, Andrew. -- :: article seven Andrew Green automatic internet andrew at article7.co.uk | www.article7.co.uk From macromates.com at lkmc.ch Wed Oct 6 13:25:41 2004 From: macromates.com at lkmc.ch (Lucas K. Mathis) Date: Wed, 6 Oct 2004 15:25:41 +0200 Subject: [TextMate] Re: ftp-support In-Reply-To: <20041006120004.C903D11B3@one.textdrive.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6.10.2004, space aliens observed Tomas Jogin saying: >I hope ftp-support is added soon, not just being able to edit a >remote file, but actually being able to associate a project with an >ftp account. Is there any reason why you don't use an actual FTP application for this? Interarchy has some awesome features for this kind of work. What I do right now is this: For each Project in TextMate, I have an FTP Disk in Interarchy. When I open a Project, I mount the FTP Disk. Whenever I change something in TextMate, it's being uploaded automatically to the FTP server. I'm not sure what exactly the plan is as far as TextMate's FTP support is concerned, but if you need this right now, Interarchy can provide it. lucas - -- "I know why the caged bird sings." -- Maya Angelou -----BEGIN PGP SIGNATURE----- Version: PGP SDK 3.2.2 iQA/AwUBQWPyRbXYdom/dB2cEQKDKwCgkipEKndn+Kkz1AActqloXvdqHdEAoJ9d FqtQbXhGio8J7wAmxllYQYIz =3Cho -----END PGP SIGNATURE----- From blalor at bravo5.org Wed Oct 6 13:42:12 2004 From: blalor at bravo5.org (Brian Lalor) Date: Wed, 6 Oct 2004 08:42:12 -0500 Subject: [TextMate] defining syntaxes Message-ID: <86EB58C9-179D-11D9-85E1-000A95E9CD22@bravo5.org> Couple of questions regarding syntaxes: I'm working on modifying the HTML syntax to support JSP. I've created the following definition for comments; JSP and HTML comments are similar. JSP comments look like <%-- comment --%>. I can use a simple regexp to search for ... or maybe ... <%-- --> --%> I've currently got the (not quite smart enough) pattern: { name = "Comments"; begin = "<[%!]--"; end = "--%?>"; foregroundColor = "red"; }, How is the "include" keyword supposed to work in a pattern? I've tried this: name = "Embedded Java"; backgroundColor = "#E5E5E5"; begin = "<%"; include = "Java"; end = "%>"; ... but that only highlights the background of the excursion, not the text within. I've created a Java bundle with "Java" defined in Syntaxes/Java.plist. -- __ ____ / / / __/ Brian Lalor / _ \/__ \ blalor at bravo5.org /_.__/____/ http://bravo5.org/ From allan at macromates.com Wed Oct 6 13:59:12 2004 From: allan at macromates.com (Allan Odgaard) Date: Wed, 6 Oct 2004 15:59:12 +0200 Subject: [TextMate] defining syntaxes In-Reply-To: <86EB58C9-179D-11D9-85E1-000A95E9CD22@bravo5.org> References: <86EB58C9-179D-11D9-85E1-000A95E9CD22@bravo5.org> Message-ID: On 6. Oct 2004, at 15:42, Brian Lalor wrote: > Couple of questions regarding syntaxes: Great! :) > I can use a simple regexp to search for ` Given that TextMate is pretty good at piping output from shell commands, would it not be possible to automagically generate a running "TODO" list in a file using a command similar to this...? > `grep -r FIXME /Users/USERNAME/Sites/FooProject/` Is that sensible? And how might I set that up in a doc to refresh itself? Better as a separate shell script I'd call up somehow? Maybe better off as manual macro I run when I want updates? TIA. (Man, I'm just *loving* the possibilities of this app) mm -- Merlin Mann 43Folders.com From timfm at hawaii.rr.com Thu Oct 7 23:36:22 2004 From: timfm at hawaii.rr.com (timothy martens) Date: Thu, 7 Oct 2004 13:36:22 -1000 Subject: [TextMate] Page for contributed stuff? In-Reply-To: References: Message-ID: On Oct 7, 2004, at 6:26 AM, Merlin Mann wrote: > Hey, > > This might have come up already, but I think it would helpful to have > a single page that collects (or at least points to) all the available > add-ons folks have put together for TextMate, such as bundles, > syntaxes, snippets, and so on. A two-line summary of what it does > (with screenshots where possible) would also be great. > > I agree that the power of TextMate comes from unlocking its _insane_ > amount of configurability. But, I also suspect that some of the > nay-sayers--especially those less experienced with the power of a > shell--would be much more inspired if they saw what they could *do* > with TM (without having to build the actual widgets themselves). Here, here. It would be great to have a central repository for development. I'm a shell neophyte and it is really helpful for me to be able to see concrete examples. From infolists at gmail.com Thu Oct 7 23:38:31 2004 From: infolists at gmail.com (bongoman) Date: Fri, 8 Oct 2004 09:38:31 +1000 Subject: [TextMate] HTML attributes coloring? Message-ID: <8d5544d8041007163816e28cfe@mail.gmail.com> Is it open to me to set HTML attributes to have a different color to the tag itself? I'm aware that I can edit the relevant file in the Bundles directory to configure my syntax coloring but recall reading something somewhere that this was not possible as yet re attributes & tags. From allan at macromates.com Thu Oct 7 23:55:49 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 01:55:49 +0200 Subject: [TextMate] My first impression (mostly syntax coloring issues) In-Reply-To: References: <13B60A36-1858-11D9-9F18-000393760292@io.com> <4B3DE479-1860-11D9-A992-000A959CF5AC@refinery.com> <4165647C.8030303@io.com> Message-ID: <6A3C3856-18BC-11D9-AE25-00039351BBEE@macromates.com> On 7. Oct 2004, at 18:03, William Douglas Neumann wrote: > 2: Am I wrong, or are the start/stop folding markers only available as > a > single pair? I would love to be able to supply a list of pairs to mark > folds. [...] these are sort of saved by the whole "same indent level" > constraint, but that also keeps me from easily doing things like > folding 1-11 of the nested function. You can select line 1-11 and fold the selection. But not the same as automatic fold markers, I know! > Since folding is naturally a pair oriented thing, using lists of stop > start markers would make writing/modifying fold definitions a breeze > (i.e. no more super hairy regexes). The problem with the pair oriented approach is that you can have code like: 1 namespace { 2 class foo { 3 void bar { 4 // I'm about to write it... 5 }; 6 } If we match on the {, } pair, then it may show line 3-5 as foldable and 2-6. As of such, showing incorrect potential fold markers while editing code is not that much of a problem, but what is a problem is, if the text already had collapsed sections, and you start to add/remove fold markers (since it's pretty difficult to maintain foldings when the "tree" is manipulated). > 3: I'd like to second, third, or nth the suggestion of global names > for colors and text styles. I really like the way Vim does it, > separating color schemes from syntax/indentation schemes. I think I'll do something similar to style sheets for the next version of the syntax highlight system (which will be a major upgrade, no ETA yet though -- I can send a full description to this list for comments when all details are settled) -- global names alone has the problem that "string" may appear as a name in e.g. both HTML and the embedded PHP (where they should probably differ in color), and/or that in some languages, it does make sense to color strings differently than what's generally wanted. But style sheets a la CSS with selectors would probably be pretty flexible. Initially we postponed this, because we figured it would come off as too complex. But given the proper GUI editor, it'll probably appear as a huge simplification for most ;) > 4: I'd also like to see a decreaseIndentPattern available as well. > [...] Added to the to do. > 5: Damn it's hard to see the line wrap indicator... Please make it > more visible. I'll do as Luc Heinrich suggested and darken the background to the right of the wrap border. Not sure though if I should then lighten it, if the background is set to a very dark color (like black). > 6: Ummm... how do I print from TM? And if you do add printing, I > would *love* the ability to pass the text through something like a2ps > or enscript before printing it, without having to resort to writing a > command to do it. I'll keep that in mind for when printing is added (yes, it's currently missing). Kind regards Allan From timfm at hawaii.rr.com Fri Oct 8 00:05:06 2004 From: timfm at hawaii.rr.com (timothy martens) Date: Thu, 7 Oct 2004 14:05:06 -1000 Subject: [TextMate] My first impression (mostly syntax coloring issues) In-Reply-To: <6A3C3856-18BC-11D9-AE25-00039351BBEE@macromates.com> References: <13B60A36-1858-11D9-9F18-000393760292@io.com> <4B3DE479-1860-11D9-A992-000A959CF5AC@refinery.com> <4165647C.8030303@io.com> <6A3C3856-18BC-11D9-AE25-00039351BBEE@macromates.com> Message-ID: On Oct 7, 2004, at 1:55 PM, Allan Odgaard wrote: > > But style sheets a la CSS with selectors would probably be pretty > flexible. Initially we postponed this, because we figured it would > come off as too complex. But given the proper GUI editor, it'll > probably appear as a huge simplification for most ;) INDEED. All these syntax highlighting examples (wat language are they in) are like Greek to me. From EmailLists at SimonDorfman.com Thu Oct 7 20:38:27 2004 From: EmailLists at SimonDorfman.com (Simon Dorfman) Date: Thu, 07 Oct 2004 15:38:27 -0500 Subject: [TextMate] {Feature Request} Interarchy edit file over sftp In-Reply-To: Message-ID: Interarchy supports ediiting files over sftp. It would make me ?berhappy is TestMate would support this feature. I asked the Interarchy developer what details you would need to know to make this work. He replied with the links to the info below. I know you intend to support editing files over sftp with TextMate in version 1.1, but I like Interarchy and adding compatability to work with Interarchy looks pretty simple. So pretty please with sugar on top, add this feature. :-D Thanks, Simon ------ Forwarded Message From: Peter N Lewis Date: Thu, 7 Oct 2004 10:06:08 +0800 To: Simon Dorfman Subject: Re: Edit with... TextMate >I want to ask the developer of a new text editor (TextMate macromates.com) >to support your "Edit with..." feature. What does he need to know to make >it jive with Interarchy? The details are at: http://www.merzwaren.com/external_editor.html and Bare Bones' original specification is at: http://www.barebones.com/support/developer/odbsuite.html If they drop me a line when it is implemented we'll be happy to add TexMate to our list of possible editors. Enjoy, Peter. -- ------ End of Forwarded Message From allan at macromates.com Fri Oct 8 00:10:40 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 02:10:40 +0200 Subject: [TextMate] saving files that need auth doesn't seem to work In-Reply-To: References: <689059740410071456682e171d@mail.gmail.com> <3DC76F7B-18AC-11D9-AE25-00039351BBEE@macromates.com> Message-ID: <7D10FC60-18BE-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 0:33, Michael Sheets wrote: >> Authenticated saves are on the to do for one of the upcoming versions. > In this same vein... Need an 'open hidden file' command, or either a > checkbox in the open dialog to show hidden files. The latter with the > choice being sticky might be nice. In 10.3 there is no public interface for displaying hidden files, I read at CocoaDev that it was removed in favor of the "press Cmd-Shift-G to get a string gadget" But I'll check if some of the undocumented/private methods (still) work. Kind regards Allan From Joe.Chilcote at nordstrom.com Fri Oct 8 00:12:38 2004 From: Joe.Chilcote at nordstrom.com (Chilcote, Joe) Date: Thu, 7 Oct 2004 17:12:38 -0700 Subject: [TextMate] Q: Running a periodic shell script automatically Message-ID: <44150965385A0A45AF25D0F70E33EC248B6E55@m0319p33.nordstrom.net> >Given that TextMate is pretty good at piping output from shell >commands, would it not be possible to automagically generate a running >"TODO" list in a file using a command similar to this...? > `grep -r FIXME /Users/USERNAME/Sites/FooProject/` Merlin: You could pipe it to an external file. In the Filter Through Command window, choose "Document" and set it to "Show as tooltip" so it's non destructive to your current file, and run: grep -r FIXME >~/project/TODO; open -a /Applications/TextMate.app ~/project/TODO It will auto-generate and pop open for ya. Regards, Joe From k at v2studio.com Fri Oct 8 01:01:15 2004 From: k at v2studio.com (Caio Chassot) Date: Thu, 07 Oct 2004 22:01:15 -0300 Subject: [TextMate] javascript bundle Message-ID: <4165E6DB.2070202@v2studio.com> Hi All, I was wondering if anyone's been working on js syntax highlighting. I derived one from the ruby file, but it's still a tad bit buggy. Perhaps we could join efforts? I'll post the bundle as soon as I get back to the mac. From k at v2studio.com Fri Oct 8 01:21:35 2004 From: k at v2studio.com (Caio Chassot) Date: Thu, 07 Oct 2004 22:21:35 -0300 Subject: [TextMate] Why is all the background colours dark ???? In-Reply-To: References: <8867846A-1858-11D9-8F9D-0050E4D07838@imediatec.co.uk> Message-ID: <4165EB9F.1090000@v2studio.com> James Spahr wrote: > I should also state that these work for me, probably more based on my > typeface choice than any sort of personal bais. (I'm using Vera Sans > Mono). I've never coded on a dark background before, but I'm finding it > very comfortable. I originally tried very hard to get something handsome > and functional on a light background -- I failed miserably, so this is > why I have a dark background. I'm in for the dark bg too. It took a while for me to get used to the white background editors when I was forced to dump Turbo Pascal 6 (blue bg) and come to the real world. But really, what was really great was Pascal 3, which had black background. (I think they're not wrong when they say it's hang over from the old days :) All the reasons you listed about contrast and apparent boldness are true. My eyes struggle to see any difference in color in SubEthaEdit. In TM (ruby) they are glaring. From justin.french at indent.com.au Fri Oct 8 02:05:28 2004 From: justin.french at indent.com.au (Justin French) Date: Fri, 8 Oct 2004 12:05:28 +1000 Subject: [TextMate] Snippet, Command, Macro and Language Suggestions In-Reply-To: <581E17AC-1897-11D9-B397-0003930D67D6@station11.net> References: <97365ACE-1822-11D9-8481-000A9579CE3A@indent.com.au> <581E17AC-1897-11D9-B397-0003930D67D6@station11.net> Message-ID: <86879B7D-18CE-11D9-8481-000A9579CE3A@indent.com.au> On 08/10/2004, at 5:30 AM, Kjell Olsen wrote: > Justin - your (?) link making macro (control-shift-l) misbehaves I > think: it's mine and Allan's :) > If all there is only one word in your file it works fine - about > (control-shift-l) makes about, but when there > is more then one word in the file your macro works on all the lines - > turning -v It only works when you have text selected, otherwise, yes, it does the whole file... I'll see if we can do a check for a selected text. Justin From chris at m-audio.com Fri Oct 8 02:31:28 2004 From: chris at m-audio.com (Chris Thomas) Date: Thu, 7 Oct 2004 19:31:28 -0700 Subject: [TextMate] feature request: better support for .textClipping files In-Reply-To: <9824487E-189F-11D9-A241-000393D4B5C8@diku.dk> References: <95CDB5D4-1890-11D9-B0DB-000A95A6A366@bebop.net> <9824487E-189F-11D9-A241-000393D4B5C8@diku.dk> Message-ID: <2888882E-18D2-11D9-B2EC-000A95A89C98@m-audio.com> For historical reasons, it's a purely Resource Manager resource-based format. Select some text in any application, drag it to the Finder to create a "*.textClipping" file, and then run /Developer/Tools/DeRez on it to examine the resources. (IIRC, clippings were originally introduced with the classic Mac OS Drag Manager in 1993. The idea was that they'd have the unique property of being viewable directly in the Finder. At the time, this was nice, and text and picture (PICT) clippings were supported by the system, but Apple never followed through with content type plugins for third party content, or even more advanced built-in formats, so application support was likewise limited. Also keep in mind that this was when the Finder was considerably more consistent and usable than it is today, and there wasn't a ridiculous ".textClipping" extension tagged to clippings...) Chris On Oct 7, 2004, at 1:29 PM, Sune Foldager wrote: > About text clipping files... anyone happen to have a good link to a > place describing the exact file format etc.? > > -- > Sune. > "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" > http://cyanite.org -- Content follows ;-). > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2363 bytes Desc: not available URL: From mummer at whitefalls.org Fri Oct 8 03:12:41 2004 From: mummer at whitefalls.org (Michael Sheets) Date: Thu, 7 Oct 2004 22:12:41 -0500 Subject: [TextMate] Why is all the background colours dark ???? In-Reply-To: <4165EB9F.1090000@v2studio.com> References: <8867846A-1858-11D9-8F9D-0050E4D07838@imediatec.co.uk> <4165EB9F.1090000@v2studio.com> Message-ID: > I'm in for the dark bg too. What about letting each syntax have at least a couple themes, with semi-standard names. (Light, Dark, etc) Then you could pick a default theme 'style' to use across the syntaxes, in addition of course to complete customization. From cryo at diku.dk Fri Oct 8 03:18:27 2004 From: cryo at diku.dk (Sune Foldager) Date: Fri, 8 Oct 2004 05:18:27 +0200 Subject: [TextMate] Why is all the background colours dark ???? In-Reply-To: References: <8867846A-1858-11D9-8F9D-0050E4D07838@imediatec.co.uk> <4165EB9F.1090000@v2studio.com> Message-ID: On 8/10-2004, at 5:12, Michael Sheets wrote: >> I'm in for the dark bg too. > > What about letting each syntax have at least a couple themes, with > semi-standard names. (Light, Dark, etc) Then you could pick a default > theme 'style' to use across the syntaxes, in addition of course to > complete customization. This has already been suggested, and is planned for the next version of the syntax highlight system, as well as other new features. -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From k at v2studio.com Fri Oct 8 03:22:24 2004 From: k at v2studio.com (Caio Chassot) Date: Fri, 8 Oct 2004 00:22:24 -0300 Subject: [TextMate] Why is all the background colours dark ???? In-Reply-To: References: <8867846A-1858-11D9-8F9D-0050E4D07838@imediatec.co.uk> <4165EB9F.1090000@v2studio.com> Message-ID: <4621BD36-18D9-11D9-8A1D-000A95C05A48@v2studio.com> On Oct 08, 2004, at 00:12, Michael Sheets wrote: >> I'm in for the dark bg too. > > What about letting each syntax have at least a couple themes, with > semi-standard names. (Light, Dark, etc) Then you could pick a default > theme 'style' to use across the syntaxes, in addition of course to > complete customization. > In private email, Allan said they thought about doing themes. But then you have three syntax files to maintain, that only differ in color values, The best solution, as someone's suggested before, is to do like jedit: provide some common names, preferably in abundance: eg. string literal 1, 2 ,3 and 4 And them have themes that set colors for these common names. (setting color by color is a bore, it'd be ideal if people could distribute their color settings) It should still be possible to hardcode color values or to create custom color names, for really weird languages. From cryo at diku.dk Fri Oct 8 03:24:01 2004 From: cryo at diku.dk (Sune Foldager) Date: Fri, 8 Oct 2004 05:24:01 +0200 Subject: [TextMate] Why is all the background colours dark ???? In-Reply-To: <4621BD36-18D9-11D9-8A1D-000A95C05A48@v2studio.com> References: <8867846A-1858-11D9-8F9D-0050E4D07838@imediatec.co.uk> <4165EB9F.1090000@v2studio.com> <4621BD36-18D9-11D9-8A1D-000A95C05A48@v2studio.com> Message-ID: <8012BC32-18D9-11D9-AE3A-000393D4B5C8@diku.dk> Like Allan said in another mail on the list (I think), it will probably be a kind of "style sheet" where you can set various styles, that can then be used by all the syntax highlight definitions. Then switching the "style sheet" will instantly change your entire color profile. I am sure you will still be able to hardcode colors as well :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From allan at macromates.com Fri Oct 8 03:48:32 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 05:48:32 +0200 Subject: [TextMate] [Tip] Embed selection in tag, lookup PHP functions Message-ID: James A. Baker asked me for a BBEdit feature where the selection is wrapped in a tag, which you pick from a list of tags. But then his stream of thoughts derived the following TextMate solution, which I think was very neat: Create this snippet, name it _wtag: <${2:tt}>$1$0 Then select Start Macro Recording and type: cmd-x, _wtag, tab, cmd-v, tab, stop recording, save it for later. Now you have a macro which wraps the current selection inside a tag pair (the default tag name is tt, but you can change it). Press tab again after having typed the name to leave the snippet. Another neat trick I saw on a blog (but unfortunately lost the reference) was a command configured to do: open http://php.net/$TM_CURRENT_WORD So simple, and yet so powerful (it looks up the word under the caret in the PHP reference documentation). It's really fantastic to see this end-user innovation, keep it up! :) Kind regards Allan From k at v2studio.com Fri Oct 8 04:03:21 2004 From: k at v2studio.com (Caio Chassot) Date: Fri, 8 Oct 2004 01:03:21 -0300 Subject: [TextMate] javascript syntax file Message-ID: Here's the syntax file I mentioned before. http://v2studio.com/temp/JavaScript.tmbundle.zip From allan at macromates.com Fri Oct 8 05:01:14 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 07:01:14 +0200 Subject: [TextMate] [Tip] Embed selection in tag, lookup PHP functions In-Reply-To: References: Message-ID: <149D5BC6-18E7-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 5:48, Allan Odgaard wrote: > James A. Baker asked me for a BBEdit feature where the selection is > wrapped in a tag, which you pick from a list of tags. But then his > stream of thoughts derived the following TextMate solution, which I > think was very neat: > > Create this snippet, name it _wtag: > <${2:tt}>$1$0 > > Then select Start Macro Recording and type: > cmd-x, _wtag, tab, cmd-v, tab, stop recording, save it for later. Pressing ctrl-w first (select word) will make it work for the current word (w/o a selection), and if there's already a selection, it will expand the selection to word boundaries, which it most likely already is. So this makes it easier for single words which needs to be embedded. > Another neat trick I saw on a blog (but unfortunately lost the > reference) was a command configured to do: And here's the link: http://sneer.org/archives/2004/10/06/textmate_first_impressions/ Kind regards Allan From lists-2003 at alderete.com Fri Oct 8 05:03:41 2004 From: lists-2003 at alderete.com (Michael A. Alderete) Date: Thu, 7 Oct 2004 22:03:41 -0700 Subject: [TextMate] Feature request: undo/redo In-Reply-To: <4444397B-18B9-11D9-AD1A-000A95C0A620@hawaii.rr.com> References: <53DCA328-187A-11D9-8B87-0050E4D0063B@iit.edu> <4444397B-18B9-11D9-AD1A-000A95C0A620@hawaii.rr.com> Message-ID: >> I do not know if this has been mentioned before, but the undo/redo >> functionality needs improvements. What bothers me is that the undo >> functionality will "undo" stuff character-by-character, and not by >> block. I want block undos. Ideally, I would like to have more of a >> VIM-like undo functionality. > >I'd prefer block as opposed to character as well I'm curious if there is any practical reason why having character-by-character Undo is actually useful. After all, I can just hit the Backspace key, right? It's only when the one character replaces a selection that Backspace doesn't work at *least* as well as a character-by-character Undo. But a character-replacing-selection would be considered a block, and so block Undo would work fine. Michael -- _____________________________________________________________ Michael A. Alderete From EmailLists at SimonDorfman.com Fri Oct 8 05:16:01 2004 From: EmailLists at SimonDorfman.com (Simon Dorfman) Date: Fri, 08 Oct 2004 00:16:01 -0500 Subject: [TextMate] [Feature Request] Interarchy edit file over sftp In-Reply-To: Message-ID: Interarchy supports ediiting files over sftp. It would make me ?berhappy is TestMate would support this feature. I asked the Interarchy developer what details you would need to know to make this work. He replied with the links to the info below. I know you intend to support editing files over sftp with TextMate in version 1.1, but I like Interarchy and adding compatability to work with Interarchy looks pretty simple. So pretty please with sugar on top, add this feature. :-D Thanks, Simon ------ Forwarded Message From: Peter N Lewis Date: Thu, 7 Oct 2004 10:06:08 +0800 To: Simon Dorfman Subject: Re: Edit with... TextMate >I want to ask the developer of a new text editor (TextMate macromates.com) >to support your "Edit with..." feature. What does he need to know to make >it jive with Interarchy? The details are at: http://www.merzwaren.com/external_editor.html and Bare Bones' original specification is at: http://www.barebones.com/support/developer/odbsuite.html If they drop me a line when it is implemented we'll be happy to add TexMate to our list of possible editors. Enjoy, Peter. -- ------ End of Forwarded Message From justin.french at indent.com.au Fri Oct 8 05:47:46 2004 From: justin.french at indent.com.au (Justin French) Date: Fri, 8 Oct 2004 15:47:46 +1000 Subject: [TextMate] [Tip] Embed selection in tag, lookup PHP functions In-Reply-To: References: Message-ID: <94DA0140-18ED-11D9-8481-000A9579CE3A@indent.com.au> On 08/10/2004, at 1:48 PM, Allan Odgaard wrote: > James A. Baker asked me for a BBEdit feature where the selection is > wrapped in a tag, which you pick from a list of tags. But then his > stream of thoughts derived the following TextMate solution, which I > think was very neat: > > Create this snippet, name it _wtag: > <${2:tt}>$1$0 > > Then select Start Macro Recording and type: > cmd-x, _wtag, tab, cmd-v, tab, stop recording, save it for later. > > Now you have a macro which wraps the current selection inside a tag > pair (the default tag name is tt, but you can change it). Press tab > again after having typed the name to leave the snippet. Added this to the HTML bundle for 1.0.1 (include a ^W word selection first). > Another neat trick I saw on a blog (but unfortunately lost the > reference) was a command configured to do: > open http://php.net/$TM_CURRENT_WORD Added this to the PHP bundle for 1.0.1 too :) Justin From allan at macromates.com Fri Oct 8 06:00:10 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 08:00:10 +0200 Subject: [TextMate] [Feature Request] Interarchy edit file over sftp In-Reply-To: References: Message-ID: <501B9E23-18EF-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 7:16, Simon Dorfman wrote: > I know you intend to support editing files over sftp with TextMate in > version 1.1, but I like Interarchy and adding compatability to work > with > Interarchy looks pretty simple. So pretty please with sugar on top, > add > this feature. :-D Thanks, I shouldn't promise anything, but I think we can do this for 1.0.2 (1.0.1 should be out in 1-2 weeks, and should take care of 90% of the initial feedback we've received). Kind regards Allan From allan at macromates.com Fri Oct 8 06:08:42 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 08:08:42 +0200 Subject: [TextMate] Feature request: undo/redo In-Reply-To: References: <53DCA328-187A-11D9-8B87-0050E4D0063B@iit.edu> <4444397B-18B9-11D9-AD1A-000A95C0A620@hawaii.rr.com> Message-ID: <811121CF-18F0-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 7:03, Michael A. Alderete wrote: > I'm curious if there is any practical reason why having > character-by-character Undo is actually useful. You can get to every intermediate editing step. I just had a case in Mail where I wanted to go back to an intermediate editing step, but that wasn't possible, and that state contained text which wasn't present in either ends of the block. Not sure how it happened though. But there'll be an option for block-undo in the future, knowing how frustrated I am with block-undo, I figure fans of this mode would be likewise frustrated by char-by-char undo. Kind regards Allan From allan at macromates.com Fri Oct 8 06:22:10 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 08:22:10 +0200 Subject: [TextMate] Would be cool to see invisible files In-Reply-To: References: Message-ID: <62D925C4-18F2-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 0:40, hangonsoft at free.fr wrote: > Just starting using RubyonRails....and each time i create a project i > want to modify .htaccess to enable mod_ruby....and it's not possible. The default file patterns are set to exclude hidden files, but that can be changed, click the I button in the project drawer when the folder is selected, you'd probably want to set the file pattern to (which hides hidden files *except* .htaccess): ^.*/(\.htaccess|(?!\.)[^/]*)$ In 1.0.1 it'll be possible to change the default patterns. Kind regards Allan From allan at macromates.com Fri Oct 8 06:50:42 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 08:50:42 +0200 Subject: [TextMate] defining syntaxes In-Reply-To: References: <86EB58C9-179D-11D9-85E1-000A95E9CD22@bravo5.org> Message-ID: <5F22B44C-18F6-11D9-AE25-00039351BBEE@macromates.com> On 6. Oct 2004, at 16:13, Brian Lalor wrote: >> patterns = ( include = "Java"; ); > > Actually, I think you meant > patterns = ( { include = "Java"; } ); Blush! :) > I'm still not getting the foreground coloring like I expected. Just > my plain old java mode has some keyword highlighting, but not when > embedded in HTML. The include key only include the patterns. So you'll have to set the foreground for the rule. So that'd be (hopefully I get it right this time ;) ): { name = "Embedded Java"; begin = "<%"; end = "%>"; background = "#E5E5E5"; foreground = "#rrggbb"; patterns = ( { include = "Java"; } ); } Kind regards Allan From allan at macromates.com Fri Oct 8 07:01:20 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 09:01:20 +0200 Subject: [TextMate] Feedback and feature requests In-Reply-To: References: Message-ID: On 6. Oct 2004, at 21:01, Kevin Hunt wrote: > The single biggest problem I've found so far is that it seems to load > files > entirely into memory. Try loading a 100MB enterprise server log in > TextMate > and you'll see it die while consuming megabyte after megabyte of > memory. There'll be a special mode for mapped files, but this is "sometime in the future", sorry. > The second feature I'm looking for is a hex view/edit/search&replace. I would like to have a hex mode, but it has low priority. What you can do is let 'xxd' convert it to hex, edit the file, and let 'xxd' convert it back. Although not as elegant. > Finally -- and this should be the easy one -- please add a "count" > button to > the search window. Often I want to count the occurrences of a certain > error > message in a log, or see how many things I'm about to change by > search&replace. Ah, that's quite cool! I've added it to the to do. Kind regards Allan From jarkko at jlaine.net Fri Oct 8 09:28:46 2004 From: jarkko at jlaine.net (Jarkko Laine) Date: Fri, 8 Oct 2004 12:28:46 +0300 Subject: [TextMate] Snippet, Command, Macro and Language Suggestions In-Reply-To: <86879B7D-18CE-11D9-8481-000A9579CE3A@indent.com.au> References: <97365ACE-1822-11D9-8481-000A9579CE3A@indent.com.au> <581E17AC-1897-11D9-B397-0003930D67D6@station11.net> <86879B7D-18CE-11D9-8481-000A9579CE3A@indent.com.au> Message-ID: <73F73DD7-190C-11D9-83F9-000393C43A9E@jlaine.net> On 8.10.2004, at 05:05, Justin French wrote: > > It only works when you have text selected, otherwise, yes, it does the > whole file... I'll see if we can do a check for a selected text. Justin, One quick fix would be to add alt-w to the beginning of the macro. If there is a selection at hand, the command doesn't do anything (so the selection keeps intact), but if there's no selection, it selects the word you were typing. I think this is the behavior you'd want in 99% of the cases and at least you'd get rid of the "select the whole file" bug. I've used the trick in all of my macros (that it suits) and have had no problems with it. //jarkko -- Jarkko Laine http://jlaine.net http://divingfinn.blogspot.com From joost at greenskin.net Fri Oct 8 09:39:18 2004 From: joost at greenskin.net (Joost Schuttelaar) Date: Fri, 08 Oct 2004 11:39:18 +0200 Subject: [TextMate] Feedback and feature requests In-Reply-To: References: Message-ID: <41666046.10805@greenskin.net> Allan Odgaard wrote: >> The single biggest problem I've found so far is that it seems to load >> files >> entirely into memory. Try loading a 100MB enterprise server log in >> TextMate >> and you'll see it die while consuming megabyte after megabyte of memory. > > > There'll be a special mode for mapped files, but this is "sometime in > the future", sorry. Perhaps pop up a warning dialog in 1.01 if the file exceeds N megabytes. -- Joost Schuttelaar From chrisjenkins at mac.com Fri Oct 8 10:49:55 2004 From: chrisjenkins at mac.com (Chris Jenkins) Date: Fri, 08 Oct 2004 11:49:55 +0100 Subject: [TextMate] Function list? Message-ID: Does anyone know if it would be possible to use the various extensions within TextMate to provide a navigable list of functions within a class file? A bit like the one BBEdit or SubEthaEdit has. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From timfm at hawaii.rr.com Fri Oct 8 11:00:50 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Fri, 8 Oct 2004 01:00:50 -1000 Subject: [TextMate] feature request: code navigation Message-ID: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> I'd like the ability to jump to a tag/rule/id/class/function via a pull-down menu. This comes in quite handy in long files. From lists at allinthehead.com Fri Oct 8 11:05:57 2004 From: lists at allinthehead.com (Drew McLellan) Date: Fri, 08 Oct 2004 12:05:57 +0100 Subject: [TextMate] Function list? In-Reply-To: References: Message-ID: <41667495.9010304@allinthehead.com> Chris Jenkins wrote: > Does anyone know if it would be possible to use the various extensions > within TextMate to provide a navigable list of functions within a class > file? A bit like the one BBEdit or SubEthaEdit has. I can't answer your question, other than to say this has to be #1 on my wish list :) drew. From k at v2studio.com Fri Oct 8 11:34:47 2004 From: k at v2studio.com (Caio Chassot) Date: Fri, 8 Oct 2004 08:34:47 -0300 Subject: [TextMate] Function list? In-Reply-To: References: Message-ID: <0ED0A8A0-191E-11D9-AD5E-000A95C05A48@v2studio.com> On Oct 08, 2004, at 07:49, Chris Jenkins wrote: > Does anyone know if it would be possible to use the various extensions > within TextMate to provide a navigable list of functions within a class > file? A bit like the one BBEdit or SubEthaEdit has. > Here's a way to do it, not ideal, but: Position the cursor before a def or function, or any word which defines the thing you want to find all of. Then go to menu "command/find word", you'll get a list of lines matching the word, from there, selecting an item will select it in the text window. you can probably assign a keyboard shortcut to it too. From roberto+textmate at keltia.freenix.fr Fri Oct 8 12:09:10 2004 From: roberto+textmate at keltia.freenix.fr (Ollivier Robert) Date: Fri, 8 Oct 2004 14:09:10 +0200 Subject: [TextMate] Cursor size Message-ID: <20041008120910.GA43702@tara.freenix.org> I found the single pixel cursor rather difficult to see with a black background (even though I've edited the bundle for Ruby now). I'd like to see an option to use a block cursor. Thanks, -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto at keltia.freenix.fr Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004 From allan at macromates.com Fri Oct 8 12:29:26 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 14:29:26 +0200 Subject: [TextMate] feature request: code navigation In-Reply-To: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> Message-ID: On 8. Oct 2004, at 13:00, Timothy Martens wrote: > I'd like the ability to jump to a tag/rule/id/class/function via a > pull-down menu. This comes in quite handy in long files. This is requested _a lot_. It's scheduled to be added when we do the major syntax-system change, but *maybe* this one will be done before, seeing how frequently it comes up as a request. Kind regards Allan From david at loudthinking.com Fri Oct 8 12:31:49 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Fri, 8 Oct 2004 14:31:49 +0200 Subject: [TextMate] Would be cool to see invisible files In-Reply-To: References: Message-ID: <06BB1939-1926-11D9-A57C-000D932CD5BA@loudthinking.com> > Just starting using RubyonRails....and each time i create a project i > want to modify .htaccess to enable mod_ruby....and it's not possible. I hear ya. What I do is create a symlink like this: ln -s public/.htaccess config/apache.conf Now TextMate will pick up the apache.conf in config and you can edit it from there. Works great ;) -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From allan at macromates.com Fri Oct 8 12:31:58 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 14:31:58 +0200 Subject: [TextMate] Function list? In-Reply-To: <0ED0A8A0-191E-11D9-AD5E-000A95C05A48@v2studio.com> References: <0ED0A8A0-191E-11D9-AD5E-000A95C05A48@v2studio.com> Message-ID: <0BBD62CB-1926-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 13:34, Caio Chassot wrote: > Position the cursor before a def or function, or any word which > defines the thing you want to find all of. Then go to menu > "command/find word", you'll get a list of lines matching the word, > from there, selecting an item will select it in the text window. you > can probably assign a keyboard shortcut to it too. Actually, the ?Find word? command can easily be changed (or duplicated, then changed) to find a specific regular expression. That way you won't have to navigate to the function prototype first. Kind regards Allan From clintecker at gmail.com Fri Oct 8 12:34:10 2004 From: clintecker at gmail.com (Clint Ecker) Date: Fri, 8 Oct 2004 08:34:10 -0400 Subject: [TextMate] Working with multiple screens In-Reply-To: <2002DF23-189B-11D9-83F9-000393C43A9E@jlaine.net> References: <41659AFE.5080607@allinthehead.com> <20041007194204.GA3631@elitists.net> <2002DF23-189B-11D9-83F9-000393C43A9E@jlaine.net> Message-ID: <63a0f2c50410080534172f2dfe@mail.gmail.com> You can do "extending" on any white iBook with an appropriate video card by applying a small hack (twiddling some bits in NVram). There is even a little app that does it now. I've used it many times on my old iBook g3 900 and on my new iBook G4 1GHz. http://www.rutemoeller.com/mp/ibook/ibook_e.html is the site. On Thu, 7 Oct 2004 22:57:32 +0300, Jarkko Laine wrote: > > On 7.10.2004, at 22:42, Scott Barron wrote: > > > > Hmm, I use dual head on my ibook and if I pull the monitor plug out > > textmate does come back to the LCD screen though it's size is a little > > wonky. It looks like it does try to resize but that perhaps it's not > > taking the size of the drawer into account. It's not positioned > > perfectly zoomed, as it was on the monitor screen (which is of a higher > > resolution than the LCD). That's my experience anyway. > > Scott, > > Are you talking about mirroring the screen or extending it to the > bigger screen? As far as I remember iBook was only able to mirror the > screen, not to extend it. > > //jarkko > > -- > Jarkko Laine > http://jlaine.net > http://divingfinn.blogspot.com > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From david at loudthinking.com Fri Oct 8 12:49:18 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Fri, 8 Oct 2004 14:49:18 +0200 Subject: [TextMate] saving files that need auth doesn't seem to work In-Reply-To: <3DC76F7B-18AC-11D9-AE25-00039351BBEE@macromates.com> References: <689059740410071456682e171d@mail.gmail.com> <3DC76F7B-18AC-11D9-AE25-00039351BBEE@macromates.com> Message-ID: <77F47CE1-1928-11D9-A57C-000D932CD5BA@loudthinking.com> > Using something like: "sudo open -a TextMate " will not cause TM > to run with super user privileges. What will work, though, is using this fabulous program called Pseudo: http://www.versiontracker.com/dyn/moreinfo/macosx/9608 With that you can launch any GUI application as root. .Of course native support for this in TextMate is even better, but until then, you might want to give Pseudo a shot. -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From richbarton at mac.com Fri Oct 8 12:49:33 2004 From: richbarton at mac.com (Rich Barton) Date: Fri, 8 Oct 2004 13:49:33 +0100 Subject: [TextMate] Praise and Comments Message-ID: <809EFD23-1928-11D9-A336-000A95CA2CD0@mac.com> Just thought I'd chime in with my experiences of using TM over the last couple of days. Firstly, may I heap lavish praise on the developer(s). The live-updating project drawer (despite its shortcomings, below) is fantastic, and the Esc autocomplete is nothing short of magic. How does it *always* seem to guess the right completion for a given start string out of many possibilities? Regardless, this has made coding a lot less laborious. The snippet and macro features are also great time savers. But enough of the praise, here's my comments and suggestions :-) * I rarely want to view the ASCII version of an image file. How about a preview of the image in the editor pane instead? * Whilst speed is generally not an issue, there is an annoying 2-4 second delay (i.e. spinning beach-ball) when switching to TM when I've got an (open) project located on an SMB share. * By default, TM requires a lot of keyboard mashing for relatively common commands. For instance, I see no reason why the Command + Option + Control + D for toggling the project drawer can't simply be Command + D (in fact, I've hacked this myself in IB and it works fine) * How about a split view (i.e. the ability to see different sections of the same document at once)? * TM doesn't seem to remember the window scroll position if you do the following: open a document (that scrolls), and scroll down without changing the insertion point. Switch to another document/tab. Switch back. The window scroll position is back to its original position, and is no longer at the section of text I was looking at. * When searching within a document for a string located "below the fold", the matching string barely creeps "above the fold", i.e. is bottom aligned relative to the window. This makes it harder to see the match in context. I prefer the behaviour (which I believe BBEdit exhibits) whereby the matching string is centred vertically in the window, making it easier to spot and put in context. * How about being able to create a "real" folder (as opposed to a group) in the project draw? * I would like the group name to be selected and editable immediately after its creation, ? la "New Folder" in the Finder * The Shift Left/Shift Right commands exhibit weird behaviour. I expect them to work like Command + [ and Command + ] in BBEdit or SubEthaEdit, but they don't. (Sorry for the vagueness. It's easier for you to see it yourself than for me to describe how.) Overall, I like the direction TextMate is going in. Regards, Rich Barton From raena at raena.net Fri Oct 8 13:16:39 2004 From: raena at raena.net (Raena Armitage) Date: Sat, 9 Oct 2004 00:16:39 +1100 Subject: [TextMate] Love for Textmate, and some thoughts/observations Message-ID: <49F2377D-192C-11D9-AF86-000A957EC92C@raena.net> Hey, Thanks for a really neat product. I'm still messing about with it, but I think it's a keeper. I've noticed some things, though -- Odd help behaviour: the tooltip that appears when you hover over the Commands textarea says that you can use the purple help icon to get a full list of TextMate's exported variables, but that just goes to the Commands reference page instead. There's a small link to the list of variables, sure, but maybe the list of variables belongs on that page too? (or it should link there as advertised, instead?) Also, why does selecting Help *from the Help menu,* while the commands window is open, mean that it goes to that page? I understand that context is cool, but I expect to find that choosing '(AppName) Help' from the Help menu would take me to the app's help index page. Second: the whole dealie about the preferences window has been discussed, it seems, but it's also something I miss. While there's nothing that really *has* to be in a preference window, it seems logical to me that per-document options ought to be kept well away from the permanent ones. Third, I'm not sure if it's my own font problems or not, but I've never noticed it any other place -- when I'm using any bitmap font the first character in a line has a larger gap between it and the next character. You can see this in action here: Fourth, why is Page Up and Down moving the insertion point? Can one change that at all? And finally, I'm not really concerned with (s)ftp support myself since I prefer to use Transmit, but does anyone know how i can tell Transmit to make TextMate available in its list of external editors? Can that be done at all? From allan at macromates.com Fri Oct 8 14:07:12 2004 From: allan at macromates.com (Allan Odgaard) Date: Fri, 8 Oct 2004 16:07:12 +0200 Subject: [TextMate] Love for Textmate, and some thoughts/observations In-Reply-To: <49F2377D-192C-11D9-AF86-000A957EC92C@raena.net> References: <49F2377D-192C-11D9-AF86-000A957EC92C@raena.net> Message-ID: <5A04066A-1933-11D9-AE25-00039351BBEE@macromates.com> On 8. Oct 2004, at 15:16, Raena Armitage wrote: > Odd help behaviour: the tooltip that appears when you hover over the > Commands textarea says that you can use the purple help icon to get a > full list of TextMate's exported variables, but that just goes to the > Commands reference page instead. There's a small link to the list of > variables, sure, but maybe the list of variables belongs on that page > too? (or it should link there as advertised, instead?) Yes, I think I'll change text of the tool tip, since the commands help page really should be the one linked, and the environment variables are present in all shell contexts, so it needs to be on a separate page (but I can make the link from the commands page at the top and more prominent.) > Also, why does selecting Help *from the Help menu,* while the commands > window is open, mean that it goes to that page? [...] That's a bug (which I was unaware of). > Third, I'm not sure if it's my own font problems or not, but I've > never noticed it any other place -- when I'm using any bitmap font the > first character in a line has a larger gap between it and the next > character. You can see this in action here: By default ATSUI uses the fractional glyph widths for advancement. I *think* this might be the problem here (NSLayoutManager use rounded numbers for glyph advancement). It would be nice if you could send me the font -- eventually I'll switch to NSLayoutManager font rendering, but in the meantime I'll try to tweak ATSUI for optimal on-screen display. > Fourth, why is Page Up and Down moving the insertion point? Can one > change that at all? Yes -- Help / Key Bindings tells how to make a local copy of the key bindings file, this file contains: "\UF72C" = "movePageUp:"; "\UF72D" = "movePageDown:"; Change these to: "\UF72C" = "scrollPageUp:"; "\UF72D" = "scrollPageDown:"; And then it'll only move the scroll bar. > And finally, I'm not really concerned with (s)ftp support myself since > I prefer to use Transmit, but does anyone know how i can tell Transmit > to make TextMate available in its list of external editors? Can that > be done at all? Probably Transmit should be able to download a copy of a document and open it with TextMate (I'm not a Transmit user, so I can't say), but TextMate doesn't (currently) support the BBEdit editor interface, so saving the file from TextMate won't notify Transmit -- but we'll add support for this interface in the future. Kind regards Allan From raena at raena.net Fri Oct 8 14:49:22 2004 From: raena at raena.net (Raena Armitage) Date: Sat, 9 Oct 2004 01:49:22 +1100 Subject: [TextMate] Love for Textmate, and some thoughts/observations In-Reply-To: <5A04066A-1933-11D9-AE25-00039351BBEE@macromates.com> References: <49F2377D-192C-11D9-AF86-000A957EC92C@raena.net> <5A04066A-1933-11D9-AE25-00039351BBEE@macromates.com> Message-ID: <3E054E7E-1939-11D9-AF86-000A957EC92C@raena.net> On 09/10/2004, at 1:07 AM, Allan Odgaard wrote: > By default ATSUI uses the fractional glyph widths for advancement. I > *think* this might be the problem here (NSLayoutManager use rounded > numbers for glyph advancement). It would be nice if you could send me > the font -- eventually I'll switch to NSLayoutManager font rendering, > but in the meantime I'll try to tweak ATSUI for optimal on-screen > display. That one was just Monaco, which you'd have already (email coming off list). Some other fonts exhibit the behaviour at other sizes; sometimes not at all. It never seems to happen with antialiased fonts, though. Meanwhile, thanks a heap for the key binding tip. That said, it's still not consistent with how Mac apps usually work. From ianp at ianp.org Fri Oct 8 15:07:36 2004 From: ianp at ianp.org (Ian Phillips) Date: Fri, 8 Oct 2004 16:07:36 +0100 Subject: [TextMate] My first impression (mostly syntax coloring issues) In-Reply-To: References: <13B60A36-1858-11D9-9F18-000393760292@io.com> <4B3DE479-1860-11D9-A992-000A959CF5AC@refinery.com> <4165647C.8030303@io.com> <6A3C3856-18BC-11D9-AE25-00039351BBEE@macromates.com> Message-ID: The syntax highlighting is done with regular expressions. There's an Oreilly book on the subject, or the java.util.regex.Pattern Javadoc page has a reasonably good introduction to the subject. It's at http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html Ian. On Oct 8, 2004, at 01:05, timothy martens wrote: > > On Oct 7, 2004, at 1:55 PM, Allan Odgaard wrote: >> >> But style sheets a la CSS with selectors would probably be pretty >> flexible. Initially we postponed this, because we figured it would >> come off as too complex. But given the proper GUI editor, it'll >> probably appear as a huge simplification for most ;) > > INDEED. All these syntax highlighting examples (wat language are they > in) are like Greek to me. > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > > #ifndef __COMMON_SENSE__ | Ian Phillips #include | http://ianp.org #endif From ianp at ianp.org Fri Oct 8 15:16:54 2004 From: ianp at ianp.org (Ian Phillips) Date: Fri, 8 Oct 2004 16:16:54 +0100 Subject: [TextMate] Page for contributed stuff? In-Reply-To: References: Message-ID: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> Have a look at http://ianp.org/articles/textmate.html for a collection of pointers and download links to user contributed bundles. If you have any to add send them to me at ianp at ianp.org. Ian. On Oct 8, 2004, at 00:36, timothy martens wrote: > > On Oct 7, 2004, at 6:26 AM, Merlin Mann wrote: > >> Hey, >> >> This might have come up already, but I think it would helpful to have >> a single page that collects (or at least points to) all the available >> add-ons folks have put together for TextMate, such as bundles, >> syntaxes, snippets, and so on. A two-line summary of what it does >> (with screenshots where possible) would also be great. >> >> I agree that the power of TextMate comes from unlocking its _insane_ >> amount of configurability. But, I also suspect that some of the >> nay-sayers--especially those less experienced with the power of a >> shell--would be much more inspired if they saw what they could *do* >> with TM (without having to build the actual widgets themselves). > > Here, here. It would be great to have a central repository for > development. I'm a shell neophyte and it is really helpful for me to > be able to see concrete examples. > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > > #ifndef __COMMON_SENSE__ | Ian Phillips #include | http://ianp.org #endif From ianp at ianp.org Fri Oct 8 15:30:58 2004 From: ianp at ianp.org (Ian Phillips) Date: Fri, 8 Oct 2004 16:30:58 +0100 Subject: [TextMate] Bundles List Update Message-ID: <0D585859-193F-11D9-A3C3-000D9335A256@ianp.org> Hi All, Been a bit busy at work today, but the list is updated now. So far we have: C C/C++/Objective-C Java JavaScript Mono/C# (now updated with compile output support thanks to Jan Sabbe). OCaml PHP Smarty Python XML Have a nice day! Yours, Ian. #ifndef __COMMON_SENSE__ | Ian Phillips #include | http://ianp.org #endif From david at loudthinking.com Fri Oct 8 15:46:52 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Fri, 8 Oct 2004 17:46:52 +0200 Subject: [TextMate] Page for contributed stuff? In-Reply-To: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> References: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> Message-ID: <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> > Have a look at http://ianp.org/articles/textmate.html for a collection > of pointers and download links to user contributed bundles. Great stuff, Ian! We've blogged your page already: http://macromates.com/blog/archives/2004/10/08/textmate-bundles-here- there-and-everywhere/ -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From ianp at ianp.org Fri Oct 8 16:10:58 2004 From: ianp at ianp.org (Ian Phillips) Date: Fri, 8 Oct 2004 17:10:58 +0100 Subject: [TextMate] Bundles List Update In-Reply-To: <0D585859-193F-11D9-A3C3-000D9335A256@ianp.org> References: <0D585859-193F-11D9-A3C3-000D9335A256@ianp.org> Message-ID: Just added: LaTeX (and BibTex)! Ian. On Oct 8, 2004, at 16:30, Ian Phillips wrote: > Hi All, > > Been a bit busy at work today, but the list is updated now. So far we > have: > > C > C/C++/Objective-C > Java > JavaScript > Mono/C# (now updated with compile output support thanks to Jan Sabbe). > OCaml > PHP Smarty > Python > XML > > Have a nice day! > > Yours, > Ian. > > #ifndef __COMMON_SENSE__ | Ian Phillips > #include | http://ianp.org > #endif > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > > #ifndef __COMMON_SENSE__ | Ian Phillips #include | http://ianp.org #endif From johans at gmail.com Fri Oct 8 16:19:54 2004 From: johans at gmail.com (=?ISO-8859-1?Q?Johan_S=F6rensen?=) Date: Fri, 8 Oct 2004 18:19:54 +0200 Subject: [TextMate] Page for contributed stuff? In-Reply-To: <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> References: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> Message-ID: <6890597404100809191a210337@mail.gmail.com> Not to belittle Ian's effort (which I'm sure we all appreciate), but wouldn't it be a good idea to have such a thing as part of the macromates site? Or is that already planned? - johan On Fri, 8 Oct 2004 17:46:52 +0200, David Heinemeier Hansson wrote: > > Have a look at http://ianp.org/articles/textmate.html for a collection > > of pointers and download links to user contributed bundles. > > Great stuff, Ian! > > We've blogged your page already: > http://macromates.com/blog/archives/2004/10/08/textmate-bundles-here- > there-and-everywhere/ > -- > David Heinemeier Hansson, > http://www.rubyonrails.org/ -- Web-application framework for Ruby > http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby > http://macromates.com/ -- TextMate: Code and markup editor for OS > X > http://www.basecamphq.com/ -- Web-based Project Management > http://www.loudthinking.com/ -- Broadcasting Brain > http://www.nextangle.com/ -- Development & Consulting Services > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > -- Johan S?rensen Professional Futurist www.johansorensen.com From chris at cjack.com Fri Oct 8 16:19:06 2004 From: chris at cjack.com (Chris Thomas) Date: Fri, 8 Oct 2004 09:19:06 -0700 Subject: [TextMate] feature request: code navigation In-Reply-To: References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> Message-ID: On Oct 8, 2004, at 5:29 AM, Allan Odgaard wrote: > This is requested _a lot_. It's scheduled to be added when we do the > major syntax-system change, but *maybe* this one will be done before, > seeing how frequently it comes up as a request. Just a me too: I'd love to see it sooner rather than later. :) It's the one thing that I use regularly in Xcode that I can't add through TextMate's customization features. Chris From david at loudthinking.com Fri Oct 8 16:24:54 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Fri, 8 Oct 2004 18:24:54 +0200 Subject: [TextMate] Page for contributed stuff? In-Reply-To: <6890597404100809191a210337@mail.gmail.com> References: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> <6890597404100809191a210337@mail.gmail.com> Message-ID: <96866330-1946-11D9-A57C-000D932CD5BA@loudthinking.com> > Not to belittle Ian's effort (which I'm sure we all appreciate), but > wouldn't it be a good idea to have such a thing as part of the > macromates site? Or is that already planned? That is indeed planned, but Ian beat us to the punch. So while we figure out how best to do it, Ian's site will serve as a pointer to all the syntaxes we should have a look at. The best of each will end up in the main distribution itself. We expect to have a lot more native support when 1.0.1 ships in about two weeks. -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From lists at bebop.net Fri Oct 8 16:31:36 2004 From: lists at bebop.net (Jeff Ganyard) Date: Fri, 8 Oct 2004 09:31:36 -0700 Subject: [TextMate] feature request: code navigation In-Reply-To: References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> Message-ID: <85AF7811-1947-11D9-B6A5-000A95A6A366@bebop.net> >> This is requested _a lot_. It's scheduled to be added when we do the >> major syntax-system change, but *maybe* this one will be done before, >> seeing how frequently it comes up as a request. > > Just a me too: I'd love to see it sooner rather than later. :) It's > the one thing that I use regularly in Xcode that I can't add through > TextMate's customization features. Another me too - but do it better! Provide a hot key to access (switch focus to) the pull down menu and then make it navigable with up and down arrows. The let the user tab to select the highlighted function and switch focus back to the main document with the insertion point at the function selected. From ianp at ianp.org Fri Oct 8 16:55:59 2004 From: ianp at ianp.org (Ian Phillips) Date: Fri, 8 Oct 2004 17:55:59 +0100 Subject: [TextMate] Page for contributed stuff? In-Reply-To: <6890597404100809191a210337@mail.gmail.com> References: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> <6890597404100809191a210337@mail.gmail.com> Message-ID: That's OK. According to Allan MacroMates plan to host something like this themselves when time allows. Also, some of these bundles will be included in the 1.0.1 release (not sure when it's due out though). Ian. On Oct 8, 2004, at 17:19, Johan S?rensen wrote: > Not to belittle Ian's effort (which I'm sure we all appreciate), but > wouldn't it be a good idea to have such a thing as part of the > macromates site? Or is that already planned? > > - johan > > On Fri, 8 Oct 2004 17:46:52 +0200, David Heinemeier Hansson > wrote: >>> Have a look at http://ianp.org/articles/textmate.html for a >>> collection >>> of pointers and download links to user contributed bundles. >> >> Great stuff, Ian! >> >> We've blogged your page already: >> http://macromates.com/blog/archives/2004/10/08/textmate-bundles-here- >> there-and-everywhere/ >> -- >> David Heinemeier Hansson, >> http://www.rubyonrails.org/ -- Web-application framework for Ruby >> http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby >> http://macromates.com/ -- TextMate: Code and markup editor for >> OS >> X >> http://www.basecamphq.com/ -- Web-based Project Management >> http://www.loudthinking.com/ -- Broadcasting Brain >> http://www.nextangle.com/ -- Development & Consulting Services >> >> >> >> _______________________________________________ >> textmate mailing list >> textmate at lists.macromates.com >> http://lists.macromates.com/mailman/listinfo/textmate >> > > > -- > Johan S?rensen > Professional Futurist > www.johansorensen.com > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > > #ifndef __COMMON_SENSE__ | Ian Phillips #include | http://ianp.org #endif From profprof at mac.com Fri Oct 8 18:20:31 2004 From: profprof at mac.com (profprof at mac.com) Date: Fri, 08 Oct 2004 14:20:31 -0400 Subject: [TextMate] Latex, python and TAB behaviour Message-ID: <13232237.1097259631339.JavaMail.profprof@mac.com> I have just downloaded textmate and I looks like a very promising editor. I hope to be able to use it soon! I would very much like to see an environment for both latex and python. Those two environments are those I am in most of the time. I am sure that I not alone. Also, to me the tab behaviour of Emacs (where you can press tab anywhere on a line to align the content of the line) is a big plus when programming. It helps structure back the code rapidly. This feature would be part of a more global automatic formatting for programs but at least it is almost essential. This being said, you are doing an excellent work! Congratulations and I look forward to your next version which might include these features. From cryo at tiscali.dk Fri Oct 8 19:19:33 2004 From: cryo at tiscali.dk (Sune Foldager) Date: Fri, 8 Oct 2004 21:19:33 +0200 Subject: [TextMate] Page for contributed stuff? In-Reply-To: References: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> <6890597404100809191a210337@mail.gmail.com> Message-ID: On 8/10-2004, at 18:55, Ian Phillips wrote: > That's OK. According to Allan MacroMates plan to host something like > this themselves when time allows. Also, some of these bundles will be > included in the 1.0.1 release (not sure when it's due out though). Probably due in 1-2 weeks from now, depending on how many things will be put into it from the many suggestions and fortunately few bug reports :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From roberto+textmate at keltia.freenix.fr Fri Oct 8 20:14:13 2004 From: roberto+textmate at keltia.freenix.fr (Ollivier Robert) Date: Fri, 8 Oct 2004 22:14:13 +0200 Subject: [TextMate] TM and hard links Message-ID: <20041008201413.GB46969@tara.freenix.org> Hi Allan, I've hit something that bother me a lot since I use Arch/tla[1] as version control software. It has a feature where files are shared through hard links in a revision library meaning that if across several changesets, a given file doesn't change, it is stored only one time. That requires that the editor one use to edit the file break hard links on Save (i.e. creating the new file and renaming instead of save in-place). Emacs does that by default and vim can be tweaked to do it too. I don't know what BBEdit does because I've never used it outside the demo mode. I've already bought TM because I think it is a great editor but to be able to use it for all my developements, I need TM to behave like the above. The default behaviour is breaking all revisions stored in the library :( Thoughts, comments? ----- [1] http://gnuarch.org/ -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto at keltia.freenix.fr Darwin snuadh.freenix.org Kernel Version 7.5.0: Wed May 12 16:58:24 PDT 2004 From cryo at diku.dk Fri Oct 8 20:19:37 2004 From: cryo at diku.dk (Sune Foldager) Date: Fri, 8 Oct 2004 22:19:37 +0200 Subject: [TextMate] TM and hard links In-Reply-To: <20041008201413.GB46969@tara.freenix.org> References: <20041008201413.GB46969@tara.freenix.org> Message-ID: <608A55CC-1967-11D9-A49B-000393D4B5C8@diku.dk> On 8/10-2004, at 22:14, Ollivier Robert wrote: > I've hit something that bother me a lot since I use Arch/tla[1] as > version > control software. It has a feature where files are shared through > hard links > in a revision library meaning that if across several changesets, a > given file > doesn't change, it is stored only one time. > [...] > Thoughts, comments? I have some... I am against this as a _default behaviour_, because it can of course be less efficient and there can certainlty be times where you DON'T want to break your links... granted that hard links are rarely used. I think it would be nice as an option in a future version :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From cryo at diku.dk Fri Oct 8 20:35:38 2004 From: cryo at diku.dk (Sune Foldager) Date: Fri, 8 Oct 2004 22:35:38 +0200 Subject: [TextMate] TM and hard links In-Reply-To: <608A55CC-1967-11D9-A49B-000393D4B5C8@diku.dk> References: <20041008201413.GB46969@tara.freenix.org> <608A55CC-1967-11D9-A49B-000393D4B5C8@diku.dk> Message-ID: <9D3ED470-1969-11D9-A49B-000393D4B5C8@diku.dk> On 8/10-2004, at 22:19, Sune Foldager wrote: > I have some... I am against this as a _default behaviour_, because it > can of course be less efficient and there can certainlty be times > where you DON'T want to break your links... granted that hard links > are rarely used. I think it would be nice as an option in a future > version :-). Comming to think about it, since the entire file is written out all the time, it probably won't make any speed difference... there could be a permission problem though. -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From timfm at hawaii.rr.com Fri Oct 8 20:35:59 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Fri, 8 Oct 2004 10:35:59 -1000 Subject: [TextMate] Cursor size In-Reply-To: <20041008120910.GA43702@tara.freenix.org> References: <20041008120910.GA43702@tara.freenix.org> Message-ID: On Oct 8, 2004, at 2:09 AM, Ollivier Robert wrote: > I found the single pixel cursor rather difficult to see with a black > background (even though I've edited the bundle for Ruby now). I'd > like to > see an option to use a block cursor. yes, block cursor like in Terminal From timfm at hawaii.rr.com Fri Oct 8 20:36:32 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Fri, 8 Oct 2004 10:36:32 -1000 Subject: [TextMate] feature request: code navigation In-Reply-To: References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> Message-ID: On Oct 8, 2004, at 2:29 AM, Allan Odgaard wrote: > On 8. Oct 2004, at 13:00, Timothy Martens wrote: > >> I'd like the ability to jump to a tag/rule/id/class/function via a >> pull-down menu. This comes in quite handy in long files. > > This is requested _a lot_. It's scheduled to be added when we do the > major syntax-system change, but *maybe* this one will be done before, > seeing how frequently it comes up as a request. Nice one! From timfm at hawaii.rr.com Fri Oct 8 20:39:08 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Fri, 8 Oct 2004 10:39:08 -1000 Subject: [TextMate] Praise and Comments In-Reply-To: <809EFD23-1928-11D9-A336-000A95CA2CD0@mac.com> References: <809EFD23-1928-11D9-A336-000A95CA2CD0@mac.com> Message-ID: <1A6FFF7E-196A-11D9-8036-000A95C0A620@hawaii.rr.com> On Oct 8, 2004, at 2:49 AM, Rich Barton wrote: > * I would like the group name to be selected and editable immediately > after its creation, ? la "New Folder" in the Finder me too From timfm at hawaii.rr.com Fri Oct 8 20:47:51 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Fri, 8 Oct 2004 10:47:51 -1000 Subject: [TextMate] Page for contributed stuff? In-Reply-To: <96866330-1946-11D9-A57C-000D932CD5BA@loudthinking.com> References: <16AAC6B1-193D-11D9-A3C3-000D9335A256@ianp.org> <45EFDD1C-1941-11D9-A57C-000D932CD5BA@loudthinking.com> <6890597404100809191a210337@mail.gmail.com> <96866330-1946-11D9-A57C-000D932CD5BA@loudthinking.com> Message-ID: <52081D47-196B-11D9-8036-000A95C0A620@hawaii.rr.com> On Oct 8, 2004, at 6:24 AM, David Heinemeier Hansson wrote: > That is indeed planned, but Ian beat us to the punch. So while we > figure out how best to do it, Ian's site will serve as a pointer to > all the syntaxes we should have a look at. There's this cool little application called Instiki which might suit the task rather well? : ) From timfm at hawaii.rr.com Fri Oct 8 20:49:27 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Fri, 8 Oct 2004 10:49:27 -1000 Subject: [TextMate] feature request: code navigation In-Reply-To: <85AF7811-1947-11D9-B6A5-000A95A6A366@bebop.net> References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> <85AF7811-1947-11D9-B6A5-000A95A6A366@bebop.net> Message-ID: <8B794A40-196B-11D9-8036-000A95C0A620@hawaii.rr.com> On Oct 8, 2004, at 6:31 AM, Jeff Ganyard wrote: >>> This is requested _a lot_. It's scheduled to be added when we do the >>> major syntax-system change, but *maybe* this one will be done >>> before, seeing how frequently it comes up as a request. >> >> Just a me too: I'd love to see it sooner rather than later. :) It's >> the one thing that I use regularly in Xcode that I can't add through >> TextMate's customization features. > > Another me too - but do it better! Provide a hot key to access (switch > focus to) the pull down menu and then make it navigable with up and > down arrows. The let the user tab to select the highlighted function > and switch focus back to the main document with the insertion point at > the function selected. Brilliant suggestion Jeff! It is rather unwieldy to have to click on a pull-down and manually navigate its content with the mouse. From textmate at mimicry.org Fri Oct 8 22:05:32 2004 From: textmate at mimicry.org (textmate at mimicry.org) Date: Fri, 08 Oct 2004 18:05:32 -0400 Subject: [TextMate] feature request: code navigation In-Reply-To: <8B794A40-196B-11D9-8036-000A95C0A620@hawaii.rr.com> References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> <85AF7811-1947-11D9-B6A5-000A95A6A366@bebop.net> <8B794A40-196B-11D9-8036-000A95C0A620@hawaii.rr.com> Message-ID: <2C0DB8C0-1976-11D9-8039-0030654E281C@mimicry.org> On 8 Oct, 2004, at 4:49 PM, Timothy Martens wrote: > > On Oct 8, 2004, at 6:31 AM, Jeff Ganyard wrote: >> >> Another me too - but do it better! Provide a hot key to access >> (switch focus to) the pull down menu and then make it navigable with >> up and down arrows. The let the user tab to select the highlighted >> function and switch focus back to the main document with the >> insertion point at the function selected. > > Brilliant suggestion Jeff! It is rather unwieldy to have to click on a > pull-down and manually navigate its content with the mouse. Ctrl-2 pops up the function menu in Xcode and SubEthaEdit. If TextMate adds this, it should probably adopt this convention as well. John From guanix at gmail.com Fri Oct 8 22:09:16 2004 From: guanix at gmail.com (Guan Yang) Date: Fri, 8 Oct 2004 18:09:16 -0400 Subject: [TextMate] Unsubscribe from this list? Message-ID: <9095517b04100815092cd479b@mail.gmail.com> Has anyone successfully unsubscribed from this list? When I hit either the "password reminder" or "unsubscribe" button in the Mailman web interface, I don't get any email from the Mailman. But he's happy enough to deliver the list messages. Guan From lists at bebop.net Fri Oct 8 22:30:46 2004 From: lists at bebop.net (Jeff Ganyard) Date: Fri, 8 Oct 2004 15:30:46 -0700 Subject: [TextMate] feature request: code navigation In-Reply-To: <2C0DB8C0-1976-11D9-8039-0030654E281C@mimicry.org> References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> <85AF7811-1947-11D9-B6A5-000A95A6A366@bebop.net> <8B794A40-196B-11D9-8036-000A95C0A620@hawaii.rr.com> <2C0DB8C0-1976-11D9-8039-0030654E281C@mimicry.org> Message-ID: >>> Another me too - but do it better! Provide a hot key to access >>> (switch focus to) the pull down menu and then make it navigable with >>> up and down arrows. The let the user tab to select the highlighted >>> function and switch focus back to the main document with the >>> insertion point at the function selected. >> >> Brilliant suggestion Jeff! It is rather unwieldy to have to click on >> a pull-down and manually navigate its content with the mouse. > > Ctrl-2 pops up the function menu in Xcode and SubEthaEdit. If TextMate > adds this, it should probably adopt this convention as well. Thanks for the tip! Where did you find that fro Xcode? I looked through the key bindings pref panel, never saw it.. jeff From blalor at bravo5.org Fri Oct 8 22:46:01 2004 From: blalor at bravo5.org (Brian Lalor) Date: Fri, 8 Oct 2004 17:46:01 -0500 Subject: [TextMate] HTML attributes coloring? In-Reply-To: <8d5544d8041007163816e28cfe@mail.gmail.com> References: <8d5544d8041007163816e28cfe@mail.gmail.com> Message-ID: On Oct 7, 2004, at 6:38 PM, bongoman wrote: > Is it open to me to set HTML attributes to have a different color to > the tag itself? I think the HTML syntax highlighting already does that... I've got the following in my XML.plist, which is copied in large part from HTML.plist: /* nodes */ { name = "nodes"; begin = ""; "elementFontStyle[1]" = ( underline ); foregroundColor = "#0066CC"; patterns = ( { name = "Option"; match = " ([a-zA-Z\-]+)"; }, { name = "Double Quoted String"; begin = "\""; end = "\""; foregroundColor = "#CC3300";}, { name = "Single Quoted String"; begin = "'"; end = "'"; fontStyle = ( ); foregroundColor = "#CC3300"; }, ); }, That sets the tag to one color, keys to another, and values to a third. Or was that not what you wanted? -- __ ____ / / / __/ Brian Lalor / _ \/__ \ blalor at bravo5.org /_.__/____/ http://bravo5.org/ From if at glyf.org Fri Oct 8 22:48:01 2004 From: if at glyf.org (Philipf) Date: Fri, 8 Oct 2004 18:48:01 -0400 Subject: [TextMate] TextMate wiki Message-ID: <1BF44974-197C-11D9-B321-0003937402F2@glyf.org> Hello, I've setup a wiki[1] to collect various TextMate add-ons. The general layout is still under construction, but feel free to modify anything. This is obviously temporary solution until macromates configure their own repository. I'll make sure that useful content gets transfered later on. Also the wiki is not intended to replace Ian Phillips bundle page[2], but rather to complement it. I took a liberty of using TextMate icon. Please tell me if that's not ok, and I'll remove it. [1] http://glyf.org/TextMate/ [2] http://ianp.org/articles/textmate.html --- Philipf From blalor at bravo5.org Fri Oct 8 23:00:33 2004 From: blalor at bravo5.org (Brian Lalor) Date: Fri, 8 Oct 2004 18:00:33 -0500 Subject: [TextMate] [Tip] Embed selection in tag, lookup PHP functions In-Reply-To: References: Message-ID: On Oct 7, 2004, at 10:48 PM, Allan Odgaard wrote: > Another neat trick I saw on a blog (but unfortunately lost the > reference) was a command configured to do: > open http://php.net/$TM_CURRENT_WORD Ah, it's amazing what you can do when you have a completely flat namespace, eh? No hierarchy of commands to muck up your search engine. :-) (I did PHP for a number of years, but I'm all better now.) -- __ ____ / / / __/ Brian Lalor / _ \/__ \ blalor at bravo5.org /_.__/____/ http://bravo5.org/ From erichsu at math.sfsu.edu Fri Oct 8 23:38:37 2004 From: erichsu at math.sfsu.edu (Eric Hsu) Date: Fri, 8 Oct 2004 16:38:37 -0700 Subject: [TextMate] quickie Perl syntax coloring In-Reply-To: <20041008230037.CEDB911DC@one.textdrive.com> References: <20041008230037.CEDB911DC@one.textdrive.com> Message-ID: Hi folks, I wanted to try TM for Perl programming, so I whipped up a quickie syntax coloring bundle, available at . You might not like my subtle colors. Feel free to change them for yourself. I'm certain this work can be improved. If you do modify it, I'd appreciate your sending me the improved copy! best wishes, Eric -- Eric Hsu, Assistant Professor of Mathematics San Francisco State University erichsu at math.sfsu.edu http://math.sfsu.edu/hsu From infolists at gmail.com Sat Oct 9 02:03:53 2004 From: infolists at gmail.com (bongoman) Date: Sat, 9 Oct 2004 12:03:53 +1000 Subject: [TextMate] HTML attributes coloring? In-Reply-To: References: <8d5544d8041007163816e28cfe@mail.gmail.com> Message-ID: <8d5544d804100819034dd9cd3a@mail.gmail.com> It is what I meant, I'm just not seeing the highlighting take effect. I better go back and take a closer look at the relevant bundle files. Thanks. On Fri, 8 Oct 2004 17:46:01 -0500, Brian Lalor wrote: > On Oct 7, 2004, at 6:38 PM, bongoman wrote: > > > Is it open to me to set HTML attributes to have a different color to > > the tag itself? > > I think the HTML syntax highlighting already does that... > > I've got the following in my XML.plist, which is copied in large part > from HTML.plist: > /* nodes */ > { > name = "nodes"; > begin = " end = "(/?)>"; > "elementFontStyle[1]" = ( underline ); > > foregroundColor = "#0066CC"; > > patterns = ( > { name = "Option"; match = " > ([a-zA-Z\-]+)"; }, > { name = "Double Quoted String"; begin > = "\""; end = "\""; foregroundColor = "#CC3300";}, > { name = "Single Quoted String"; begin > = "'"; end = "'"; fontStyle = ( ); foregroundColor = "#CC3300"; }, > ); > }, > > That sets the tag to one color, keys to another, and values to a third. > > Or was that not what you wanted? > > -- > __ ____ > / / / __/ Brian Lalor > / _ \/__ \ blalor at bravo5.org > /_.__/____/ http://bravo5.org/ > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From blalor at bravo5.org Sat Oct 9 02:51:22 2004 From: blalor at bravo5.org (Brian Lalor) Date: Fri, 8 Oct 2004 21:51:22 -0500 Subject: [TextMate] folding bug? (or: help me make this work!) Message-ID: <1A812640-199E-11D9-8BCD-000A95E9CD22@bravo5.org> I'm trying to work out a couple of bugs in my XML syntax. I may have uncovered a bug in the folding code, or I may just be suffering from regexp brainfade... What I was originally trying to accomplish was two types of folding. I wanted the following to fold up: (begin) (end) ... and I also wanted this to fold: (begin) The latter would ideally fold to -------------- next part -------------- Line 62 starts one of those singleton elements. Note that there is no closing tag, but at line 67, another element begins as the same indent level. In the current state, if I use the folding start button in the gutter at line 62, TM folds the document to line 72 (the end of the first text). If I fold the "clean" target (lines 67 to 71) and then fold the at line 62, TM folds all the way to line 92. It seems to me that TM should stop searching for a match if a new start fold marker is discovered at the same indent level. Is that correct, or are my regexps just more sloppy than I thought they were? :-) -- __ ____ / / / __/ Brian Lalor / _ \/__ \ blalor at bravo5.org /_.__/____/ http://bravo5.org/ From allan at macromates.com Sat Oct 9 03:32:28 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 05:32:28 +0200 Subject: [TextMate] folding bug? (or: help me make this work!) In-Reply-To: <1A812640-199E-11D9-8BCD-000A95E9CD22@bravo5.org> References: <1A812640-199E-11D9-8BCD-000A95E9CD22@bravo5.org> Message-ID: On 9. Oct 2004, at 4:51, Brian Lalor wrote: > I haven't found a regexp that will make TM *ignore* the abbreviated > (but multi-line) XML element above (the 2nd one). [...] Currently all matching is done on a single line at a time. I'll keep this limitation in mind when I refine the folding system. Kind regards Allan From james at spahr.org Sat Oct 9 04:30:55 2004 From: james at spahr.org (James Spahr) Date: Sat, 9 Oct 2004 00:30:55 -0400 Subject: [TextMate] Alternate Icon & updated Smarty Syntax file Message-ID: <027DC0B1-19AC-11D9-88CD-000393CE1C1E@spahr.org> I quickly created an alternate icon that is distinctive in the dock and says a little bit about what the application does. (It's not brilliant, but I think it's functionally a little better). The icon may be used freely for non-commercial purposes. -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 5.pdf Type: application/pdf Size: 8245 bytes Desc: not available URL: -------------- next part -------------- Alternate Textmate icon http://www.spahr.org/share/textmate_icon.zip Updated Smarty Syntax (same URL as previous version) http://www.spahr.org/share/PHP_Smarty.tmbundle.zip James. From craig at eigentone-solo.net Sat Oct 9 05:37:59 2004 From: craig at eigentone-solo.net (Craig Davey) Date: Sat, 9 Oct 2004 01:37:59 -0400 Subject: [TextMate] Custom Selection/Caret with Syntax Coloring Message-ID: <6125D133-19B5-11D9-B9C0-000A95DBF040@eigentone-solo.net> Hi It would be excellent if one could set a custom selection color in syntax plists. I was rather excited to see the feature under View: Show Color Settings, but unimpressed that it was not used when syntax coloring was enabled. Might there be an undocumented property to set it in a syntax file? - craig davey From allan at macromates.com Sat Oct 9 06:29:20 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 08:29:20 +0200 Subject: [TextMate] OCaml bundle + observations In-Reply-To: References: <94517ECA-1894-11D9-AA65-000A95D0E4AA@imaginaryfriend.org> Message-ID: <8D593323-19BC-11D9-8F87-00039351BBEE@macromates.com> On 7. Oct 2004, at 23:31, William Douglas Neumann wrote: > 4: Does anyone know how to handle nested comments? In OCaml, the > following is a valid comment Note: the (* and *) are comment > delimiters: Currently we do not support recursive definitions in the syntax files (i.e. arbitrary nesting), though it _will_ be added in the future! > [...] If I try to swallow the internal comment with this pattern: > "\\(\\*.*\\*\\)"; }, then the comment coloring does not end > with the comment. I'm a bit of a regex schnook, so any help here > would be appreciated... The problem is that .* is a greedy match, so it'll match from the start of the nested comment till the end of the entire comment (skipping over the nested '*)'). You can add ? to the repeat to make it non-greedy, and then it'll work. I.e. the pattern becomes (with escapes): "\\(\\*.*?\\*\\)" > 5: Not sure if this was mentioned yet, but code inserted via Snippets > is not indented according to the syntax rules. Can you give an example? I don't think there should be any syntax aware indenting when inserting snippets, but maybe I've overlooked something. Kind regards Allan From robbevan at xpt.com Sat Oct 9 08:42:05 2004 From: robbevan at xpt.com (Rob Bevan) Date: Sat, 9 Oct 2004 09:42:05 +0100 Subject: [TextMate] ActionScript for TextMate In-Reply-To: References: <68905974041006015917146c57@mail.gmail.com> Message-ID: <1911B166-19CF-11D9-BF55-003065A89FD6@xpt.com> I've done an ActionScript bundle for TextMate. You'll find it here: http://type.robbevan.com/robbish/2004/10/actionscript_fo.html This adds syntax colouring and a 'Test Movie in Flash' command, so you can select a .fla file in your project and have it open and run in Flash. I'll be adding Snippets etc. later. Unfortunately, at the moment, .fla files (and all other binary files I guess) display as text, but you guys will fix that soon, yes? You can download the bundle or an installer which adds it to /Library/Application Suppport/TextMate/Bundles. BTW, I'm not sure if anyone else has reported this (haven't had a chance to go back through the hundreds of posts on this list!), but double-clicking a bundle errors if the ~/Library/Application Suppport/TextMate/Bundles directory doesn't exist (and there's a spelling mistake in the error dialog: "An error occurred WHY copying the bundle". Cheers, Rob On Oct 6, 2004, at 10:04 AM, Rob Bevan wrote: > I'm working on ActionScript, should have it done soon. I've already > done a 'Test Movie' command. > > Now if only we could get TextMate not to display the binary .fla file > as text... > > On Oct 6, 2004, at 9:59 AM, Johan S?rensen wrote: > >> Greetings! >> >> So, have anyone started to make some custom syntax definitions for the >> various laguages out there? Lets share! >> I wish I could say "I'll start" but I've just started on one so I'm >> still wrapping my head around it. It still baffles me why colours >> arent global (like, often i want the same color for strings regardless >> of laguages for instance) >> >> (apologies if this has been bought up already, I'm the list newbie) >> >> Cheers, >> johan >> >> -- >> Johan S?rensen >> Professional Futurist >> www.johansorensen.com >> _______________________________________________ >> textmate mailing list >> textmate at lists.macromates.com >> http://lists.macromates.com/mailman/listinfo/textmate >> > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From hpeikemo at gmail.com Sat Oct 9 10:09:45 2004 From: hpeikemo at gmail.com (Hans Petter Eikemo) Date: Sat, 9 Oct 2004 12:09:45 +0200 Subject: [TextMate] On folding. Message-ID: It?s great to finally have folding in a native osx application. Although the current implementation has a few usability issues: First, the folding column needs to be rightmost in the gutter, next to the text. Currently, when line numbering is active, matching folding widget with line is harder than it could be. Second, the present top and bottom widget icons are too similar, making it hard to read a structure overview off the document. It?s primary function is to show start or end of the block, thus arrow direction must be the most visible feature. In addition i suggest a highlighting feature, allowing us to close a fold(?) by clicking anywhere on a line between between folding icons. A mouse over effect shows what parts will be affected. This will allow easier matching of open and closing arrows, as well as reducing mouse travel. View the attached mock-up for a clearer, visual description. (note in the image I am experimenting with a x-code style top-bar as well ;) hp. -------------- next part -------------- A non-text attachment was scrubbed... Name: foldingfeature_hp.pdf Type: application/pdf Size: 15309 bytes Desc: not available URL: From lucsky at mac.com Sat Oct 9 10:51:31 2004 From: lucsky at mac.com (Luc Heinrich) Date: Sat, 9 Oct 2004 12:51:31 +0200 Subject: [TextMate] Window mockups update Message-ID: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Greetings, Someone mentioned XCode top bars this morning (which I think is an excellent idea, much better than my previous scroll bars adorners attempt imho) when I was actually about to post updated mockups as well :) Here they are anyway: -------------- next part -------------- A non-text attachment was scrubbed... Name: TMDefaultWindow3.png Type: application/applefile Size: 16845 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TMDefaultWindow3.png Type: image/png Size: 42397 bytes Desc: not available URL: -------------- next part -------------- I think it looks better than the bottom status bar, and it leaves room (which was a valid concern) for possible additions, popups, buttons, whatever. It looks even better in the project window because it makes a better separation between the tabs and the editing pane: -------------- next part -------------- A non-text attachment was scrubbed... Name: TMProjectWindow3.png Type: application/applefile Size: 16845 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TMProjectWindow3.png Type: image/png Size: 81557 bytes Desc: not available URL: -------------- next part -------------- Thoughts ? PS: question for the list moderators: what is the preferred method to post screenshots on the list ? Attached pictures have to go through moderator approval, which is obvious, so do you prefer URLs for example ? -- Luc Heinrich - lucsky at mac.com - http://www.honk-honk.com From lucsky at mac.com Sat Oct 9 11:00:25 2004 From: lucsky at mac.com (Luc Heinrich) Date: Sat, 9 Oct 2004 13:00:25 +0200 Subject: [TextMate] TM BundleEditor Message-ID: <6C8FC57E-19E2-11D9-8E59-000A95AA6EF4@mac.com> Greetings, It seems like people are starting to go hog wild creating TM bundles, so I have started a (currently very crude) bundle editor for TextMate last night, which looks like this: -------------- next part -------------- A non-text attachment was scrubbed... Name: TMBE.png Type: image/png Size: 259907 bytes Desc: not available URL: -------------- next part -------------- (note: this is not a Photoshop mockup, it's an actual screenshot of a running Cocoa application ;) ). If you guys think that this kind of tool would be useful until Allan and friends come up with an integrated bundle editor, let me know. Allan and friends, if you have something like this up your sleeves that you are ready to ship, like, in 2 weeks, let me know as well ;) -- Luc Heinrich - lucsky at mac.com - http://www.honk-honk.com From EmailLists at SimonDorfman.com Sat Oct 9 11:15:16 2004 From: EmailLists at SimonDorfman.com (Simon Dorfman) Date: Sat, 09 Oct 2004 06:15:16 -0500 Subject: [TextMate] On folding. In-Reply-To: Message-ID: On 10/9/04 5:09 AM, "Hans Petter Eikemo" wrote: > Second, the present top and bottom widget icons are too > similar, making it hard to read a structure overview off the > document. It?s primary function is to show start or end of > the block, thus arrow direction must be the most visible > feature. I had a similar thought and sent my modified arrow icons before. I thought adding color to the arrows would make it clearer. I'll attach them to this email. Also attached is a screen shot of them vs the old icons. Feedback anyone? To install: 1. control-click on TextMate in the Finder and select "Show Package Contents" 2. double-click on "Contents" in the window that opens 3. double-click on "Resources" 4. copy my replacement pngs to this Resources folder. Accept the dialog to replace the existing pngs. Simon -------------- next part -------------- A non-text attachment was scrubbed... Name: replace_pngs_for_textmate.zip Type: application/octet-stream Size: 2072 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FoldingStopLightArrows.pdf Type: application/pdf Size: 14416 bytes Desc: not available URL: From hpeikemo at gmail.com Sat Oct 9 11:18:41 2004 From: hpeikemo at gmail.com (Hans Petter Eikemo) Date: Sat, 9 Oct 2004 13:18:41 +0200 Subject: [TextMate] TM BundleEditor In-Reply-To: <6C8FC57E-19E2-11D9-8E59-000A95AA6EF4@mac.com> References: <6C8FC57E-19E2-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: It looks nice, but for me, all i'd need is a syntax definition. On Sat, 9 Oct 2004 13:00:25 +0200, Luc Heinrich wrote: > Greetings, > > It seems like people are starting to go hog wild creating TM bundles, > so I have started a (currently very crude) bundle editor for TextMate > last night, which looks like this: > > > > > (note: this is not a Photoshop mockup, it's an actual screenshot of a > running Cocoa application ;) ). > > If you guys think that this kind of tool would be useful until Allan > and friends come up with an integrated bundle editor, let me know. > Allan and friends, if you have something like this up your sleeves that > you are ready to ship, like, in 2 weeks, let me know as well ;) > > -- > Luc Heinrich - lucsky at mac.com - http://www.honk-honk.com > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > > > > From hpeikemo at gmail.com Sat Oct 9 11:33:58 2004 From: hpeikemo at gmail.com (Hans Petter Eikemo) Date: Sat, 9 Oct 2004 13:33:58 +0200 Subject: [TextMate] Opening folders. Message-ID: I added an alias in my .tcshrc file to open files similar to the bbedit command line utility. (alias tm open -a TextMate) When trying it out, i figured i?d test opening folders using my new command. so typing "tm ." worked great! but unfortunately I was in my home folder: TextMate halted, loading some 20GB worth of files to my new project. And my point is is :) : There ought to be some handling of this situation (when dragging folders to the dock icon as well) either trough a warning, an option to add none-recursively, abort button in shelf etc. From ianp at ianp.org Sat Oct 9 12:29:49 2004 From: ianp at ianp.org (Ian Phillips) Date: Sat, 9 Oct 2004 13:29:49 +0100 Subject: [TextMate] [ANN] Mono Bundle Updated Message-ID: As well as jumping to the correct line in files when there's a compilation error, it now does the same with NAnt builds (for the csc task at least). Also included now: Selective builds: in your nant.build file highlight a target and it will be built, this uses the $TM_CURRENT_WORD variable, if nothing's selected it will try to build "all" as before. Build File syntax highlighting. Enjoy, Ian. #ifndef __COMMON_SENSE__ | Ian Phillips #include | http://ianp.org #endif From allan at macromates.com Sat Oct 9 12:36:40 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 14:36:40 +0200 Subject: [TextMate] ActionScript for TextMate In-Reply-To: <1911B166-19CF-11D9-BF55-003065A89FD6@xpt.com> References: <68905974041006015917146c57@mail.gmail.com> <1911B166-19CF-11D9-BF55-003065A89FD6@xpt.com> Message-ID: On 9. Oct 2004, at 10:42, Rob Bevan wrote: > This adds syntax colouring and a 'Test Movie in Flash' command, so you > can select a .fla file in your project and have it open and run in > Flash I'm assuming you're using $TM_FILEPATH for this? This is the file path of the file open in the editor. It sounds like I should introduce $TM_PROJECT_SELECTED_FILE(S) or similar for such type of actions? > [...] Unfortunately, at the moment, .fla files (and all other binary > files I guess) display as text, but you guys will fix that soon, yes? Yes, this will be fixed in 1.0.1, although I'm not entirely sure what the best fix is, there are (at least) 3 solutions: 1) only open files declared in the Info.plist disadvantage: what about .htaccess, .bashrc, etc. 2) give a regex for known good types disadvantages: similar to #1, but may be easier to change 3) give a regex for known bad types disadvantages: many files can still be opened as text, since this list can't be exhaustive > BTW, I'm not sure if anyone else has reported this (haven't had a > chance to go back through the hundreds of posts on this list!), but > double-clicking a bundle errors if the ~/Library/Application > Suppport/TextMate/Bundles directory doesn't exist (and there's a > spelling mistake in the error dialog: "An error occurred WHY copying > the bundle". Fixed that 20 minutes ago! :) Kind regards Allan From allan at macromates.com Sat Oct 9 12:50:34 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 14:50:34 +0200 Subject: [TextMate] TM BundleEditor In-Reply-To: <6C8FC57E-19E2-11D9-8E59-000A95AA6EF4@mac.com> References: <6C8FC57E-19E2-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: On 9. Oct 2004, at 13:00, Luc Heinrich wrote: > [...] Allan and friends, if you have something like this up your > sleeves that you are ready to ship, like, in 2 weeks, let me know as > well ;) No, this is currently item #43 or so on my to-do, so I'm thinking 1-2 months. So it's really cool you're doing this! Keep it up! :) And if you need any info from me, just ask! Kind regards Allan From allan at macromates.com Sat Oct 9 12:52:20 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 14:52:20 +0200 Subject: [TextMate] Opening folders. In-Reply-To: References: Message-ID: <0EFA0F5A-19F2-11D9-8F87-00039351BBEE@macromates.com> On 9. Oct 2004, at 13:33, Hans Petter Eikemo wrote: > And my point is is :) : There ought to be some handling of this > situation (when dragging folders to the dock icon as well) either > trough a warning, an option to add none-recursively, abort button in > shelf etc. Noted! Though, I'll do lazy-loading of folder contents in the future, so that it would only need to scan the current folder. Kind regards Allan From hpeikemo at gmail.com Sat Oct 9 12:53:16 2004 From: hpeikemo at gmail.com (Hans Petter Eikemo) Date: Sat, 9 Oct 2004 14:53:16 +0200 Subject: [TextMate] ActionScript for TextMate In-Reply-To: References: <68905974041006015917146c57@mail.gmail.com> <1911B166-19CF-11D9-BF55-003065A89FD6@xpt.com> Message-ID: >> [...] Unfortunately, at the moment, .fla files (and all other binary >> files I guess) display as text, but you guys will fix that soon, yes? > the best fix is, there are (at least) 3 solutions: > > 1) only open files declared in the Info.plist > disadvantage: what about .htaccess, .bashrc, etc. > 2) give a regex for known good types > disadvantages: similar to #1, but may be easier to change > 3) give a regex for known bad types > disadvantages: many files can still be opened as text, since this > list can't be exhaustive > is it not possible to do a file test operation, to check if it is binary? it could still show in the list, perhaps possible to view with external editor, and/or with "File appears to be binary, open anyway?" warning hp. From allan at macromates.com Sat Oct 9 13:00:06 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 15:00:06 +0200 Subject: [TextMate] ActionScript for TextMate In-Reply-To: References: <68905974041006015917146c57@mail.gmail.com> <1911B166-19CF-11D9-BF55-003065A89FD6@xpt.com> Message-ID: <2446A924-19F3-11D9-8F87-00039351BBEE@macromates.com> On 9. Oct 2004, at 14:53, Hans Petter Eikemo wrote: > is it not possible to do a file test operation, to check if it is > binary? At best only a heuristic. But mixed with encodings, I'm not sure how reliable this will be. > it could still show in the list, perhaps possible to view with external > editor, and/or with "File appears to be binary, open anyway?" warning For Rob's purpose, where he wants the files in the list, to be able to execute commands on these, it probably would be quite irritating with such a requester, each time he selects a .fla file. Kind regards Allan -- http://macromates.com/ ::: TextMate, OS X text editor http://macromates.com/sigpipe/ ::: Personal weblog about programming From allan at macromates.com Sat Oct 9 13:19:35 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 15:19:35 +0200 Subject: [TextMate] On folding. In-Reply-To: References: Message-ID: On 9. Oct 2004, at 12:09, Hans Petter Eikemo wrote: > First, the folding column needs to be rightmost in the gutter, > next to the text. Currently, when line numbering is active, > matching folding widget with line is harder than it could be. Okay, I've swapped them. But I think then we need some sort of visual separation between the columns (like you're also showing on your picture). > Second, the present top and bottom widget icons are too > similar, making it hard to read a structure overview off the > document. It?s primary function is to show start or end of > the block, thus arrow direction must be the most visible > feature. I liked Simon's idea about the traffic light coloring. But if anyone has suggestion for different shapes, which still look symmetric, I'm listening! > In addition i suggest a highlighting feature, allowing us to close > a fold(?) by clicking anywhere on a line between between > folding icons. A mouse over effect shows what parts will be affected. This sounds like a good idea, it's noted! > (note in the image I am experimenting with a x-code style top-bar as > well ;) It's really cool to see you guys do these mockups! Kind regards Allan From allan at macromates.com Sat Oct 9 13:36:29 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 15:36:29 +0200 Subject: [TextMate] Window mockups update In-Reply-To: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> References: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: <39BED788-19F8-11D9-8F87-00039351BBEE@macromates.com> On 9. Oct 2004, at 12:51, Luc Heinrich wrote: > I think it looks better than the bottom status bar, and it leaves room > (which was a valid concern) for possible additions, popups, buttons, > whatever. Certainly! I didn't like the bottom status bar you initially did (but I really like the other things you've done!), And I do seem to recall that somewhere in AHIG it says, that using the scroll bars for info (which had a special gadget in Classic) should be avoided when possible. > Thoughts ? I really like it! I hope to incorporate all your visual changes in 1.0.2 (1.0.1 will mostly be bug fixes and behavior fixes). > PS: question for the list moderators: what is the preferred method to > post screenshots on the list ? Attached pictures have to go through > moderator approval, which is obvious, so do you prefer URLs for > example ? For me it's most convenient to receive the mockups as inline images, but I don't know if the other list members like this, mostly it's a question of what bandwidth people have. Normally I think it's frowned upon to send large attachments to mailing lists. But OTOH we all love to look at nice images ;) Though David is currently setting up a wiki, I think then we should move much of this to the wiki (but then you'll have to host the images on your own site). Kind regards Allan From justin.french at indent.com.au Sat Oct 9 14:10:38 2004 From: justin.french at indent.com.au (Justin French) Date: Sun, 10 Oct 2004 00:10:38 +1000 Subject: [TextMate] Window mockups update In-Reply-To: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> References: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: On 09/10/2004, at 8:51 PM, Luc Heinrich wrote: > It looks even better in the project window because it makes a better > separation between the tabs and the editing pane: Those tabs need a little work... personally I'd like to see a direct emulation of either Safari's tabs, or of the OS X native "tabs"... anything else is just asking the user to familiarise themselves with yet another tab design... yes, they're pretty much the same, but not THE SAME :) Otherwise, I love your work Luc! I like smart interface people in general of course :) Justin French From allan at macromates.com Sat Oct 9 14:23:36 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 16:23:36 +0200 Subject: [TextMate] Window mockups update In-Reply-To: References: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: On 9. Oct 2004, at 16:10, Justin French wrote: >> It looks even better in the project window because it makes a better >> separation between the tabs and the editing pane: > Those tabs need a little work... personally I'd like to see a direct > emulation of either Safari's tabs, or of the OS X native "tabs"... > anything else is just asking the user to familiarise themselves with > yet another tab design... yes, they're pretty much the same, but not > THE SAME :) One thing to keep in mind is the dragability of tabs. I also intend to add animation to this later (and perhaps zoom/un-zoom when adding/deleting tabs). So the graphics should preferably allow a tag to be a separate item, i.e. one which can be torn out of the bar and stand on its own. Kind regards Allan From justin.french at indent.com.au Sat Oct 9 14:44:13 2004 From: justin.french at indent.com.au (Justin French) Date: Sun, 10 Oct 2004 00:44:13 +1000 Subject: [TextMate] Snippet, Command, Macro and Language Suggestions In-Reply-To: <73F73DD7-190C-11D9-83F9-000393C43A9E@jlaine.net> References: <97365ACE-1822-11D9-8481-000A9579CE3A@indent.com.au> <581E17AC-1897-11D9-B397-0003930D67D6@station11.net> <86879B7D-18CE-11D9-8481-000A9579CE3A@indent.com.au> <73F73DD7-190C-11D9-83F9-000393C43A9E@jlaine.net> Message-ID: On 08/10/2004, at 7:28 PM, Jarkko Laine wrote: > On 8.10.2004, at 05:05, Justin French wrote: >> >> It only works when you have text selected, otherwise, yes, it does >> the whole file... I'll see if we can do a check for a selected text. > > Justin, > > One quick fix would be to add alt-w to the beginning of the macro. If > there is a selection at hand, the command doesn't do anything (so the > selection keeps intact), but if there's no selection, it selects the > word you were typing. I think this is the behavior you'd want in 99% > of the cases and at least you'd get rid of the "select the whole file" > bug. > > I've used the trick in all of my macros (that it suits) and have had > no problems with it. Duly noted, and it's in 1.0.1 whenever that gets released :) Justin From hpeikemo at gmail.com Sat Oct 9 14:47:56 2004 From: hpeikemo at gmail.com (Hans Petter Eikemo) Date: Sat, 9 Oct 2004 16:47:56 +0200 Subject: [TextMate] Window mockups update In-Reply-To: References: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: > > One thing to keep in mind is the dragability of tabs. > That is an important point! Wondered if i had to write up on that, Think a close resemblance to Luc?s tabs, only "separated" as you say. Perhaps making it beveled on all four corners. Simple and effective. hp. From justin.french at indent.com.au Sat Oct 9 15:24:42 2004 From: justin.french at indent.com.au (Justin French) Date: Sun, 10 Oct 2004 01:24:42 +1000 Subject: [TextMate] feature request: code navigation In-Reply-To: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> Message-ID: <57C15442-1A07-11D9-B385-000A9579CE3A@indent.com.au> Tim, > I'd like the ability to jump to a tag/rule/id/class/function via a > pull-down menu. This comes in quite handy in long files. I missed that feature in the first few hours of TM, but then I found "Toggle Foldings at Level 1", which basically shrinks my PHP code or mark-up down to a level 1 outline, which is usually all I need to find what I want. Justin From stmpjmpr at gmail.com Sat Oct 9 17:58:42 2004 From: stmpjmpr at gmail.com (Scott Hill) Date: Sat, 9 Oct 2004 10:58:42 -0700 Subject: [TextMate] TextMate, Ruby and Rails In-Reply-To: <1BF44974-197C-11D9-B321-0003937402F2@glyf.org> References: <1BF44974-197C-11D9-B321-0003937402F2@glyf.org> Message-ID: In the video for Rails, there are obviously snippets and macros for Ruby. Is this built-in to TextMate, and I just don't see how to use them, or is this something to download separately? Or do I have to make my own? --Scott From merlin at merlinmann.com Sat Oct 9 18:10:37 2004 From: merlin at merlinmann.com (Merlin Mann) Date: Sat, 9 Oct 2004 11:10:37 -0700 Subject: [TextMate] Change concatenated file header? Message-ID: <8587B4B2-1A1E-11D9-9CDE-000A95A00004@merlinmann.com> I like that there's a per-file header added when you drop a bunch of files into a new txt doc. Where would I go to change the appearance and content of that header? tx, mm -- Merlin Mann 43Folders.com From blalor at bravo5.org Sat Oct 9 18:33:44 2004 From: blalor at bravo5.org (Brian Lalor) Date: Sat, 9 Oct 2004 13:33:44 -0500 Subject: [TextMate] Alternate Icon & updated Smarty Syntax file In-Reply-To: <027DC0B1-19AC-11D9-88CD-000393CE1C1E@spahr.org> References: <027DC0B1-19AC-11D9-88CD-000393CE1C1E@spahr.org> Message-ID: On Oct 8, 2004, at 11:30 PM, James Spahr wrote: > The icon may be used freely for non-commercial purposes. er, but TM's a commercial app... :-) -- __ ____ / / / __/ Brian Lalor / _ \/__ \ blalor at bravo5.org /_.__/____/ http://bravo5.org/ From cryo at diku.dk Sat Oct 9 18:34:49 2004 From: cryo at diku.dk (Sune Foldager) Date: Sat, 9 Oct 2004 20:34:49 +0200 Subject: [TextMate] Alternate Icon & updated Smarty Syntax file In-Reply-To: References: <027DC0B1-19AC-11D9-88CD-000393CE1C1E@spahr.org> Message-ID: On 9/10-2004, at 20:33, Brian Lalor wrote: > On Oct 8, 2004, at 11:30 PM, James Spahr wrote: >> The icon may be used freely for non-commercial purposes. > er, but TM's a commercial app... :-) Yeah... hehe, shareware, but still :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From textmate at 43folders.com Sat Oct 9 18:52:17 2004 From: textmate at 43folders.com (Merlin Mann) Date: Sat, 9 Oct 2004 11:52:17 -0700 Subject: [TextMate] Change concatenated file header? Message-ID: <577E486E-1A24-11D9-9CDE-000A95A00004@43folders.com> I like that there's a per-file header added when you drop a bunch of files into a new txt doc. Where would I go to change the appearance and content of that header? tx, mm -- Merlin Mann 43Folders.com From james at spahr.org Sat Oct 9 18:53:43 2004 From: james at spahr.org (James Spahr) Date: Sat, 9 Oct 2004 14:53:43 -0400 Subject: [TextMate] Alternate Icon & updated Smarty Syntax file In-Reply-To: References: <027DC0B1-19AC-11D9-88CD-000393CE1C1E@spahr.org> Message-ID: <8AFCF1DB-1A24-11D9-9A9F-000393CE1C1E@spahr.org> In other words, I'd rather not Macromates (or anyone else) use the icon themselves on a shipping commercial product without contacting me first. On Oct 9, 2004, at 2:33 PM, Brian Lalor wrote: > >> The icon may be used freely for non-commercial purposes. > > er, but TM's a commercial app... :-) James. From cryo at diku.dk Sat Oct 9 19:33:35 2004 From: cryo at diku.dk (Sune Foldager) Date: Sat, 9 Oct 2004 21:33:35 +0200 Subject: [TextMate] Change concatenated file header? In-Reply-To: <577E486E-1A24-11D9-9CDE-000A95A00004@43folders.com> References: <577E486E-1A24-11D9-9CDE-000A95A00004@43folders.com> Message-ID: <1CCB4FE4-1A2A-11D9-AE9E-000393D4B5C8@diku.dk> On 9/10-2004, at 20:52, Merlin Mann wrote: > I like that there's a per-file header added when you drop a bunch of > files into a new txt doc. > Where would I go to change the appearance and content of that header? My guess is that it is hardcoded, but I don't know for sure. Allan can answer that exactly when he comes home sometime later today (I think). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From david at loudthinking.com Sat Oct 9 20:22:45 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Sat, 9 Oct 2004 22:22:45 +0200 Subject: [TextMate] TextMate, Ruby and Rails In-Reply-To: References: <1BF44974-197C-11D9-B321-0003937402F2@glyf.org> Message-ID: > In the video for Rails, there are obviously snippets and macros for > Ruby. Is this built-in to TextMate, and I just don't see how to use > them, or is this something to download separately? Or do I have to > make my own? I'm sharing a preliminary version on http://www.loudthinking.com/share/Rails.tmbundle.zip I'll make a more polished version available soon. -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From allan at macromates.com Sat Oct 9 21:31:47 2004 From: allan at macromates.com (Allan Odgaard) Date: Sat, 9 Oct 2004 23:31:47 +0200 Subject: [TextMate] Change concatenated file header? In-Reply-To: <1CCB4FE4-1A2A-11D9-AE9E-000393D4B5C8@diku.dk> References: <577E486E-1A24-11D9-9CDE-000A95A00004@43folders.com> <1CCB4FE4-1A2A-11D9-AE9E-000393D4B5C8@diku.dk> Message-ID: <9F9F03B8-1A3A-11D9-9928-00039351BBEE@macromates.com> On 9. Oct 2004, at 21:33, Sune Foldager wrote: >> I like that there's a per-file header added when you drop a bunch of >> files into a new txt doc. Where would I go to change the appearance >> and content of that header? > My guess is that it is hardcoded, but I don't know for sure. Allan can > answer that exactly when he comes home sometime later today (I think). Yes, it's hardcoded. And I'm home before midnight on a saturday ;) Please let me know what you'd like to see and why. E.g. a string with variables like $TM_ENCODING, $TM_LINE_ENDINGS, $TM_FILENAME, etc. Kind regards Allan From infolists at gmail.com Sat Oct 9 22:24:45 2004 From: infolists at gmail.com (bongoman) Date: Sun, 10 Oct 2004 08:24:45 +1000 Subject: [TextMate] Updating TextMate? Message-ID: <8d5544d80410091524683d25d7@mail.gmail.com> As I slowly customise TextMate by altering the bundles in ~/Library/Application Support/TextMate, I'm wondering what happens when TextMate is updated with alterations to the default snippets, macros & commands? To get the benefit of such bundle updates am I going to have to manually edit my bundles in the above location to include the extras in the new bundles? Or do the bundles in the actual application package have effect to the extent that individual elements therein have not been overriden by anything in the user's Library/Application Support directory? I hope this question is clear... bongoman From infolists at gmail.com Sat Oct 9 22:27:07 2004 From: infolists at gmail.com (bongoman) Date: Sun, 10 Oct 2004 08:27:07 +1000 Subject: [TextMate] Working with selections and macros/commands? Message-ID: <8d5544d8041009152743188ed0@mail.gmail.com> Hi there Am wanting to create a macro or snippet to allow me to comment out a selection thus: /* commented selection */ But am a little unclear if this is via a macro or a snippet. Either way, I'm having trouble seting this up. Any clues appreciated... bongoman From cryo at diku.dk Sat Oct 9 22:29:49 2004 From: cryo at diku.dk (Sune Foldager) Date: Sun, 10 Oct 2004 00:29:49 +0200 Subject: [TextMate] Updating TextMate? In-Reply-To: <8d5544d80410091524683d25d7@mail.gmail.com> References: <8d5544d80410091524683d25d7@mail.gmail.com> Message-ID: On 10/10-2004, at 0:24, bongoman wrote: > As I slowly customise TextMate by altering the bundles in > ~/Library/Application Support/TextMate, I'm wondering what happens > when TextMate is updated with alterations to the default snippets, > macros & commands? > To get the benefit of such bundle updates am I going to have to > manually edit my bundles in the above location to include the extras > in the new bundles? Or do the bundles in the actual application > package have effect to the extent that individual elements therein > have not been overriden by anything in the user's Library/Application > Support directory? I am pretty sure that, at the moment, bundles override each other on a per-name basis, so new features won't automatically come in to play. I think that will change in the future though, but it is not clear what the prefered method would be. Any thoughts? -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From timfm at hawaii.rr.com Sat Oct 9 22:45:47 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Sat, 9 Oct 2004 12:45:47 -1000 Subject: [TextMate] Window mockups update In-Reply-To: References: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: I love all the mock-ups that have been submitted to address UI and usibility issues. Great stuff! From timfm at hawaii.rr.com Sat Oct 9 22:46:40 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Sat, 9 Oct 2004 12:46:40 -1000 Subject: [TextMate] Window mockups update In-Reply-To: References: <2DED3F97-19E1-11D9-8E59-000A95AA6EF4@mac.com> Message-ID: <1584A056-1A45-11D9-861D-000A95C0A620@hawaii.rr.com> On Oct 9, 2004, at 4:47 AM, Hans Petter Eikemo wrote: >> >> One thing to keep in mind is the dragability of tabs. Yes, this is a fantastic feature. Don't lose site of it when tweaking the tab visuals. From timfm at hawaii.rr.com Sat Oct 9 22:49:46 2004 From: timfm at hawaii.rr.com (Timothy Martens) Date: Sat, 9 Oct 2004 12:49:46 -1000 Subject: [TextMate] feature request: code navigation In-Reply-To: <57C15442-1A07-11D9-B385-000A9579CE3A@indent.com.au> References: <50D7FF8E-1919-11D9-BE1F-000A95C0A620@hawaii.rr.com> <57C15442-1A07-11D9-B385-000A9579CE3A@indent.com.au> Message-ID: <8477E4F1-1A45-11D9-861D-000A95C0A620@hawaii.rr.com> On Oct 9, 2004, at 5:24 AM, Justin French wrote: > Tim, > >> I'd like the ability to jump to a tag/rule/id/class/function via a >> pull-down menu. This comes in quite handy in long files. > > I missed that feature in the first few hours of TM, but then I found > "Toggle Foldings at Level 1", which basically shrinks my PHP code or > mark-up down to a level 1 outline, which is usually all I need to find > what I want. Hadn't noticed that yet Justin, I'll check it out. Check the other post on this thread -- someone made an excellent suggestion about how to improve on the code nave model, i.e., having it hot keyed as well as (the pull-down) being keyboard navigable. -t From extra at newcode.se Sat Oct 9 22:52:15 2004 From: extra at newcode.se (Carl-Johan Kihlbom) Date: Sun, 10 Oct 2004 00:52:15 +0200 Subject: [TextMate] Delay when switching to TextMate Message-ID: I'm experiencing a very annoying (and productivity destroying) delay everytime I switch to TextMate from another application. This happens when I have about 2 windows with ~30 files in each drawer. Only 2-3 open files in each window though. Has anyone else seen this? / Carl-Johan From textmate at 43folders.com Sat Oct 9 23:14:29 2004 From: textmate at 43folders.com (Merlin Mann) Date: Sat, 9 Oct 2004 16:14:29 -0700 Subject: [TextMate] picking two dialog box nits Message-ID: 1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel` button (works that way in most apps) 2. When the `Save` dialog box first comes up, I'd love it if _just_ the pre-suffix name were selected. So on a new, blank document, it would select "`untitled`" instead of all of "`untitled.txt`". Makes renaming a lot faster. (Is this the kind of thing that's appropriate here, or is there a Bugzilla type thing where we should be posting bugs, whines, and pony requests?) ;) -- Merlin Mann 43Folders.com From cryo at diku.dk Sat Oct 9 23:28:17 2004 From: cryo at diku.dk (Sune Foldager) Date: Sun, 10 Oct 2004 01:28:17 +0200 Subject: [TextMate] picking two dialog box nits In-Reply-To: References: Message-ID: On 10/10-2004, at 1:14, Merlin Mann wrote: > 1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel` > button (works that way in most apps) > 2. When the `Save` dialog box first comes up, I'd love it if _just_ > the pre-suffix name were selected. So on a new, blank document, it > would select "`untitled`" instead of all of "`untitled.txt`". Makes > renaming a lot faster. > > (Is this the kind of thing that's appropriate here, or is there a > Bugzilla type thing where we should be posting bugs, whines, and pony > requests?) ;) For now, it's fine here, and in fact the best place do to it :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From infolists at gmail.com Sat Oct 9 23:54:43 2004 From: infolists at gmail.com (bongoman) Date: Sun, 10 Oct 2004 09:54:43 +1000 Subject: [TextMate] Re: Working with selections and macros/commands? In-Reply-To: <8d5544d8041009152743188ed0@mail.gmail.com> References: <8d5544d8041009152743188ed0@mail.gmail.com> Message-ID: <8d5544d804100916546a7063b7@mail.gmail.com> Got it. It's a command. I now realise I can echo text back to replace selected text. Excellent. bongoman On Sun, 10 Oct 2004 08:27:07 +1000, bongoman wrote: > Hi there > > Am wanting to create a macro or snippet to allow me to comment out a > selection thus: > > /* commented selection */ > > But am a little unclear if this is via a macro or a snippet. Either > way, I'm having trouble seting this up. > > Any clues appreciated... > > bongoman > From jpinnix at pixelgrazer.com Sun Oct 10 00:25:23 2004 From: jpinnix at pixelgrazer.com (jeremy*pinnix) Date: Sat, 9 Oct 2004 19:25:23 -0500 Subject: [TextMate] picking two dialog box nits In-Reply-To: References: Message-ID: Re: #2 I actually would prefer it to stay the same as it currently is... allowing me to type the extension that I want. On Oct 9, 2004, at 6:14 PM, Merlin Mann wrote: > 1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel` > button (works that way in most apps) > 2. When the `Save` dialog box first comes up, I'd love it if _just_ > the pre-suffix name were selected. So on a new, blank document, it > would select "`untitled`" instead of all of "`untitled.txt`". Makes > renaming a lot faster. > > (Is this the kind of thing that's appropriate here, or is there a > Bugzilla type thing where we should be posting bugs, whines, and pony > requests?) ;) > > -- > Merlin Mann > 43Folders.com > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > > !DSPAM:41687458446717507819854! > From mike at mikeboutte.com Sun Oct 10 01:13:15 2004 From: mike at mikeboutte.com (=?ISO-8859-1?Q?Mike_Boutt=E9?=) Date: Sat, 9 Oct 2004 20:13:15 -0500 Subject: [TextMate] Viewing PHP output Message-ID: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> Hello - new b question: Is there a way to: 1 - route the preview browser through a local server that server side capabilities are displayed 2 - turn off display of code such as PHP that the browser currently interpets as text. Thanks _: thanks from __: mikeBoutt? mobile __: 615 969 9654 http __: mikeBoutt? dot Com [ http://www.mikeboutte.com ] email __: Mike at mikeBoutt? dot Com [ mike at mikeboutte.com ] aim __: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1790 bytes Desc: not available URL: From allan at macromates.com Sun Oct 10 03:06:57 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 05:06:57 +0200 Subject: [TextMate] Delay when switching to TextMate In-Reply-To: References: Message-ID: <72314ED0-1A69-11D9-AEAB-00039351BBEE@macromates.com> On 10. Oct 2004, at 0:52, Carl-Johan Kihlbom wrote: > I'm experiencing a very annoying (and productivity destroying) delay > everytime I switch to TextMate from another application. This happens > when I have about 2 windows with ~30 files in each drawer. Only 2-3 > open files in each window though. When re-activating TextMate it checks if contents of folder references have been changed -- this should be relatively quick, but I've heard some mention that it ain't on their network mounted drives. I'll try to improve this in the future, like using kqueue or lazy-checking. Also, the current version has some integrity-checking code which can be removed, this may also help. Kind regards Allan From infolists at gmail.com Sun Oct 10 03:07:21 2004 From: infolists at gmail.com (bongoman) Date: Sun, 10 Oct 2004 13:07:21 +1000 Subject: [TextMate] Re: Working with selections and macros/commands? In-Reply-To: <8d5544d804100916546a7063b7@mail.gmail.com> References: <8d5544d8041009152743188ed0@mail.gmail.com> <8d5544d804100916546a7063b7@mail.gmail.com> Message-ID: <8d5544d80410092007140f5b68@mail.gmail.com> Me again. Now I'm trying to create a command to comment out a single line thus: // commented line I'm not a shell scripter but am trying this: set oldLine = $TM_CURRENT_LINE set newLine = "// $oldLine" echo -n "$newLine" But no go. What I want to achieve is to comment out the current line, not a selected line. So wherever the caret is when I invoke the command gives me a commented single line. So whether this script is OK or not I'm a little stuck on what my input and output should be for such a command. Any clues appreciated. bongoman On Sun, 10 Oct 2004 09:54:43 +1000, bongoman wrote: > Got it. It's a command. I now realise I can echo text back to replace > selected text. Excellent. > > bongoman > > > > > On Sun, 10 Oct 2004 08:27:07 +1000, bongoman wrote: > > Hi there > > > > Am wanting to create a macro or snippet to allow me to comment out a > > selection thus: > > > > /* commented selection */ > > > > But am a little unclear if this is via a macro or a snippet. Either > > way, I'm having trouble seting this up. > > > > Any clues appreciated... > > > > bongoman > > > From allan at macromates.com Sun Oct 10 03:14:12 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 05:14:12 +0200 Subject: [TextMate] Re: Working with selections and macros/commands? In-Reply-To: <8d5544d804100916546a7063b7@mail.gmail.com> References: <8d5544d8041009152743188ed0@mail.gmail.com> <8d5544d804100916546a7063b7@mail.gmail.com> Message-ID: <75B6E610-1A6A-11D9-AEAB-00039351BBEE@macromates.com> On 10. Oct 2004, at 1:54, bongoman wrote: > Got it. It's a command. I now realise I can echo text back to replace > selected text. Excellent. Another possibility is recording a macro that uses regex search'n'replace with scope set to selection. This allows to check for conditions like the 'Selection as Anchor' which does: findString: ^(.*@.*\..*)|.*$ replaceString: $0 The find string matches an email as capture 1 _or_ it matches anything. The format string makes it into an anchor and _if_ there is a first capture, it prefixes $0 (the entire match) with mailto:, otherwise it uses .html as suffix. Kind regards Allan From allan at macromates.com Sun Oct 10 03:19:01 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 05:19:01 +0200 Subject: [TextMate] picking two dialog box nits In-Reply-To: References: Message-ID: <21D8ABDC-1A6B-11D9-AEAB-00039351BBEE@macromates.com> On 10. Oct 2004, at 1:14, Merlin Mann wrote: > 1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel` > button (works that way in most apps) So what should escape do? And which dialog box are you talking about? > (Is this the kind of thing that's appropriate here, or is there a > Bugzilla type thing where we should be posting bugs, whines, and pony > requests?) ;) David is laying last hand on our wiki, then feature requests and bug reports will go there. Kind regards Allan From allan at macromates.com Sun Oct 10 03:25:04 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 05:25:04 +0200 Subject: [TextMate] Re: Working with selections and macros/commands? In-Reply-To: <8d5544d80410092007140f5b68@mail.gmail.com> References: <8d5544d8041009152743188ed0@mail.gmail.com> <8d5544d804100916546a7063b7@mail.gmail.com> <8d5544d80410092007140f5b68@mail.gmail.com> Message-ID: On 10. Oct 2004, at 5:07, bongoman wrote: > But no go. What I want to achieve is to comment out the current line, > not a selected line. So wherever the caret is when I invoke the > command gives me a commented single line. Record it as a macro, do something like: start macro recording, select line, (option-l or Edit / Select / Line), Text / Filter Through Command: 'echo // $TM_CURRENT_LINE' arrow left (just to unselect), stop macro recording. As mentioned in the other email, you can also use regex-replace instead of shell-piping -- only a matter of personal preferences I guess ;) ind regards Allan From infolists at gmail.com Sun Oct 10 03:59:51 2004 From: infolists at gmail.com (bongoman) Date: Sun, 10 Oct 2004 13:59:51 +1000 Subject: [TextMate] Feature request: notification of keyboard shortcut duplication Message-ID: <8d5544d804100920596caf5388@mail.gmail.com> Hi there I'd love to see Textmate notify me if I attempt to set a keybinding that the application is already using. At present, I can enter the same keybinding twice (or more) without any notification. BBEdit alerts you if you attempt to do this and it is quite helpful. I'm guessing that if you do enter a shortcut that has already been taken, TextMate fails to then display it in the corresponding menu? bongoman From allan at macromates.com Sun Oct 10 04:13:49 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 06:13:49 +0200 Subject: [TextMate] Feature request: notification of keyboard shortcut duplication In-Reply-To: <8d5544d804100920596caf5388@mail.gmail.com> References: <8d5544d804100920596caf5388@mail.gmail.com> Message-ID: On 10. Oct 2004, at 5:59, bongoman wrote: > I'm guessing that if you do enter a shortcut that has already been > taken, TextMate fails to then display it in the corresponding menu? Yes, this is currently a Cocoa limitation. The ability to use the same key equivalent multiple times as actually a feature. If you assign e.g. F5 to multiple macros, you'll get a menu when you press F5 (allowing you to choose which of the macros you want). This behavior is so far only for macros, but it should be extended to customize everything which allows for a key binding. In the future I may also make an 'inspector' sort of thing, to see what keys bind to, or at least some sort of centralized key bindings editor. Kind regards Allan From merlin at merlinmann.com Sun Oct 10 04:11:12 2004 From: merlin at merlinmann.com (Merlin Mann) Date: Sat, 9 Oct 2004 21:11:12 -0700 Subject: [TextMate] picking two dialog box nits In-Reply-To: <20041010032516.3976E1203@one.textdrive.com> References: <20041010032516.3976E1203@one.textdrive.com> Message-ID: <6BBCF9BA-1A72-11D9-B6F3-000A95A00004@merlinmann.com> On Oct 9, 2004, at 8:25 PM, Alan wrote: > So what should escape do? And which dialog box are you talking about? I'd like the escape key to map to the cancel button. Referring here to the save dialog box; excape/cancel in the open box works fine. :) From allan at macromates.com Sun Oct 10 04:17:05 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 06:17:05 +0200 Subject: [TextMate] picking two dialog box nits In-Reply-To: <6BBCF9BA-1A72-11D9-B6F3-000A95A00004@merlinmann.com> References: <20041010032516.3976E1203@one.textdrive.com> <6BBCF9BA-1A72-11D9-B6F3-000A95A00004@merlinmann.com> Message-ID: <3E88D658-1A73-11D9-AEAB-00039351BBEE@macromates.com> On 10. Oct 2004, at 6:11, Merlin Mann wrote: >> So what should escape do? And which dialog box are you talking about? > I'd like the escape key to map to the cancel button. Referring here to > the save dialog box; excape/cancel in the open box works fine. :) Escape does close the save dialog for me. Kind regards Allan From allan at macromates.com Sun Oct 10 05:29:21 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 07:29:21 +0200 Subject: [TextMate] Current date in file templates In-Reply-To: References: <9E3C91E0-186D-11D9-990E-000393831446@mindspring.com> <8CAB7779-18C9-11D9-AE25-00039351BBEE@macromates.com> Message-ID: <56B2C9B0-1A7D-11D9-AEAB-00039351BBEE@macromates.com> On 9. Oct 2004, at 22:34, Isaac Rivera wrote: > I came up with a pretty decent syntax file mysefl. Okay, Rob also did some ActionScript support: http://one.textdrive.com/pipermail/textmate/2004-October/000422.html > Trying to do a class template and have gotten most of it. > > Can you tell me how to have the perl script input the date in the > template file? > > Its not one of the shell variables, I know, but maybe its accessible > to the script. These questions really belong on the ML, so I'm cc'ing the list :) You can add your own variables to the environment by changing the command in the Info.plist, for example here I setup TM_DATE to be YYYY-MM-DD: { name = "Date Test"; extension = "txt"; command = "[ -f $TM_NEW_FILE ] || TM_DATE=`date +%Y-%m-%d` perl -pe 's/\\$\\{([^}]*)\\}/$ENV{$1}/g' \"$TM_NEW_FILE\""; } So it's basically just 'var=value' before the perl command (you can set multiple variables). And the back-ticks (`) means that it's a command to execute, so TM_DATE is set to the result of running date +%Y-%m-%d. All this is of course related to bash and not really TextMate. Another neat one is the full user name which we can get with niutil, here's an example: command = "[ -f $TM_NEW_FILE ] || TM_DATE=`date +%Y-%m-%d` TM_USERNAME=`niutil -readprop / /users/\\$USER realname` perl -pe 's/\\$\\{([^}]*)\\}/$ENV{$1}/g' \"$TM_NEW_FILE\""; One important note: the commands above are prefixed with '[ -f $TM_NEW_FILE ] || '. This is to check if the file already exists, and if so, it won't do the "or" branch (i.e. overwrite it). I really should have added this to the default templates! I'll be adding it to all templates shipping with 1.0.1 -- if you create your own templates, please add it to avoid templates from overwriting files! The reason TextMate doesn't perform this check is, that the template could generate multiple files, or not generate TM_NEW_FILE at al. Also, remember that you're not limited to using perl as command. You can write your templates in e.g. PHP and use php as the command to generate them. Kind regards Allan From raena at raena.net Sun Oct 10 07:24:21 2004 From: raena at raena.net (Raena Armitage) Date: Sun, 10 Oct 2004 18:24:21 +1100 Subject: [TextMate] Viewing PHP output In-Reply-To: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> References: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> Message-ID: <67C5076C-1A8D-11D9-9882-000A957EC92C@raena.net> On 10/10/2004, at 12:13 PM, Mike Boutt? wrote: > Hello - new b question: > > Is there a way to: > 1 - route the preview browser through a local server that server side > capabilities are displayed > 2 - turn off display of code such as PHP that the browser currently > interpets as text. You'll probably get the best results by enabling PHP on your Mac. There's an easy installer and instructions on doing so here: From justin.french at indent.com.au Sun Oct 10 10:25:28 2004 From: justin.french at indent.com.au (Justin French) Date: Sun, 10 Oct 2004 20:25:28 +1000 Subject: [TextMate] Viewing PHP output In-Reply-To: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> References: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> Message-ID: On 10/10/2004, at 11:13 AM, Mike Boutt? wrote: > Hello - new b question: > > Is there a way to: > 1 - route the preview browser through a local server that server side > capabilities are displayed > 2 - turn off display of code such as PHP that the browser currently > interpets as text. Mike, Instead of the web preview, use Safari, and use the "Reload in Safari" command in the commands menu (it will be renamed "Refresh Safari" in 1.0.1), which we assigned to Command-R. Here's a basic workflow for me... 1. Open up a project in TM 2. Open up a local copy of the website project in Safari (eg http://clientname.localhost/blah.php) 3. Do some work in TM 4. Hit Command-R in TM (switches to Safari and refreshes the front window) 5. Check out the results 6. Hit Command-Tab to switch back to TM Eventually, TM's preview will be able to "listen" to URLs, I hear :) Justin From hpeikemo at gmail.com Sun Oct 10 10:38:03 2004 From: hpeikemo at gmail.com (Hans Petter Eikemo) Date: Sun, 10 Oct 2004 12:38:03 +0200 Subject: [TextMate] Updating TextMate? In-Reply-To: References: <8d5544d80410091524683d25d7@mail.gmail.com> Message-ID: > > I am pretty sure that, at the moment, bundles override each other on a > per-name basis, so new features won't automatically come in to play. I > think that will change in the future though, but it is not clear what > the prefered method would be. Any thoughts? > Cascading syntax definitions could be quite useful, but comes with added complexity; cascading and precedence becomes usability issues, and must be added with care. sadly, I can?t think of any viable solution at this point. :) From allan at macromates.com Sun Oct 10 11:12:56 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 13:12:56 +0200 Subject: [TextMate] Viewing PHP output In-Reply-To: References: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> Message-ID: <562A7192-1AAD-11D9-AEAB-00039351BBEE@macromates.com> On 10. Oct 2004, at 12:25, Justin French wrote: > Instead of the web preview, use Safari, and use the "Reload in Safari" > command in the commands menu (it will be renamed "Refresh Safari" in > 1.0.1), which we assigned to Command-R. Also, I think justin wanted to put a default command like this in 1.0.1: open `echo $TM_FILEPATH | sed "s|/Users/$USER/Sites/\(.*\)|http://localhost/~$USER/\1|"` What it does is take the current file path and change the /Users//Sites/ portion into http://localhost/~/ and opens it with 'open' (so it should show in your default browser). Kind regards Allan From infolists at gmail.com Sun Oct 10 11:18:50 2004 From: infolists at gmail.com (bongoman) Date: Sun, 10 Oct 2004 21:18:50 +1000 Subject: [TextMate] Updating TextMate? In-Reply-To: References: <8d5544d80410091524683d25d7@mail.gmail.com> Message-ID: <8d5544d804101004184bc6b6da@mail.gmail.com> On Sun, 10 Oct 2004 12:38:03 +0200, Hans Petter Eikemo wrote: > sadly, I can?t think of any viable solution at this point. :) I'm not really looking forward to having to update my ~/Library/Application Support TM bundles with any new stuff from the application package bundles for each & every point release of Textmate and yet that's what it seems we'll have to do. bongoman From allan at macromates.com Sun Oct 10 11:28:23 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 13:28:23 +0200 Subject: [TextMate] Updating TextMate? In-Reply-To: <8d5544d804101004184bc6b6da@mail.gmail.com> References: <8d5544d80410091524683d25d7@mail.gmail.com> <8d5544d804101004184bc6b6da@mail.gmail.com> Message-ID: <7F02DAE7-1AAF-11D9-AEAB-00039351BBEE@macromates.com> On 10. Oct 2004, at 13:18, bongoman wrote: >> sadly, I can?t think of any viable solution at this point. :) > I'm not really looking forward to having to update my > ~/Library/Application Support TM bundles with any new stuff from the > application package bundles for each & every point release of Textmate > and yet that's what it seems we'll have to do. I don't think it's as bad as you predict. It's not like you'll make a copy of all default bundles, change a lot of things, and then we'll likewise change a lot of things in the default for the next release, and somehow you want our changes and keep your own as well!?! I think I'm convinced that I'll separate styles from rules _before_ I do the syntax-makeover, so hopefully that should soon cure the need for having "normal users" modify the syntaxes (to change the visuals). Also, if you have e.g. a default HTML bundle and you make a local HTML bundle, it'll overshadow the default stuff on a per directory-basis. So if you only make macros in your local copy, it'll only be the macros directory you'll need to update if you want some of the new defaults. Kind regards Allan From extra at newcode.se Sun Oct 10 12:32:12 2004 From: extra at newcode.se (Carl-Johan Kihlbom) Date: Sun, 10 Oct 2004 14:32:12 +0200 Subject: [TextMate] Delay when switching to TextMate In-Reply-To: <72314ED0-1A69-11D9-AEAB-00039351BBEE@macromates.com> References: <72314ED0-1A69-11D9-AEAB-00039351BBEE@macromates.com> Message-ID: <693C7EF2-1AB8-11D9-8214-000D93C0F862@newcode.se> On Oct 10, 2004, at 05:06, Allan Odgaard wrote: > On 10. Oct 2004, at 0:52, Carl-Johan Kihlbom wrote: > >> I'm experiencing a very annoying (and productivity destroying) delay >> everytime I switch to TextMate from another application. This happens >> when I have about 2 windows with ~30 files in each drawer. Only 2-3 >> open files in each window though. > > When re-activating TextMate it checks if contents of folder references > have been changed -- this should be relatively quick, but I've heard > some mention that it ain't on their network mounted drives. > > I'll try to improve this in the future, like using kqueue or > lazy-checking. Also, the current version has some integrity-checking > code which can be removed, this may also help. Ah, yes. I forgot to mention that the open folders were on an AFP mounted volume. It would be useful if this checking was in a separate thread, so that it doesn't block me from editing the open document. / Carl-Johan From david at loudthinking.com Sun Oct 10 12:46:57 2004 From: david at loudthinking.com (David Heinemeier Hansson) Date: Sun, 10 Oct 2004 14:46:57 +0200 Subject: [TextMate] Annoncing the official TextMate wiki Message-ID: <78B1E92C-1ABA-11D9-AF48-000D932CD5BA@loudthinking.com> Thanks to both Ian and Phillip for kicking us into gear about doing something to track both bundles and other end-user innovation points. We've now put up the official wiki at: http://wiki.macromates.com/textmate/ It's of course free to edit for all, so please do add pointers to more bundles, improve on those that are, and otherwise take advantage of the shared space. Enjoy! -- David Heinemeier Hansson, http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.instiki.org/ -- A No-Step-Three Wiki in Ruby http://macromates.com/ -- TextMate: Code and markup editor for OS X http://www.basecamphq.com/ -- Web-based Project Management http://www.loudthinking.com/ -- Broadcasting Brain http://www.nextangle.com/ -- Development & Consulting Services From cryo at diku.dk Sun Oct 10 13:17:35 2004 From: cryo at diku.dk (Sune Foldager) Date: Sun, 10 Oct 2004 15:17:35 +0200 Subject: [TextMate] Annoncing the official TextMate wiki In-Reply-To: <78B1E92C-1ABA-11D9-AF48-000D932CD5BA@loudthinking.com> References: <78B1E92C-1ABA-11D9-AF48-000D932CD5BA@loudthinking.com> Message-ID: Annunciation, not annonciation David! ..how many TM users are we gonna lose now because of your grave spelling errors? ;-). -- Sune -- #1 on least-important-posts-I-have-made-to-this-list :-p... "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From jarkko at jlaine.net Sun Oct 10 13:20:40 2004 From: jarkko at jlaine.net (Jarkko Laine) Date: Sun, 10 Oct 2004 16:20:40 +0300 Subject: [TextMate] Annoncing the official TextMate wiki In-Reply-To: References: <78B1E92C-1ABA-11D9-AF48-000D932CD5BA@loudthinking.com> Message-ID: <2E83C2E2-1ABF-11D9-83F9-000393C43A9E@jlaine.net> On 10.10.2004, at 16:17, Sune Foldager wrote: > Annunciation, not annonciation David! ..how many TM users are we > gonna lose now because of your grave spelling errors? ;-). Err...announcing, right? http://www.m-w.com/cgi-bin/dictionary?va=announce ;-) Jarkko > -- > Sune -- #1 on least-important-posts-I-have-made-to-this-list :-p... > "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" > http://cyanite.org -- Content follows ;-). > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > -- Jarkko Laine http://jlaine.net From cryo at diku.dk Sun Oct 10 13:25:45 2004 From: cryo at diku.dk (Sune Foldager) Date: Sun, 10 Oct 2004 15:25:45 +0200 Subject: [TextMate] Annoncing the official TextMate wiki In-Reply-To: <2E83C2E2-1ABF-11D9-83F9-000393C43A9E@jlaine.net> References: <78B1E92C-1ABA-11D9-AF48-000D932CD5BA@loudthinking.com> <2E83C2E2-1ABF-11D9-83F9-000393C43A9E@jlaine.net> Message-ID: On 10/10-2004, at 15:20, Jarkko Laine wrote: > On 10.10.2004, at 16:17, Sune Foldager wrote: >> Annunciation, not annonciation David! ..how many TM users are we >> gonna lose now because of your grave spelling errors? ;-). > Err...announcing, right? > http://www.m-w.com/cgi-bin/dictionary?va=announce Yes... announcing. annunciation is the corrosponding noun (=announcement). If the original word had been annoncing, I guess the noun would be annonciation sooo... :-p. ..wow, this could be the start of something grand! -- Sune -- #2 on the aforementioned list. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From jarkko at jlaine.net Sun Oct 10 13:31:23 2004 From: jarkko at jlaine.net (Jarkko Laine) Date: Sun, 10 Oct 2004 16:31:23 +0300 Subject: [TextMate] Annoncing the official TextMate wiki In-Reply-To: References: <78B1E92C-1ABA-11D9-AF48-000D932CD5BA@loudthinking.com> <2E83C2E2-1ABF-11D9-83F9-000393C43A9E@jlaine.net> Message-ID: On 10.10.2004, at 16:25, Sune Foldager wrote: >> > Yes... announcing. annunciation is the corrosponding noun > (=announcement). Right. And I need sleep 8-\ > If the original word had been annoncing, I guess the noun would be > annonciation sooo... :-p. ..wow, this could be the start of something > grand! Definitely. Can't wait to see this starting to live its own life... //jarkko -- Jarkko Laine http://jlaine.net From mike at mikeboutte.com Sun Oct 10 15:16:49 2004 From: mike at mikeboutte.com (=?ISO-8859-1?Q?Mike_Boutt=E9?=) Date: Sun, 10 Oct 2004 10:16:49 -0500 Subject: [TextMate] Viewing PHP output In-Reply-To: <562A7192-1AAD-11D9-AEAB-00039351BBEE@macromates.com> References: <8FC54EF0-1A59-11D9-A7B1-003065F58BD2@mikeboutte.com> <562A7192-1AAD-11D9-AEAB-00039351BBEE@macromates.com> Message-ID: <687CA681-1ACF-11D9-A2D1-003065F58BD2@mikeboutte.com> Gotcha, thanks. Looking forward to that feature. _: thanks from __: mikeBoutt? mobile __: 615 969 9654 http __: mikeBoutt? dot Com [ http://www.mikeboutte.com ] email __: Mike at mikeBoutt? dot Com [ mike at mikeboutte.com ] aim __: mrbigbooties [ aim://AddBuddy?ScreenName=mrbigbooties ] On Oct 10, 2004, at 6.12am, Allan Odgaard wrote: > On 10. Oct 2004, at 12:25, Justin French wrote: > >> Instead of the web preview, use Safari, and use the "Reload in >> Safari" command in the commands menu (it will be renamed "Refresh >> Safari" in 1.0.1), which we assigned to Command-R. > > Also, I think justin wanted to put a default command like this in > 1.0.1: > open `echo $TM_FILEPATH | sed > "s|/Users/$USER/Sites/\(.*\)|http://localhost/~$USER/\1|"` > > What it does is take the current file path and change the > /Users//Sites/ portion into http://localhost/~/ > and opens it with 'open' (so it should show in your default browser). > > > > Kind regards Allan > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2475 bytes Desc: not available URL: From phil at hinkty.com Sun Oct 10 19:30:03 2004 From: phil at hinkty.com (Phil Aaronson) Date: Sun, 10 Oct 2004 12:30:03 -0700 Subject: [TextMate] Project file drawer Message-ID: Hi All, I seem to be locked in a battle of wills with the project file drawer (for lack of a better name). I remove references to sub-directories and files, and well, the file drawer puts them back in. Repeat. Repeat. Swear, and give round one to TextMate. Anyone else battling with the drawer? I got into this test of wills by dragging and dropping a directory tree that looked like: YYYY/MM and then removing references to a few YYYY/MM/img directories and the occasional pdf file. Well, "removing" them very temporarily :) Thanks, Phil From allan at macromates.com Sun Oct 10 20:55:09 2004 From: allan at macromates.com (Allan Odgaard) Date: Sun, 10 Oct 2004 22:55:09 +0200 Subject: [TextMate] Project file drawer In-Reply-To: References: Message-ID: On 10. Oct 2004, at 21:30, Phil Aaronson wrote: > I got into this test of wills by dragging and dropping a directory > tree that looked like: > YYYY/MM and then removing references to a few YYYY/MM/img directories > and the occasional pdf file. Well, "removing" them very temporarily :) Yes, it'll currently 'refresh' automatically. The current way to 'remove' items from folder references is using the file/folder patterns which you can by clicking the I icon in the project drawer. In a later release I may add support for removing items in the more intuitive way :) Kind regards Allan From lists at bebop.net Sun Oct 10 21:35:22 2004 From: lists at bebop.net (Jeff Ganyard) Date: Sun, 10 Oct 2004 14:35:22 -0700 Subject: [TextMate] picking two dialog box nits In-Reply-To: <21D8ABDC-1A6B-11D9-AEAB-00039351BBEE@macromates.com> References: <21D8ABDC-1A6B-11D9-AEAB-00039351BBEE@macromates.com> Message-ID: <4A73530A-1B04-11D9-9207-000A95A6A366@bebop.net> >> 1. For me, hitting `ESC` in a dialog box is not invoking the `Cancel` >> button (works that way in most apps) > > So what should escape do? And which dialog box are you talking about? I'm not sure what dialog is referred to but 'Cancel' should be the alternateButton. From phil at hinkty.com Sun Oct 10 21:43:35 2004 From: phil at hinkty.com (Phil Aaronson) Date: Sun, 10 Oct 2004 14:43:35 -0700 Subject: [TextMate] Project file drawer In-Reply-To: References: Message-ID: <7028BF96-1B05-11D9-B14D-000D935044AC@hinkty.com> Allan, Unfortunately the battle continues. So I tried removing the reference to the pdf files and img directories via the "gear" icon at the bottom of the drawer (pull down to "Remove Selected Files"). But they were refreshed back into the drawer in short order (as they were when hitting delete before). Then I tried removing them via the "i" icon in the drawer, but ... but ... I'm not seeing how exactly? I think I'm missing something obvious :) Phil On Oct 10, 2004, at 1:55 PM, Allan Odgaard wrote: > On 10. Oct 2004, at 21:30, Phil Aaronson wrote: > >> I got into this test of wills by dragging and dropping a directory >> tree that looked like: >> YYYY/MM and then removing references to a few YYYY/MM/img directories >> and the occasional pdf file. Well, "removing" them very temporarily >> :) > > Yes, it'll currently 'refresh' automatically. The current way to > 'remove' items from folder references is using the file/folder > patterns which you can by clicking the I icon in the project drawer. > > In a later release I may add support for removing items in the more > intuitive way :) From cryo at diku.dk Sun Oct 10 21:50:51 2004 From: cryo at diku.dk (Sune Foldager) Date: Sun, 10 Oct 2004 23:50:51 +0200 Subject: [TextMate] Project file drawer In-Reply-To: <7028BF96-1B05-11D9-B14D-000D935044AC@hinkty.com> References: <7028BF96-1B05-11D9-B14D-000D935044AC@hinkty.com> Message-ID: <73D72990-1B06-11D9-BAFC-000393D4B5C8@diku.dk> On 10/10-2004, at 23:43, Phil Aaronson wrote: > Unfortunately the battle continues. So I tried removing the reference > to the pdf files and img directories via the "gear" icon at the bottom > of the drawer (pull down to "Remove Selected Files"). But they were > refreshed back into the drawer in short order (as they were when > hitting delete before). Then I tried removing them via the "i" icon in > the drawer, but ... but ... I'm not seeing how exactly? I think I'm > missing something obvious :) Highlight the folder and press the information-icon to edit the inclusion patterns (no, cmd-i doesn't work for now. Cocoa limitation). This will not exactly allow you to remove individual files, but you should be able to create a pattern to exclude the ones you need :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From cryo at diku.dk Sun Oct 10 21:54:34 2004 From: cryo at diku.dk (Sune Foldager) Date: Sun, 10 Oct 2004 23:54:34 +0200 Subject: [TextMate] TextMate 1.0.1b1 available! Message-ID: There is a beta version of the upcoming 1.0.1 release with several bug fixes and small feature inclusions. Normaly, TextMate doesn't check for beta versions with the automatic version check system, but if you wish to have it do so you can type the following in your favorite shell: defaults write com.macromates.textmate OakCheckForBetaVersions 1 ..and 0 to disable beta check again of course. When starting TextMate the first time after download, a window with release notes will automatically open to show you the latest changes additions and bug fixes. Have fun :-). PS: If you for some reason can't get the beta version from within TextMate, the URL is: http://macromates.com/textmate/files/TextMate_1.0.1b1.dmg -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From phil at hinkty.com Sun Oct 10 22:13:32 2004 From: phil at hinkty.com (Phil Aaronson) Date: Sun, 10 Oct 2004 15:13:32 -0700 Subject: [TextMate] Project file drawer In-Reply-To: <73D72990-1B06-11D9-BAFC-000393D4B5C8@diku.dk> References: <7028BF96-1B05-11D9-B14D-000D935044AC@hinkty.com> <73D72990-1B06-11D9-BAFC-000393D4B5C8@diku.dk> Message-ID: <9F34F77E-1B09-11D9-B14D-000D935044AC@hinkty.com> Ah, got it. Shoot, that doesn't work either. Well, it worked great just as long as I had TextMate up. If I quit out and restarted all the changes to the patterns are removed. Is there a way to make these changes permanent? I apologize for my daftness. Thanks, Phil On Oct 10, 2004, at 2:50 PM, Sune Foldager wrote: > On 10/10-2004, at 23:43, Phil Aaronson wrote: > >> Unfortunately the battle continues. So I tried removing the reference >> to the pdf files and img directories via the "gear" icon at the >> bottom of the drawer (pull down to "Remove Selected Files"). But they >> were refreshed back into the drawer in short order (as they were when >> hitting delete before). Then I tried removing them via the "i" icon >> in the drawer, but ... but ... I'm not seeing how exactly? I think >> I'm missing something obvious :) > > Highlight the folder and press the information-icon to edit the > inclusion patterns (no, cmd-i doesn't work for now. Cocoa limitation). > This will not exactly allow you to remove individual files, but you > should be able to create a pattern to exclude the ones you need :-). > > -- > Sune. > "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" > http://cyanite.org -- Content follows ;-). > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/mailman/listinfo/textmate > From cryo at diku.dk Sun Oct 10 22:15:25 2004 From: cryo at diku.dk (Sune Foldager) Date: Mon, 11 Oct 2004 00:15:25 +0200 Subject: [TextMate] Project file drawer In-Reply-To: <9F34F77E-1B09-11D9-B14D-000D935044AC@hinkty.com> References: <7028BF96-1B05-11D9-B14D-000D935044AC@hinkty.com> <73D72990-1B06-11D9-BAFC-000393D4B5C8@diku.dk> <9F34F77E-1B09-11D9-B14D-000D935044AC@hinkty.com> Message-ID: On 11/10-2004, at 0:13, Phil Aaronson wrote: > Ah, got it. Shoot, that doesn't work either. Well, it worked great > just as long as I had TextMate up. If I quit out and restarted all the > changes to the patterns are removed. Is there a way to make these > changes permanent? > I apologize for my daftness. Hehe no worries... I must admit though that I don't know the details on this... but maybe someone else knows :-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From vincent.isambart at laposte.net Sun Oct 10 22:59:23 2004 From: vincent.isambart at laposte.net (Vincent Isambart) Date: Mon, 11 Oct 2004 00:59:23 +0200 Subject: [TextMate] TextMate 1.0.1b1 available! In-Reply-To: References: Message-ID: <06F2D2B5-1B10-11D9-B474-000A95A8DBC8@laposte.net> Hi, Just tried 1.0.1b1 and there is a little problem with non-fixed size characters, when I choose a non-fixed size font or when I use big characters (like Japanese characters). As pictures are always better than words, just look at the attached image. What is selected is the end of the line. And the text goes way after the end of the window, without any scrollbar. There is the same problem with proportional fonts. Yes, it looks better than in 1.0 but not being able to see what is selected is really not great. In 1.0, the characters were overlapping but at least we could see what is selected. As the double-size CJK characters are certainly not for 1.0.1, I think the 1.0 behavior of "every character will be drawn with the same width" was better. And it's also true with proportional fonts. But it's just my 2 cents. The 1234567890 is just so that you can see that the Japanese characters do not have the same width than roman characters. The font is Monaco 10 (but for the Japanese characters, I think a fallback font is used). -------------- next part -------------- A non-text attachment was scrubbed... Name: font-bug.png Type: image/png Size: 72709 bytes Desc: not available URL: -------------- next part -------------- Just 2 other stupid things: - it's great to have thanks in the release notes ^o^ - I just bought my TextMate license to support the development ^o^. Go Allan, go! Make of TextMate the best editor on Earth ;o). And tell us when you have your new G5 ;o) Cheers, Vincent Isambart From cryo at diku.dk Mon Oct 11 00:40:18 2004 From: cryo at diku.dk (Sune Foldager) Date: Mon, 11 Oct 2004 02:40:18 +0200 Subject: [TextMate] TextMate 1.0.1b1 available! In-Reply-To: <06F2D2B5-1B10-11D9-B474-000A95A8DBC8@laposte.net> References: <06F2D2B5-1B10-11D9-B474-000A95A8DBC8@laposte.net> Message-ID: <1FEFCE0C-1B1E-11D9-BAFC-000393D4B5C8@diku.dk> Yes, there appears to be various problems with a change in the rendering code. The idea was to try to make ATSUI switch from fractional to intergral coordinates but.... I guess it needs a little more work ;-). -- Sune. "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn" http://cyanite.org -- Content follows ;-). From ifanpan at gmail.com Mon Oct 11 01:18:51 2004 From: ifanpan at gmail.com (Ivan Pan) Date: Sun, 10 Oct 2004 20:18:51 -0500 Subject: [TextMate] Code Folding Message-ID: <65858840410101818684f56cf@mail.gmail.com> Hi TextMate Users, Consider the following codes:
...
  • ...
  • ...
    When I try to fold the codes by clicking on
    , it only folds to . To fold to
    , I have to fold
  • and then fold
    . Is there anyway around that? ip -- "If you ever find yourself on the side of the majority, it is time to pause, and reflect. -- Mark Twain From chris at cjack.com Mon Oct 11 02:47:30 2004 From: chris at cjack.com (Chris Thomas) Date: Sun, 10 Oct 2004 19:47:30 -0700 Subject: [TextMate] [ANN] C and Unix bundles Message-ID: Update of my previous C/C++/Objective-C bundle update. * Correct C99 keywords and C++ ISO 646 keywords. * Correct?handling of whitespace around?preprocessor keywords. * The makefile syntax module now lives in a new Unix bundle, which also contains both a?generic shell script syntax and an "old-style" plist syntax. Share and Enjoy, Chris From jpinnix at pixelgrazer.com Mon Oct 11 02:58:56 2004 From: jpinnix at pixelgrazer.com (jeremy*pinnix) Date: Sun, 10 Oct 2004 21:58:56 -0500 Subject: [TextMate] CSS not folding Message-ID: <7DF9AAE8-1B31-11D9-8FB5-00039398A53E@pixelgrazer.com> It seems that folding isn't working in CSS documents. I'm using 1.01b1, but didn't try folding in 1.0 so I don't know if this new or not. There are down arrows next to each selector, but never any up arrows... From allan at macromates.com Mon Oct 11 05:00:02 2004 From: allan at macromates.com (Allan Odgaard) Date: Mon, 11 Oct 2004 07:00:02 +0200 Subject: [TextMate] Re: Behavior menu undocumented In-Reply-To: References: Message-ID: <68D7AC2C-1B42-11D9-951A-00039351BBEE@macromates.com> On 11. Oct 2004, at 2:02, Aaron Swartz wrote: > The Behavior menu appears to be entirely undocumented. What do its > menu items do? Would be nice if such questions where sent to the mailing list! :) Freehanded edit: allow cursor to be moved past end-of-line Overwrite mode: overwrite instead of insert typed characters Smart typing: insert ), }, ", etc. when typing (, {, ", etc. Tab emulation: use spaces instead of tabs (and treat multiple spaces as a tab) Indented paste: will re-indent pasted text to match current context Tab expands snippets: controls if a snippet can be inserted by typing its trigger and pressing tab. Kind regards Allan From allan at macromates.com Mon Oct 11 05:05:36 2004 From: allan at macromates.com (Allan Odgaard) Date: Mon, 11 Oct 2004 07:05:36 +0200 Subject: [TextMate] Code Folding In-Reply-To: <65858840410101818684f56cf@mail.gmail.com> References: <65858840410101818684f56cf@mail.gmail.com> Message-ID: <3030923B-1B43-11D9-951A-00039351BBEE@macromates.com> On 11. Oct 2004, at 3:18, Ivan Pan wrote: > Consider the following codes: >
    > ... >
  • > ... >
  • > ... > > > When I try to fold the codes by clicking on
    , it only folds to > . To fold to
    , I have to fold
  • and then fold
    . Is > there anyway around that? The default patterns doesn't fold
  • ...
  • , did you change these? It works here, also if I change your
  • to
    , is the indent as your posting? Is this in isolation or as part of a larger document? Kind regards Allan From allan at macromates.com Mon Oct 11 05:08:21 2004 From: allan at macromates.com (Allan Odgaard) Date: Mon, 11 Oct 2004 07:08:21 +0200 Subject: [TextMate] CSS not folding In-Reply-To: <7DF9AAE8-1B31-11D9-8FB5-00039398A53E@pixelgrazer.com> References: <7DF9AAE8-1B31-11D9-8FB5-00039398A53E@pixelgrazer.com> Message-ID: <928A06B4-1B43-11D9-951A-00039351BBEE@macromates.com> On 11. Oct 2004, at 4:58, jeremy*pinnix wrote: > It seems that folding isn't working in CSS documents. I'm using > 1.01b1, but didn't try folding in 1.0 so I don't know if this new or > not. There are down arrows next to each selector, but never any up > arrows... To fold a block the line that contain the end-marker must have the same indent as the line which contain the start-marker. So this will work: body { ...; } But this won't: body { ...; } Kind regards Allan From allan at macromates.com Mon Oct 11 05:11:40 2004 From: allan at macromates.com (Allan Odgaard) Date: Mon, 11 Oct 2004 07:11:40 +0200 Subject: [TextMate] picking two dialog box nits In-Reply-To: <4A73530A-1B04-11D9-9207-000A95A6A366@bebop.net> References: <21D8ABDC-1A6B-11D9-AEAB-00039351BBEE@macromates.com> <4A73530A-1B04-11D9-9207-000A95A6A366@bebop.net> Message-ID: <08A8DA13-1B44-11D9-951A-00039351BBEE@macromates.com> On 10. Oct 2004, at 23:35, Jeff Ganyard wrote: >>> 1. For me, hitting `ESC` in a dialog box is not invoking the >>> `Cancel` button (works that way in most apps) >> So what should escape do? And which dialog box are you talking about? > I'm not sure what dialog is referred to but 'Cancel' should be the > alternateButton. And it does, I misread the question as the OP not wanting it. I don't know why escape is not closing his save panel. Others who have this problem? Kind regards Allan From thebrier at gmail.com Mon Oct 11 05:23:06 2004 From: thebrier at gmail.com (Chris Brierley) Date: Mon, 11 Oct 2004 01:23:06 -0400 Subject: [TextMate] Problem with folding Message-ID: I can't think of a way to get folding to work for Python code. I think it's because of the way folding is implemented in TextMate, so I don't think it's possible, but I'm hoping someone can think of something. In Python, all blocks are delineated by indentation. So, here's a couple of blocks: if 1: foo() bar() else: fnord() You'd want to be able to fold "if 1:" through "bar()" and be able to fold "else:" through "fnord()". I can't think of any way to do this with TextMate's folding implementation. It's easy enough to set a foldingStartMarker -- any line ending with a ":" (simply speaking). But what foldingStopMarker? The "mark" is the next line with the same indendation as the starting line, but that line is *not* part of the fold. You want the fold to end before that line. I'm tearing my hair out over here. Can anyone think of a clever way to do this? Am I missing something, or is this just impossible with the current implementation? Thanks to anyone for help! From ifanpan at gmail.com Mon Oct 11 05:25:29 2004 From: ifanpan at gmail.com (Ivan Pan) Date: Mon, 11 Oct 2004 00:25:29 -0500 Subject: [TextMate] Code Folding In-Reply-To: <3030923B-1B43-11D9-951A-00039351BBEE@macromates.com> References: <65858840410101818684f56cf@mail.gmail.com> <3030923B-1B43-11D9-951A-00039351BBEE@macromates.com> Message-ID: <658588404101022257e98d4e9@mail.gmail.com> On Mon, 11 Oct 2004 07:05:36 +0200, Allan Odgaard wrote: > The default patterns doesn't fold
  • ...
  • , did you change these? Oops, my mistake. Here try this.
    • Item 1
    • Item 2
    • Item 3
    • Item 4
    This part is still shown.
    To fold
    , you have to fold
      first. It applies to . I need to fold