Send textmate mailing list submissions toTo subscribe or unsubscribe via the World Wide Web, visitor, via email, send a message with subject or body 'help' toYou can reach the person managing the list atWhen replying, please edit your Subject line so it is more specificthan "Re: Contents of textmate digest..."Today's Topics:1. Re: Drag&Drop Operation with NIB - TM don't get the focusautomatically (Hans-Joerg Bibiko)2. Re: Ruby templates disappeared; Python Company setting(John Tsombakos)3. TextMate and Leopard (John Tsombakos)4. Re: Ruby templates disappeared; Python Company setting(James Edward Gray II)5. Re: XMLMate plug-in broken as of TextMate 1.5.7?(Todd Ditchendorf)6. Re: Re: What about TextMate 2? (Dave Lenz)7. can I intercept / overwrite "Show Web Preview" (Roberto Saccon)8. Re: TextMate and Leopard (Takaaki Kato)9. Re: can I intercept / overwrite "Show Web Preview"(Hans-Joerg Bibiko)10. Minor Pasteboard question (problem) (Hans-Joerg Bibiko)11. Re: RSpec Bundle errors (Arthur P?try)12. Re: Slow Xcode builds? (Gerd Knops)13. Spaces (Richard K Miller)14. Re: Spaces (Pat Maddox)15. Re: Spaces (Richard K Miller)16. Re: Spaces (Thomas Aylott)17. Re: Remote host mysql database connection problem (Ciar?n Walsh)18. Re: Spaces (Henrik Nyh)19. Re: Spaces (Steve Finkelstein)20. Re: Ctrl key and shortcuts cease working (Matt Freels)21. Re: can I intercept / overwrite "Show Web Preview"(Roberto Saccon)22. Re: Remote host mysql database connection problem (Alain Couchot)23. Quick Search bundle in Leopard (Diego Barros)24. Re: can I intercept / overwrite "Show Web Preview" (Brad Miller)25. Re: can I intercept / overwrite "Show Web Preview"(Roberto Saccon)26. Need help finding and MOVING text (mlondon)27. Wrap selection as link - html weirdness (Digital Rust)28. Re: Need help finding and MOVING text (Jay Soffian)29. Re: Wrap selection as link - html weirdness (Thomas Aylott)30. Re: Minor Pasteboard question (problem) (Rob McBroom)31. Re: Need help finding and MOVING text (Roger Roelofs)32. Re: Need help finding and MOVING text (Paul McCann)33. Re: Minor Pasteboard question (problem) (Hans-Joerg Bibiko)34. Hard wrapping again (Guido Governatori)35. Re: Hard wrapping again (Hans-Joerg Bibiko)36. Re: Hard wrapping again (Andy Armstrong)37. Re: Hard wrapping again (Guido Governatori)38. Re: Hard wrapping again (Guido Governatori)39. Re: AS3/Flex, how to begin? (Gaby Vanhegan)40. No Halloween-TM this year? (Niels Kobsch?tzki)41. Re: AS3/Flex, how to begin? (Simon Gregory)42. Re: AS3/Flex, how to begin? (Gaby Vanhegan)From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>Date: October 30, 2007 1:03:08 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Drag&Drop Operation with NIB - TM don't get the focus automaticallyReply-To: TextMate users <textmate@lists.macromates.com>On 30 Oct 2007, at 10:58, Hans-Joerg Bibiko wrote:I wrote a drag command which calls "$DIALOG" to show a nib. Fine.If I drag a file from Finder to a new empty TM window, the nib popups, but unfortunately TM don't get the focus.If I drag and drop e.g. an image from Finder to an HTML document the current document gets the focus.Is this behaviour changeable?Furthermore it turns out that sometimes it works and sometimes not(?) Could it be a timimg issue?HansFrom: "John Tsombakos" <tsom467@gmail.com>Date: October 30, 2007 1:55:07 PM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] Ruby templates disappeared; Python Company settingReply-To: TextMate users <textmate@lists.macromates.com>On 10/29/07, James Edward Gray II <james@grayproductions.net> wrote:On Oct 29, 2007, at 10:58 AM, Alexy Khrabrov wrote:
> Greetings -- I was a happy user of Ruby templates until TextMate
> decided to upgrade itself. Suddenly the Templates are gone from
> the Ruby bundle! And indeed, they're not there in the latest Ruby
> bundle. What happened to them and how can I get them back and
> never let go?
Allan and I felt that the template didn't add anything significant
over ⌘N, ⌃⌥⇧R, rb⇥ and thus we decided to remove it.
Yeah, I noticed it was gone too and was going to post a message also. Then I saw one of the bundle updates saying they were removed. Good thing I had some clue where to at least start to look!
And also, if I recall, I tried the Control-Option-Shift-R, but it didn't work. I had to use Control-Option-Shift-E, then choose Ruby from the list.From: "John Tsombakos" <tsom467@gmail.com>Date: October 30, 2007 1:58:51 PM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: [TxMt] TextMate and LeopardReply-To: TextMate users <textmate@lists.macromates.com>I'm sure Allan is all over it, but I noticed an issue with TextMate (v1.5.7) running on Leopard. Clicking the "gear" popup at the bottom of the window and selecting various bundles to see the commands, the text in the menus are different sizes! Some small, some large. I remember seeing this before and it was corrected.
I'll play around more tonight to see if there's some correlation between menu items and text size.
--johnFrom: James Edward Gray II <james@grayproductions.net>Date: October 30, 2007 2:02:57 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Ruby templates disappeared; Python Company settingReply-To: TextMate users <textmate@lists.macromates.com>On Oct 30, 2007, at 7:55 AM, John Tsombakos wrote:And also, if I recall, I tried the Control-Option-Shift-R, but it didn't work. I had to use Control-Option-Shift-E, then choose Ruby from the list.The commit message had a typo in it. It said to use E, but the R (for Ruby) is correct.James Edward Gray IIFrom: Todd Ditchendorf <itod@mac.com>Date: October 30, 2007 2:05:56 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] XMLMate plug-in broken as of TextMate 1.5.7?Reply-To: TextMate users <textmate@lists.macromates.com>Thanks for the report. I'll try to get a fix out. what version of OS X are u using?Todd DitchendorfOn Oct 30, 2007, at 1:51 AM, Rob Foxworthington wrote:Just a quick question... wondering if it's just me or if XMLMate 1.4.1<http://www.ditchnet.org/xmlmate/> is broken as of TextMate 1.5.7(1436)?Instead of the XMLMate window appearing, the following is reported onthe Console when clicking Windows => Show XMLMate Palette...TextMate[430] initializeLibxmlTextMate[430] *** +[OakTextView defaultEnvironmentVariables]:selector not recognizedTextMate[430] *** +[OakTextView defaultEnvironmentVariables]:selector not recognizedBehavior started with the cutting edge release that preceded 1.5.7,before that, everything was fine.Thanks!______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)From: Dave Lenz <info@ypmits.nl>Date: October 30, 2007 2:20:39 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Re: What about TextMate 2?Reply-To: TextMate users <textmate@lists.macromates.com>Dutch cheeseOp 25 okt 2007, om 01:33 heeft Xavier Cambar het volgende geschreven:design the release party in Californiathenhold it in China where the Macs and iP*s all really come from. <G>Err... What product does NOT come from China, nowadays??Xavier Cambar______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)From: "Roberto Saccon" <rsaccon@gmail.com>Date: October 30, 2007 2:32:03 PM GMT+01:00Subject: [TxMt] can I intercept / overwrite "Show Web Preview"Reply-To: TextMate users <textmate@lists.macromates.com>for specific non-HTML files I would like to perform some commands andthen show the result as HTML preview, it that possible ?--Roberto SacconFrom: Takaaki Kato <devlist@samuraicoder.net>Date: October 30, 2007 2:43:09 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] TextMate and LeopardReply-To: TextMate users <textmate@lists.macromates.com>On Oct 30, 2007, at 9:58 PM, John Tsombakos wrote:I'm sure Allan is all over it, but I noticed an issue with TextMate (v1.5.7) running on Leopard. Clicking the "gear" popup at the bottom of the window and selecting various bundles to see the commands, the text in the menus are different sizes! Some small, some large. I remember seeing this before and it was corrected.In my experience, the tab triggers are larger. Not random. Can anybody confirm this?Takaaki--Takaaki KatoFrom: Hans-Joerg Bibiko <bibiko@eva.mpg.de>Date: October 30, 2007 2:46:29 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"Reply-To: TextMate users <textmate@lists.macromates.com>On 30 Oct 2007, at 14:32, Roberto Saccon wrote:for specific non-HTML files I would like to perform some commands andthen show the result as HTML preview, it that possible ?1)Open Web PreviewShow OptionsCheck 'Pipe text through' "YOUR SCRIPT"2)Write a command which executes your script and set "Output" to "Show as HTML"--HansFrom: Hans-Joerg Bibiko <bibiko@eva.mpg.de>Date: October 30, 2007 2:57:13 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: [TxMt] Minor Pasteboard question (problem)Reply-To: TextMate users <textmate@lists.macromates.com>Hi,I'm using Safari 3.0.3 on Tiger.I use Safari's upper right search text field to google something. Fine. After doing that I return to TM and the search string appears in TM's Find Dialog?This could be under some circumstances quite useful but is there a way to suppress such behaviour?Thanks,HansFrom: Arthur Pétry <arthur.petry@bolloretelecom.eu>Date: October 30, 2007 3:09:02 PM GMT+01:00Subject: Re: [TxMt] RSpec Bundle errorsReply-To: TextMate users <textmate@lists.macromates.com>Hi all,I'm trying to run rspec bundle command but am getting errors./Users/alastair/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':undefined method `parse' for Spec::Runner::OptionParser:Class(NoMethodError) from /Users/alastair/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in `chdir' from /Users/alastair/Library/ApplicationSupport/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:33:in `run' from /Users/alastair/Library/ApplicationSupport/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4Does anyonene have any ideas what might be causing this?Hi Alastair.Same problem here (RSpec-1.0.8 and RSpec.tmbundle from trunk @ 2796)Resolved by changing one line in runner.rb see patch :
<patch.diff>But I'm very new to Rspec, so I don't have any idea of why we have to do that and I don't know if it breaks something.ArthurFrom: Gerd Knops <gerti-textmate@bitart.com>Date: October 30, 2007 4:18:37 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Slow Xcode builds?Reply-To: TextMate users <textmate@lists.macromates.com>On Oct 29, 2007, at 4:43 PM, Allan Odgaard wrote:On 27 Oct 2007, at 18:38, Gerd Knops wrote:Since upgrading to Leopard Xcode builds (using xcodebuild tool from the functions in the Xcode bundle) seems a lot slower, specifically it seems the "Checking Dependencies" phase is responsible for that.Anybody else seing this? Anyone have a workaround?I am also seeing that, and it sucks. I have one project that is an umbrella for 14 or so (sub)projects, and I think it takes >1 minute to check dependencies, even re-running the build (on a Mac Pro with plenty of memory) does not make it faster.Afraid the only solution for now is file performance bugs for xcodebuild at http://bugreport.apple.com/Already done, but I guess with bugreporter more is better...GerdFrom: Richard K Miller <richardkmiller@gmail.com>Date: October 30, 2007 4:40:37 PM GMT+01:00Subject: [TxMt] SpacesReply-To: TextMate users <textmate@lists.macromates.com>So far I like Spaces, with a couple of caveats:1. It can be confusing to open multiple windows of the same application in separate spaces. For example, I'd like to have one Textmate window for web development and another for my GTD list, in separate spaces. The problem is that when I use Command-Tab to switch to Textmate, it switches to the most recent Textmate window I used instead of the Textmate window in the current space (which is what I would prefer.) I think Command-Tab should give priority to application windows in the current space. As far as I can tell this is a Spaces characteristic since TextEdit behaves the same.2. When I open the Find dialog in Textmate, it switches to the last space where I used Find, instead of bringing the Find dialog into the current space. I believe this is a Textmate issue, as it does not occur in TextEdit. If this is scheduled to be fixed in version 2.0, I can wait. Should I submit this as a bug, or is this expected behavior?RichardFrom: "Pat Maddox" <pergesu@gmail.com>Date: October 30, 2007 4:49:55 PM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] SpacesReply-To: TextMate users <textmate@lists.macromates.com>On Oct 30, 2007 8:40 AM, Richard K Miller <richardkmiller@gmail.com> wrote:So far I like Spaces, with a couple of caveats:1. It can be confusing to open multiple windows of the sameapplication in separate spaces. For example, I'd like to have oneTextmate window for web development and another for my GTD list, inseparate spaces. The problem is that when I use Command-Tab to switchto Textmate, it switches to the most recent Textmate window I usedinstead of the Textmate window in the current space (which is what Iwould prefer.) I think Command-Tab should give priority to applicationwindows in the current space. As far as I can tell this is a Spacescharacteristic since TextEdit behaves the same.2. When I open the Find dialog in Textmate, it switches to the lastspace where I used Find, instead of bringing the Find dialog into thecurrent space. I believe this is a Textmate issue, as it does notoccur in TextEdit. If this is scheduled to be fixed in version 2.0, Ican wait. Should I submit this as a bug, or is this expected behavior?Richard______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)I wouldn't be so quick to blame TM. I find a lot of funkiness withother apps (firefox, mail). I'm sure that since Spaces is brand newthere will be some wrinkles to iron out. Though I'm not too sure thatApple will actually fix them.Also, I thought 2.0 was just a rumor that wasn't going to happen. Atleast that's what it says in the IRC chan...PatFrom: Richard K Miller <richardkmiller@gmail.com>Date: October 30, 2007 5:00:18 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] SpacesReply-To: TextMate users <textmate@lists.macromates.com>On Oct 30, 2007, at 9:49 AM, Pat Maddox wrote:On Oct 30, 2007 8:40 AM, Richard K Miller <richardkmiller@gmail.com> wrote:So far I like Spaces, with a couple of caveats:1. It can be confusing to open multiple windows of the sameapplication in separate spaces. For example, I'd like to have oneTextmate window for web development and another for my GTD list, inseparate spaces. The problem is that when I use Command-Tab to switchto Textmate, it switches to the most recent Textmate window I usedinstead of the Textmate window in the current space (which is what Iwould prefer.) I think Command-Tab should give priority to applicationwindows in the current space. As far as I can tell this is a Spacescharacteristic since TextEdit behaves the same.2. When I open the Find dialog in Textmate, it switches to the lastspace where I used Find, instead of bringing the Find dialog into thecurrent space. I believe this is a Textmate issue, as it does notoccur in TextEdit. If this is scheduled to be fixed in version 2.0, Ican wait. Should I submit this as a bug, or is this expected behavior?RichardI wouldn't be so quick to blame TM. I find a lot of funkiness withother apps (firefox, mail). I'm sure that since Spaces is brand newthere will be some wrinkles to iron out. Though I'm not too sure thatApple will actually fix them.Also, I thought 2.0 was just a rumor that wasn't going to happen. Atleast that's what it says in the IRC chan...I don't believe TM is to blame for #1. As for #2, I haven't tested other apps, but TextEdit seems to behave correctly while TM doesn't work. I suppose that could still be a bug in Spaces.I hadn't heard about 2.0 being a rumor.From: Thomas Aylott <textmate@subtlegradient.com>Date: October 30, 2007 5:25:23 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] SpacesReply-To: TextMate users <textmate@lists.macromates.com>There's a workaround for #2I just wrote an article about it on my blog: subtleGradient.comI'll be releasing an updated GUI replacement pack soon that fixes this issue today or tomorrow.(Never wait for mythical upgrades that have no release dates ;)Thomas Aylott [SubtleGradient] from iPhoneOn Oct 30, 2007, at 11:40 AM, Richard K Miller <richardkmiller@gmail.com> wrote:So far I like Spaces, with a couple of caveats:1. It can be confusing to open multiple windows of the same application in separate spaces. For example, I'd like to have one Textmate window for web development and another for my GTD list, in separate spaces. The problem is that when I use Command-Tab to switch to Textmate, it switches to the most recent Textmate window I used instead of the Textmate window in the current space (which is what I would prefer.) I think Command-Tab should give priority to application windows in the current space. As far as I can tell this is a Spaces characteristic since TextEdit behaves the same.2. When I open the Find dialog in Textmate, it switches to the last space where I used Find, instead of bringing the Find dialog into the current space. I believe this is a Textmate issue, as it does not occur in TextEdit. If this is scheduled to be fixed in version 2.0, I can wait. Should I submit this as a bug, or is this expected behavior?Richard______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)From: Ciarán Walsh <ciawal@gmail.com>Date: October 30, 2007 5:34:37 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Remote host mysql database connection problemReply-To: TextMate users <textmate@lists.macromates.com>On 28 Oct 2007, at 04:03, Alain Couchot wrote:When I try to connect with TM I get a message : Unknown system variable ''coming from mysql server.Hi Alain,That’s odd – looks like your server doesn’t have an encoding set. I’ve modified the SQL bundle to handle this gracefully, so you have the following options:• If you are already using an SVN checkout of the bundle just update it• If you’re not then check the manual under “Getting New Bundles” for information on how to get it• You can use this patch to fix the problem:======================Index: db_browser_lib.rb===================================================================--- db_browser_lib.rb (revision 8375)+++ db_browser_lib.rb (working copy)@@ -55,11 +55,7 @@def get_mysql(database = nil)unless @@connector@@connector = Mysql::new(@settings.host, @settings.user, @settings.password, database || @settings.name, @settings.port)- begin- encoding = @@connector.query('SELECT @@character_set_database AS server').fetch_hash- rescue- encoding = {:server => 'utf8'}- end+ encoding = @@connector.query('SELECT @@character_set_database AS server').fetch_hash@@connector.query('SET NAMES utf8;') if encoding["server"] != 'latin1'end@@connector======================Apply it in /Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/Or of course you can just wait for the next TextMate update, when you’ll get it automatically.CiaránFrom: "Henrik Nyh" <henrik@nyh.se>Date: October 30, 2007 6:04:42 PM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] SpacesReply-To: TextMate users <textmate@lists.macromates.com>On 10/30/07, Pat Maddox <pergesu@gmail.com> wrote:Also, I thought 2.0 was just a rumor that wasn't going to happen. Atleast that's what it says in the IRC chan...That was a perhaps poorly phrased (something like: "TM2 is only arumor – don't ask") way of saying "don't bother the developer aboutTM2". The IRC channel topic has since replaced that text with a linkFrom: "Steve Finkelstein" <sf@stevefink.net>Date: October 30, 2007 6:08:17 PM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] SpacesReply-To: TextMate users <textmate@lists.macromates.com>Also keep in mind, Spaces in its current implementation is far fromperfect. I've already experienced a bug that lost all of my windows.The applications were not prematurely exited, but no matter what Idid, I could not bring them into the foreground or regain control ofthem. I have not been able to replicate this particular bug, but Ihave submitted a note about it to Apple.- sfOn 10/30/07, Henrik Nyh <henrik@nyh.se> wrote:On 10/30/07, Pat Maddox <pergesu@gmail.com> wrote:Also, I thought 2.0 was just a rumor that wasn't going to happen. Atleast that's what it says in the IRC chan...That was a perhaps poorly phrased (something like: "TM2 is only arumor – don't ask") way of saying "don't bother the developer aboutTM2". The IRC channel topic has since replaced that text with a link______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)From: Matt Freels <matt@furtherin.net>Date: October 30, 2007 3:37:26 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Ctrl key and shortcuts cease workingReply-To: TextMate users <textmate@lists.macromates.com>I just ran into a problem where after the recent update (version 1436), all of TM's shortcuts involving the ctrl key broke.What is an example of a shortcut which broke?Well, not helpfully at all bug-context-wise but much to my relief, the shortcut keys started working again.Commands that didn't work included switching language definitions, Insert Open/Close Tag in HTML, seemed like anything that didn't use the command key except some of the emacs-like shortcuts (^a, ^e, ^k, etc.). I'm sorry I can't tell you for sure.One thing I didn't think of trying while troubleshooting the problem but have done in the meantime was to switch languages in the international panel. I sometimes jump back and forth between italian and english in the same session, and maybe that broke things.Thanks,--mattFrom: "Roberto Saccon" <rsaccon@gmail.com>Date: October 30, 2007 7:58:36 PM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"Reply-To: TextMate users <textmate@lists.macromates.com>thanks, I should have mentioned that I am aware of that, what I don'tknow is how to make those steps part of a language bundle, so I candistribute this functionality, without the User having to install itmanually.On 10/30/07, Hans-Joerg Bibiko <bibiko@eva.mpg.de> wrote:On 30 Oct 2007, at 14:32, Roberto Saccon wrote:for specific non-HTML files I would like to perform some commands andthen show the result as HTML preview, it that possible ?1)Open Web PreviewShow OptionsCheck 'Pipe text through' "YOUR SCRIPT"2)Write a command which executes your script and set "Output" to "Showas HTML"--Hans______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)--Roberto SacconFrom: Alain Couchot <ac@sdv.fr>Date: October 30, 2007 10:35:44 PM GMT+01:00Subject: [TxMt] Re: Remote host mysql database connection problemReply-To: TextMate users <textmate@lists.macromates.com>Thanks for your help and your patchI installed the new bundle without successPerhaps should I say that my dabase is configured in french language and the exact error message is in french :Variable syst�me '' inconnueRegardsAlainCiarán Walsh a écrit :Hi Alain,That’s odd – looks like your server doesn’t have an encoding set. I’ve modified the SQL bundle to handle this gracefully, so you have the following options:From: "Diego Barros" <diego@heyboyo.com>Date: October 30, 2007 11:24:53 PM GMT+01:00Subject: [TxMt] Quick Search bundle in LeopardReply-To: TextMate users <textmate@lists.macromates.com>Hi all,Anyone that's using the Quick Search bundle under Leopard finding that it's now broken? I'm getting the following error as soon as I choose "Quick Search"/tmp/temp_textmate.xdnrYn:4:in `require': no such file to load -- /Library/Application Support/TextMate/Support/lib/dialog (LoadError) from /tmp/temp_textmate.xdnrYn:4 from /tmp/temp_textmate.xdnrYn:4:in `each' from /tmp/temp_textmate.xdnrYn:4I've updated the bundles directory to the latest, but alas still no joy. Any help would be appreciated.Cheers,DiegoFrom: Brad Miller <bonelake@gmail.com>Date: October 30, 2007 11:29:33 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"Reply-To: TextMate users <textmate@lists.macromates.com>Roberto,Maybe I'm not really understanding what you want to do, but You can always write a command for your bundle (with whatever processing you want to the file) and then set the key equivalent to ⌃⌥⌘-p. If you set the scope for your command to your language scope then your command will take precedence over the general preview command.BradOn Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:thanks, I should have mentioned that I am aware of that, what I don'tknow is how to make those steps part of a language bundle, so I candistribute this functionality, without the User having to install itmanually.On 10/30/07, Hans-Joerg Bibiko <bibiko@eva.mpg.de> wrote:On 30 Oct 2007, at 14:32, Roberto Saccon wrote:for specific non-HTML files I would like to perform some commands andthen show the result as HTML preview, it that possible ?1)Open Web PreviewShow OptionsCheck 'Pipe text through' "YOUR SCRIPT"2)Write a command which executes your script and set "Output" to "Showas HTML"--Hans______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)--Roberto Saccon______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)From: "Roberto Saccon" <rsaccon@gmail.com>Date: October 31, 2007 12:50:15 AM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"Reply-To: TextMate users <textmate@lists.macromates.com>Brad, thanks. I didn't know about that (It's just the third day I amusing textmate)On 10/30/07, Brad Miller <bonelake@gmail.com> wrote:Roberto,Maybe I'm not really understanding what you want to do, but You canalways write a command for your bundle (with whatever processing youwant to the file) and then set the key equivalent to ⌃⌥⌘-p. Ifyou set the scope for your command to your language scope then yourcommand will take precedence over the general preview command.BradOn Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:thanks, I should have mentioned that I am aware of that, what I don'tknow is how to make those steps part of a language bundle, so I candistribute this functionality, without the User having to install itmanually.On 10/30/07, Hans-Joerg Bibiko <bibiko@eva.mpg.de> wrote:On 30 Oct 2007, at 14:32, Roberto Saccon wrote:for specific non-HTML files I would like to perform some commandsandthen show the result as HTML preview, it that possible ?1)Open Web PreviewShow OptionsCheck 'Pipe text through' "YOUR SCRIPT"2)Write a command which executes your script and set "Output" to "Showas HTML"--Hans______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if youdon't)--Roberto Saccon______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)______________________________________________________________________For new threads USE THIS: textmate@lists.macromates.com(threading gets destroyed and the universe will collapse if you don't)--Roberto SacconFrom: mlondon <mlondon@sprynet.com>Date: October 31, 2007 1:18:50 AM GMT+01:00Subject: [TxMt] Need help finding and MOVING textReply-To: TextMate users <textmate@lists.macromates.com>Hi,I need to edit a giant vCard file which has been exported from Palm Desktopand contains about 1000 entried. The Palm export puts my Notes directlyunder the phone number and then all my custom fields below that. When I openin Address Book, the Custom fields are buried below my notes.I would like to be able to FIND a string and move it up or down in the file.Is this possible?For example:FN:PamN:;PamADR:;;1911 North Duncan Road;Champaign;IL;61821;USALABEL;QUOTED-PRINTABLE:1911 North Duncan Road=0D=0AChampaign, IL61821=0D=0AUSATEL;WORK:217-355-9331TEL;FAX:217-355-9413ORG:Balough Scientific BooksNOTE;QUOTED-PRINTABLE:=0D=0A[Comments]=0D=0ADistributors of PROSEA booksREV:20020222X-Palm-Category1:BookstoreI would like to move the line containing: "X-Palm-Category1:Bookstore" ABOVEthe line which starts: NOTE;Thank you...--View this message in context: http://www.nabble.com/Need-help-finding-and-MOVING-text-tf4704885.html#a13448389Sent from the textmate users mailing list archive at Nabble.com.From: Digital Rust <digitalrust@digitalrust.com>Date: October 31, 2007 1:36:50 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: [TxMt] Wrap selection as link - html weirdnessReply-To: TextMate users <textmate@lists.macromates.com>I've come across some odd behavior when using the html bundle and converting mail addresses to links:If I copy name@email.com and then use the key comand, it results in <a href="mailto:dave@dave.com">name@email.com</a>Is there a workaround?-DaveFrom: "Jay Soffian" <jaysoffian+txmt@gmail.com>Date: October 31, 2007 2:10:47 AM GMT+01:00To: "TextMate users" <textmate@lists.macromates.com>Subject: Re: [TxMt] Need help finding and MOVING textReply-To: TextMate users <textmate@lists.macromates.com>On 10/30/07, mlondon <mlondon@sprynet.com> wrote:I would like to be able to FIND a string and move it up or down in the file.Pipe the document through:perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; printunless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'j.From: Thomas Aylott <textmate@subtlegradient.com>Date: October 31, 2007 2:11:24 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Wrap selection as link - html weirdnessReply-To: TextMate users <textmate@lists.macromates.com>is it only obfuscating the email in the link and not the actual text of the email?Or do you not want it to obfuscate at all?On Oct 30, 2007, at 8:36 PM, Digital Rust wrote:I've come across some odd behavior when using the html bundle and converting mail addresses to links:If I copy name@email.com and then use the key comand, it results in <a href="mailto:dave@dave.com">name@email.com</a>Is there a workaround?-Dave—Thomas Aylott – subtleGradient—From: Rob McBroom <textmate@skurfer.com>Date: October 31, 2007 4:56:01 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Minor Pasteboard question (problem)Reply-To: TextMate users <textmate@lists.macromates.com>On 2007-Oct-30, at 9:57 AM, Hans-Joerg Bibiko wrote:I use Safari's upper right search text field to google something. Fine. After doing that I return to TM and the search string appears in TM's Find Dialog?This could be under some circumstances quite useful but is there a way to suppress such behaviour?I imagine that they started using the shared "find buffer" for that field in Safari. Forgive me if this is old news, but if you select something and hit ⌘E, it gets put into a system wide buffer. That string then becomes "the thing you're searching for" in all Cocoa applications. I've seen it shared between OmniWeb, TextMate, Quicksilver, TextEdit, etc. Although it usually only applies to the ⌘F "search in page", I guess they decided to use it for the web search control in Safari as well.I don't know of a way to suppress the behavior, but you could avoid it by using OmniWeb. :)---Rob McBroomFrom: Roger Roelofs <roger.roelofs@gmail.com>Date: October 31, 2007 7:46:07 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Need help finding and MOVING textReply-To: TextMate users <textmate@lists.macromates.com>Jay Soffian wrote:perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; printunless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'
(not TextMate related ... sorry)I'm somewhat familiar with perl, but I've never seen 'if /^NOTE/../^X-Palm/' before. Where can I find it in the docs?Roger--From: Paul McCann <pmccann@gmail.com>Date: October 31, 2007 8:28:23 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Need help finding and MOVING textReply-To: TextMate users <textmate@lists.macromates.com>Roger Roelofs asked:I'm somewhat familiar with perl, but I've never seen 'if /^NOTE/../^X-Palm/' before. Where can I find it in the docs?You can see an explanation of this "flip-flop" operator with some nice examples viaperldoc perlopSearch for "Range Operators".Cheers,PaulFrom: Hans-Joerg Bibiko <bibiko@eva.mpg.de>Date: October 31, 2007 9:34:00 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Minor Pasteboard question (problem)Reply-To: TextMate users <textmate@lists.macromates.com>On 31 Oct 2007, at 04:56, Rob McBroom wrote:On 2007-Oct-30, at 9:57 AM, Hans-Joerg Bibiko wrote:I use Safari's upper right search text field to google something. Fine. After doing that I return to TM and the search string appears in TM's Find Dialog?This could be under some circumstances quite useful but is there a way to suppress such behaviour?I imagine that they started using the shared "find buffer" for that field in Safari. Forgive me if this is old news, but if you select something and hit ⌘E, it gets put into a system wide buffer. That string then becomes "the thing you're searching for" in all Cocoa applications. I've seen it shared between OmniWeb, TextMate, Quicksilver, TextEdit, etc. Although it usually only applies to the ⌘F "search in page", I guess they decided to use it for the web search control in Safari as well.I don't know of a way to suppress the behavior, but you could avoid it by using OmniWeb. :)Thanks. I see.I only wonder whether TM could be configured in such a way to use either the "shared find buffer" or a "local find buffer". I believe, if any, that would be a question to Allan.Cheers,--HansFrom: Guido Governatori <guido@itee.uq.edu.au>Date: October 31, 2007 9:46:07 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: [TxMt] Hard wrapping againReply-To: TextMate users <textmate@lists.macromates.com>For many reasons, I would like to have the possibility to hard wrap my file (mainly for LaTeX files).Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).All the bestGuido--Dr Guido GovernatoriSchool of Information Technology and Electrical EngineeringThe University of QueenslandBrisbane, Queensland, 4072, AustraliaPhone: +61-(0)7-336 52907Fax: +61-(0)7-336 54999From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>Date: October 31, 2007 10:22:57 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Hard wrapping againReply-To: TextMate users <textmate@lists.macromates.com>On 31 Oct 2007, at 09:46, Guido Governatori wrote:For many reasons, I would like to have the possibility to hard wrap my file (mainly for LaTeX files).Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).Please forgive me, if I understood your problem wrong!Did you try to set the "wrap column" to what ever; select all (APPLE+A); press CTRL+Q?That you could record as macro.Or is there something I missed?Best,--HansFrom: Andy Armstrong <andy@hexten.net>Date: October 31, 2007 10:34:13 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Hard wrapping againReply-To: TextMate users <textmate@lists.macromates.com>On 31 Oct 2007, at 08:46, Guido Governatori wrote:Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).Just set up a command that pipes the text through fmt.--Andy Armstrong, HextenFrom: Guido Governatori <guido@itee.uq.edu.au>Date: October 31, 2007 11:14:30 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Hard wrapping againReply-To: TextMate users <textmate@lists.macromates.com>On 31 Oct 2007, at 09:46, Guido Governatori wrote:For many reasons, I would like to have the possibility to hard wrap my file (mainly for LaTeX files).Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).Please forgive me, if I understood your problem wrong!Sorry I should have been more precise.Did you try to set the "wrap column" to what ever; select all (APPLE+A); press CTRL+Q?I have tried it but it does not do what I want.The problem with CTRL-Q is that it does not "respect" LaTeX constructions.For examplelong line to be wrapped\[math\]long line to be wrappedwith the proposed solution produceslong line to be wrapped \[ math \] long line to be wrappedwhile with the one line at a time reformatting the above case is handled properly.Thanks anywayGuido--Dr Guido GovernatoriSchool of Information Technology and Electrical EngineeringThe University of QueenslandBrisbane, Queensland, 4072, AustraliaPhone: +61-(0)7-336 52907Fax: +61-(0)7-336 54999http://www.itee.uq.edu.au/~guido http://www.governatori.netFrom: Guido Governatori <guido@itee.uq.edu.au>Date: October 31, 2007 11:24:19 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] Hard wrapping againReply-To: TextMate users <textmate@lists.macromates.com>On 31/10/2007, at 7:34 PM, Andy Armstrong wrote:On 31 Oct 2007, at 08:46, Guido Governatori wrote:Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).Just set up a command that pipes the text through fmt.It merges lines.line\[math\]lineis transformed intoline \[math\] lineBut the worst part is with comments :-(Thanks anywayGuido--Dr Guido GovernatoriSchool of Information Technology and Electrical EngineeringThe University of QueenslandBrisbane, Queensland, 4072, AustraliaPhone: +61-(0)7-336 52907Fax: +61-(0)7-336 54999From: Gaby Vanhegan <gaby@vanhegan.net>Date: October 31, 2007 11:29:28 AM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] AS3/Flex, how to begin?Reply-To: TextMate users <textmate@lists.macromates.com>On 24 Oct 2007, at 06:35, Boysenberry Payne wrote:So I'm guessing the work of porting is only as hard as it was to build itthe first time minus the part of figuring out the logic.True, it's not as fearsome as I suspected it would be.One question though; where is a sensible place to set any extra arguments that are passed to mxmlc at compilation time (Apple-B)? I need to add a -default-size argument to the compiler but can't see where. I don't want to edit the build script but I want to put it in the 'right' place. Is there a project specific variable I could use?Gaby--Junkets for bunterish lickspittles since 1998!
From: Niels Kobschätzki <n.kobschaetzki@googlemail.com>Date: October 31, 2007 12:12:36 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: [TxMt] No Halloween-TM this year?Reply-To: TextMate users <textmate@lists.macromates.com>Sad, that this year my TM didn't switch to Halloween-mode - I really liked it :)NielsFrom: Simon Gregory <simon@helvector.org>Date: October 31, 2007 12:32:50 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] AS3/Flex, how to begin?Reply-To: TextMate users <textmate@lists.macromates.com>One question though; where is a sensible place to set any extra arguments that are passed to mxmlc at compilation time (Apple-B)? I need to add a -default-size argument to the compiler but can't see where. I don't want to edit the build script but I want to put it in the 'right' place. Is there a project specific variable I could use?There are two ways to do this, firstly you could choose the Build (custom) command and have it execute your own script. However I'd recommend that you use a build-config.xml file which mxmlc reads when it beings the compilation process. You should see that it reads {flex_sdk_home}/frameworks/flex-config.xml (you can open this file by running the Configuration > Open flex-config.xml command) as the first step of compilation. By default mxmlc will also search for a config file in the same directory as your Main.as or Main.mxml file with a -config.xml suffix (so Main-config.xml).In your case the contents of the file should be:<flex-config><default-size><width>100</width><height>200</height></default-size></flex-config>Hope this helps.SimonFrom: Gaby Vanhegan <gaby@vanhegan.net>Date: October 31, 2007 12:44:03 PM GMT+01:00To: TextMate users <textmate@lists.macromates.com>Subject: Re: [TxMt] AS3/Flex, how to begin?Reply-To: TextMate users <textmate@lists.macromates.com>On 31 Oct 2007, at 11:32, Simon Gregory wrote:One question though; where is a sensible place to set any extra arguments that are passed to mxmlc at compilation time (Apple-B)? I need to add a -default-size argument to the compiler but can't see where. I don't want to edit the build script but I want to put it in the 'right' place. Is there a project specific variable I could use?There are two ways to do this...By default mxmlc will also search for a config file in the same directory as your Main.as or Main.mxml file with a -config.xml suffix (so Main-config.xml).That's exactly what I was looking for, thank you! I had put the directives into the Flex/frameworks/flex-config.xml files originally as a work-around but I wasn't happy with this. This solution solves the problem neatly and cleanly.Many thanks!Gaby--Junkets for bunterish lickspittles since 1998!
_______________________________________________textmate mailing list