From ld at ldaley.com Sun Feb 1 00:19:18 2009 From: ld at ldaley.com (Luke Daley) Date: Sun, 1 Feb 2009 10:19:18 +1000 Subject: [TxMt] Re: java (and probably other) highlighting In-Reply-To: References: Message-ID: <59C8B301-DCC0-47A5-94DD-7CE0581A4A25@ldaley.com> On 01/02/2009, at 5:35 AM, Robert J. Carr wrote: > I'm a brand new user (and licensee) of TextMate and I am mostly very > happy (and eager for the next release) but I am noticing a slight > syntax highlighting problem. > > I tend to write code like this (when argument lists get too long): > > Widget w = new Wiget( > x, > y, > z > ) There isn't a problem with this for me. Are you using the latest Java bundle? http://manual.macromates.com/en/bundles#getting_more_bundles > And that seems to break the highlighting. So sure, you might say, > "you write code weird, get over it", but in writing an enum, in what I > think is a "normal way", it also breaks it, e.g.: > > private enum ImageInfo { > WIDTH("100px"), > HEIGHT("100px"); > } This is a different case. The grammar didn't support enums at all, but it does now. If you get the latest Java bundle this should all work for you. -- LD. From rjcarr at gmail.com Sun Feb 1 02:39:55 2009 From: rjcarr at gmail.com (Robert J. Carr) Date: Sat, 31 Jan 2009 18:39:55 -0800 Subject: [TxMt] Re: java (and probably other) highlighting In-Reply-To: <59C8B301-DCC0-47A5-94DD-7CE0581A4A25@ldaley.com> References: <59C8B301-DCC0-47A5-94DD-7CE0581A4A25@ldaley.com> Message-ID: Thanks Luke ... I'll get the update and check it out. Much appreciated! On Sat, Jan 31, 2009 at 4:19 PM, Luke Daley wrote: > > On 01/02/2009, at 5:35 AM, Robert J. Carr wrote: > >> I'm a brand new user (and licensee) of TextMate and I am mostly very >> happy (and eager for the next release) but I am noticing a slight >> syntax highlighting problem. >> >> I tend to write code like this (when argument lists get too long): >> >> Widget w = new Wiget( >> x, >> y, >> z >> ) > > There isn't a problem with this for me. Are you using the latest Java > bundle? > > http://manual.macromates.com/en/bundles#getting_more_bundles > >> And that seems to break the highlighting. So sure, you might say, >> "you write code weird, get over it", but in writing an enum, in what I >> think is a "normal way", it also breaks it, e.g.: >> >> private enum ImageInfo { >> WIDTH("100px"), >> HEIGHT("100px"); >> } > > This is a different case. The grammar didn't support enums at all, but > it does now. > > If you get the latest Java bundle this should all work for you. > > -- > > LD. > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > From nhelke at gmail.com Sun Feb 1 14:46:40 2009 From: nhelke at gmail.com (Nicholas Helke) Date: Sun, 1 Feb 2009 15:46:40 +0100 Subject: [TxMt] Apache Documentation for Word bug Message-ID: <67EAD140-F955-467C-B77D-AA80B3B75626@gmail.com> Hi! The "Documentation for Word" command in the default Apache bundle fails with the following error. /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Apache.tmbundle/Support/bin/apache_doc.rb:39: uninitialized constant Error (NameError) The file in question which has not been fixed on SVN yet cf. http://svn.textmate.org/trunk/Bundles/Apache.tmbundle/Support/bin/apache_doc.rb seems to point to this being a known bug. Line 42 reads: #TODO: Check the Error "Superclass" assumption otherwise this will fail. Could someone please fix this. Regards, Nicholas From gertmt at mac.com Sun Feb 1 21:08:31 2009 From: gertmt at mac.com (Gert van Oss) Date: Sun, 01 Feb 2009 22:08:31 +0100 Subject: [TxMt] RubyFrontier Message-ID: Last week I read an article re. where a bundle 'RubyFrontier' was mentioned. Reading the documentation I got the impression that this bundle is somewhere available but I do not see it when I use the GetBundles-Bundle. Maybe someone can tell me where to find this RubyFrontier-Bundle? Or confirm that it is not available yet. Thanks, Gert From william at pioneerstreet.com Mon Feb 2 02:15:31 2009 From: william at pioneerstreet.com (William Makley) Date: Sun, 1 Feb 2009 21:15:31 -0500 Subject: [TxMt] Re: PHP Commenting Seems Somewhat Broken In-Reply-To: References: <2A794DF1-619C-48E4-A9EF-D12513C9C778@pioneerstreet.com> Message-ID: <9D64DF89-871E-4EE3-B006-7A52A4349678@pioneerstreet.com> Thanks for the response! On Jan 30, 2009, at 6:39 AM, Allan Odgaard wrote: > >> but destroys the indentation of my function: >> [...] > > For this, please give a step-by-step of what you do, what you expect, > and quote the text literally, and be careful that you are not mixing > spaces and tabs. > I can't get this to happen again, so somehow, in my quick test case, I managed to mix up spaces and tabs. x_X Thanks, William From simon at helvector.org Mon Feb 2 08:30:21 2009 From: simon at helvector.org (Simon Gregory) Date: Mon, 2 Feb 2009 08:30:21 +0000 Subject: [TxMt] Re: Apache Documentation for Word bug In-Reply-To: <67EAD140-F955-467C-B77D-AA80B3B75626@gmail.com> References: <67EAD140-F955-467C-B77D-AA80B3B75626@gmail.com> Message-ID: <75A108E9-DBA5-46FF-BA0C-A672B2335CDF@helvector.org> > The "Documentation for Word" command in the default Apache bundle > fails with the following error[....] Can you try r11213 or later and drop me a line if you're still having problems. Cheers, Simon From flo at andersground.net Mon Feb 2 09:21:58 2009 From: flo at andersground.net (Florian Gilcher) Date: Mon, 2 Feb 2009 10:21:58 +0100 Subject: [TxMt] Re: java (and probably other) highlighting In-Reply-To: References: Message-ID: <2ADC47B7-B861-4CD7-BF7F-EAF6ABAEB374@andersground.net> In short: it is a limitation of the parser. There is an old, hard to find topic on that: http://lists.macromates.com/textmate/2007-June/020363.html Basically the problem is that the parser only sees the document line- by-line. See the thread for some in-deep explanations on why it behaves like this. Nevertheless, have a lot of fun hacking! Florian Gilcher On Jan 31, 2009, at 8:35 PM, Robert J. Carr wrote: > I'm a brand new user (and licensee) of TextMate and I am mostly very > happy (and eager for the next release) but I am noticing a slight > syntax highlighting problem. > > I tend to write code like this (when argument lists get too long): > > Widget w = new Wiget( > x, > y, > z > ) > > And that seems to break the highlighting. So sure, you might say, > "you write code weird, get over it", but in writing an enum, in what I > think is a "normal way", it also breaks it, e.g.: > > private enum ImageInfo { > WIDTH("100px"), > HEIGHT("100px"); > } > > So I'm wondering if I can update the syntax file to account for this, > and if so, how? > > Thanks! > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate -- Florian Gilcher smtp: flo at andersground.net jabber: Skade at jabber.ccc.de gpg: 533148E2 From nigel at greenlemur.com Mon Feb 2 16:10:11 2009 From: nigel at greenlemur.com (Nigel Green) Date: Mon, 2 Feb 2009 16:10:11 +0000 Subject: [TxMt] HTML vs. PHP Message-ID: Hi there, I think this is more a new angle on an old question - can anyone tell me what I *lose* if I work with PHP in PHP-mode rather than HTML-mode? I ask because I am getting a little frustrated at the way snippets of HTML are messing with the folding on my PHP files. I realise it's probably bad form to have an open
tag in a separate file to it's closing
tag, but needs must when the devil drives. I have set the language to PHP and all seems to be ok, but I know I have read in a few places to set the language to HTML in PHP files. Cheers, Nigel From timothy.c.bates at gmail.com Mon Feb 2 17:05:08 2009 From: timothy.c.bates at gmail.com (Timothy Bates) Date: Mon, 2 Feb 2009 17:05:08 +0000 Subject: [TxMt] Re: HTML vs. PHP In-Reply-To: References: Message-ID: It's not a big deal one way or the other. Pup seems to suit your Viding style, so run with that. Sent from my iPhone On 2 Feb 2009, at 04:10 PM, Nigel Green wrote: > Hi there, > > I think this is more a new angle on an old question - can anyone tell > me what I *lose* if I work with PHP in PHP-mode rather than HTML-mode? > I ask because I am getting a little frustrated at the way snippets of > HTML are messing with the folding on my PHP files. I realise it's > probably bad form to have an open
tag in a separate file to it's > closing
tag, but needs must when the devil drives. I have set > the language to PHP and all seems to be ok, but I know I have read in > a few places to set the language to HTML in PHP files. > > > Cheers, > Nigel > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From mailinglist at textmate.org Mon Feb 2 19:59:13 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Mon, 2 Feb 2009 20:59:13 +0100 Subject: [TxMt] Re: HTML vs. PHP In-Reply-To: References: Message-ID: <26AD5ADD-A8AE-455B-B3CD-B03395E48077@textmate.org> On 2 Feb 2009, at 17:10, Nigel Green wrote: > I think this is more a new angle on an old question - can anyone tell > me what I *lose* if I work with PHP in PHP-mode rather than HTML-mode? http://wiki.macromates.com/Troubleshooting/PHPSyntaxHighlight As for what you lose, well, we tried to make it not completely broken, by having the PHP grammar itself double the rules, but you will of course lose proper parsing of what?s outside those tags. As for your problems working with PHP in HTML using the mode we designed for this, if you specifically list your problems, maybe it is something we can address. From mailinglist at textmate.org Mon Feb 2 20:08:05 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Mon, 2 Feb 2009 21:08:05 +0100 Subject: [TxMt] Re: TM hangs while waiting for tm_dialog2 In-Reply-To: References: <246254A6-3BBE-45AC-B0A1-6F88546A58F2@textmate.org> Message-ID: On 31 Jan 2009, at 13:36, Ant?nio Afonso wrote: > [...] if I detach the script how can I return text to the bundle > command? In this particular case I would like to "Show as Tool Tip" You can display tool tips via $DIALOG. > the output, but in the future I'd also want to "Replace *". This is not possible, no. It is possible to insert text via $DIALOG, but it?s unsupported API ? with Dialog1 you can open modal dialogs, and so you don?t need to detach, it?s something I deliberatly left out of Dialog2 both because the current commands using it did it only out of lazyness, and because the way it was implemented was dependent on how TM does things, which will change in the future, so it was not easy to make the plug-in work for present and future ? so I figured if people really need it, they can use the old dialog API or make a really good case for why I should revisit the problem ;) If you give some details about what you are creating, I might be able to suggest what the best approach is for you. From lists-textmate at jay.fm Tue Feb 3 13:30:10 2009 From: lists-textmate at jay.fm (Jay Levitt) Date: Tue, 03 Feb 2009 08:30:10 -0500 Subject: [TxMt] Re: GetBundles timeout/deadlock error? In-Reply-To: <89F32DE2-3954-4C17-8F16-64252DEEF307@eva.mpg.de> References: <497B9FD6.1000002@jay.fm> <497F6F58.5060303@jay.fm> <89F32DE2-3954-4C17-8F16-64252DEEF307@eva.mpg.de> Message-ID: <498846E2.8050503@jay.fm> Hans-J?rg Bibiko wrote: >> Hans-J?rg Bibiko wrote: >>> On 25.01.2009, at 00:10, Jay Levitt wrote: >>>> `getResultFromDIALOG': Thread(0x5b750c): deadlock (fatal) >>>> from /Users/jay/Library/Application >>>> Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb: >>>> 1165 >>> - Ruby version (ruby -v) >> ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9] > > Since I've learnt from James Gray in that list: > http://www.nabble.com/Re:-(NoMethodError)-with-TODO-Bundle-p21689534.html > > that using Ruby 1.8.7 is tricky I'd suggest first to set up your > environment in such a way that > > /usr/bin/env ruby -wKU > > calls Ruby 1.8.6 (default on Leopard) and try to run GetBundles again. Ah hah! I uninstalled the MacPorts version of Ruby, and GetBundles now works fine. I'd seen a few problems under 1.8.7, but I assumed they were all my fault (or older Rails versions); I didn't realize that it was a hybrid of 1.8 and 1.9 functionality with such common compatibility problems. Learned my lesson. Thanks. Jay From adrian.felder at screenconcept.ch Wed Feb 4 09:41:36 2009 From: adrian.felder at screenconcept.ch (Adrian Felder) Date: Wed, 04 Feb 2009 10:41:36 +0100 Subject: [TxMt] displaced character deletion Message-ID: Hello List, When I?m deleting single characters using the backspace or delete key textmate shows a very strange behaviour; instead of the character next to the cursor the second char before the cursor gets deleted. For Example: If I want to delete de character ?a? in the Word ?Textmate? I place the cursor after the ?a? character and press backspace. Now the character ?m? gets deleted! Using the delete key I have the same behaviour but to the other direction. I have already completely removed textmate and reinstalled it but still the same effect. I use the most recent revision 1496 from 2008-11-27. I bought the licence of this product. I looking forward to hear from you. Best regards A. Felder -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam.reynolds at truphone.com Wed Feb 4 12:35:44 2009 From: adam.reynolds at truphone.com (Adam Reynolds) Date: Wed, 4 Feb 2009 12:35:44 +0000 Subject: [TxMt] Default file type Message-ID: <547C80B9-BBA0-4B80-A287-8F4D046790FE@truphone.com> I'm trying Textmate out and wondering if it's possible to set a default file type. I'm using it pretty much exclusively for editing SQL and would like it to default to SQL highlighting rather than plain test Adam Truphone and SIM4travel are trading names of Software Cellular Network Ltd. registered in England and Wales (registered company number: 4187081). Registered office: 5 New Street Square, London EC4A 3TW This e-mail, and any attachment/s, may contain information which is confidential or privileged, and is intended for the addressee only. If you are not the intended recipient, you may not disclose, copy or distribute this information in any manner whatsoever. If you have received this e-mail in error, please contact the sender immediately and delete it. From bibiko at eva.mpg.de Wed Feb 4 12:55:27 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Wed, 4 Feb 2009 13:55:27 +0100 Subject: [TxMt] Re: Default file type In-Reply-To: <547C80B9-BBA0-4B80-A287-8F4D046790FE@truphone.com> References: <547C80B9-BBA0-4B80-A287-8F4D046790FE@truphone.com> Message-ID: <4C2E9313-52C3-4840-8A35-481620AD2B1E@eva.mpg.de> On 04.02.2009, at 13:35, Adam Reynolds wrote: > I'm trying Textmate out and wondering if it's possible to set a > default file type. I'm using it pretty much exclusively for editing > SQL and would like it to default to SQL highlighting rather than plain > test > > Adam > > Truphone and SIM4travel are trading names of Software Cellular > Network Ltd. registered in England and Wales (registered company > number: 4187081). Registered office: 5 New Street Square, London > EC4A 3TW > > This e-mail, and any attachment/s, may contain information which is > confidential or privileged, and is intended for the addressee only. > If you are not the intended recipient, you may not disclose, copy or > distribute this information in any manner whatsoever. If you have > received this e-mail in error, please contact the sender immediately > and delete it. See http://manual.macromates.com/en/expert_preferences.html chapter 22.6 OakDefaultLanguage which refers to http://lists.macromates.com/textmate/2006-February/008276.html In your case to set the default language to SQL simply execute the following line in the Terminal: defaults write com.macromates.textmate OakDefaultLanguage C49120AC-6ECC-11D9-ACC8-000D93589AF6 --Hans From mlloeb at gmail.com Thu Feb 5 22:29:42 2009 From: mlloeb at gmail.com (Mike007) Date: Thu, 5 Feb 2009 14:29:42 -0800 (PST) Subject: [TxMt] Re: Speed of latex in TM vs. TexShop Message-ID: <21837876.post@talk.nabble.com> > Christopher Brewster wrote: >> I am a passionate devotee to TM but I notice that latex compiles much >> faster on TexShop than in TM. >> Is there something I can do to improve the performance of TM? >> >> TM takes 4-6 seconds to compile and display on skim. >> TexShop takes 2-3 seconds. Christopher, Has there been any resolution to your TM/Latex problem? I am having the same speed issue, even with pdflatex as the engine and turning off spell checking (the latter solution was suggested in a different post). For what it's worth, I'm running 10.4.11 on a G4 iMac with 1.24Ghz and 768 RAM. I'd appreciate some input. The slowness of TM making me crazy but I don't want to go back to TeXShop. Thanks, Mike -- View this message in context: http://www.nabble.com/Speed-of-latex-in-TM-vs.-TexShop-tp20225325p21837876.html Sent from the textmate users mailing list archive at Nabble.com. From tm-alex at rosiba.com Thu Feb 5 23:07:50 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Thu, 5 Feb 2009 15:07:50 -0800 Subject: [TxMt] Re: Speed of latex in TM vs. TexShop In-Reply-To: <21837876.post@talk.nabble.com> References: <21837876.post@talk.nabble.com> Message-ID: <5E4FC760-1493-490D-9861-98BE9E02BC0B@rosiba.com> On Feb 5, 2009, at 2:29 PM, Mike007 wrote: > >> Christopher Brewster wrote: >>> I am a passionate devotee to TM but I notice that latex compiles >>> much >>> faster on TexShop than in TM. >>> Is there something I can do to improve the performance of TM? >>> >>> TM takes 4-6 seconds to compile and display on skim. >>> TexShop takes 2-3 seconds. > > Christopher, > Has there been any resolution to your TM/Latex problem? I am having > the same > speed issue, even with pdflatex as the engine and turning off spell > checking > (the latter solution was suggested in a different post). > > For what it's worth, I'm running 10.4.11 on a G4 iMac with 1.24Ghz > and 768 > RAM. > > I'd appreciate some input. The slowness of TM making me crazy but I > don't > want to go back to TeXShop. I think this is at least partly due to the fact that the compile command is written in python, and it scans the source documents for various reasons. I got so sick of it, that I made my own command. It is on github so you can install it with ?GetBundles?, or with git: git clone git://github.com/alexross/latextra-tmbundle.git Caveats are that this command is only compatible with Skim, and probably isn't as configurable as the default LaTeX compile & view command. From textmate at skurfer.com Fri Feb 6 14:50:28 2009 From: textmate at skurfer.com (Rob McBroom) Date: Fri, 6 Feb 2009 09:50:28 -0500 Subject: [TxMt] Re: displaced character deletion In-Reply-To: References: Message-ID: On 2009-Feb-4, at 4:41 AM, Adrian Felder wrote: > When I?m deleting single characters using the backspace or delete > key textmate shows a very strange behaviour; instead of the > character next to the cursor the second char before the cursor gets > deleted. For Example: If I want to delete de character ?a? in the > Word ?Textmate? I place the cursor after the ?a? character and press > backspace. Now the character ?m? gets deleted! Using the delete key > I have the same behaviour but to the other direction. Are you using a fixed-width or a variable-width font? I know variable- width fonts don't work very well and I wonder if that's causing the cursor to be displayed in a different position from where it actually is. -- Rob McBroom Because it screws up the order in which people normally read text. Original message: > Why is it bad to top-post your reply? From adrian.felder at screenconcept.ch Fri Feb 6 15:25:10 2009 From: adrian.felder at screenconcept.ch (Adrian Felder) Date: Fri, 6 Feb 2009 07:25:10 -0800 (PST) Subject: [TxMt] Re: displaced character deletion In-Reply-To: References: Message-ID: <21874615.post@talk.nabble.com> I just found out what the cause for this behaviour was: As soon as I unchecked the Anti alias option in the Fonts & Colors Tab of the preferences the problem was gone. After this I remembered that I disabled the antialiasing for fonts in the systemsettings of my imac. Obviously one has to pay attention that this setting is either switched on or off for both textmate and system. Thanks for your sugestions anyway! Adrian -- View this message in context: http://www.nabble.com/displaced-character-deletion-tp21827228p21874615.html Sent from the textmate users mailing list archive at Nabble.com. From paozac at gmail.com Fri Feb 6 22:13:55 2009 From: paozac at gmail.com (Paolo Zaccagnini) Date: Fri, 6 Feb 2009 22:13:55 +0000 (UTC) Subject: [TxMt] Alert bell on focus lost and autosave Message-ID: I'm having the same problem discussed here a couple years ago: http://thread.gmane.org/gmane.editors.textmate.general/20093 On my dual g5 powermac (leopard 10.5.6) I get the alert bell whenever textmate (r1496) loses focus and the "save file when focus is lost" option is enabled. I couldn't find any debug info anywhere. It happens even if I create a new file from the command line this way: $ mate foobar.txt The file is written with no problems. This doesn't happen on my macbook. Thanks for any info... Cheers From edewitt at hampshire.edu Fri Feb 6 13:48:35 2009 From: edewitt at hampshire.edu (Eric DeWitt) Date: Fri, 6 Feb 2009 13:48:35 +0000 (UTC) Subject: [TxMt] Re: Latex bundle troubleshooting II References: <0EF5254C-F23E-4036-8BFD-694718D39E9C@rosiba.com> <75586DBD-80B5-413D-AFFA-9825F75DC144@gmail.com> <026D05BF-EC6F-448A-804B-4CEF25DF2464@mac.com> <14A093EE-235D-4C74-881B-6E774B88FCCD@mac.com> <37D6DA07-5459-4E45-BC33-42F0C35A5A83@mac.com> <579745E8-BDC9-4E4A-8331-84289D67E2BD@rosiba.com> <9AC99892-FA01-4731-AFAE-0A56CE3FA578@mac.com> <868A55EB-7E2A-4F56-B033-926280FF2804@rosiba.com> <39E236D2-CEAB-4AAE-B7E1-4056ACAD43B7@mac.com> <092AF19B-BC63-443F-90D9-E263325740E8@rosiba.com> Message-ID: Alex Ross writes: > There are several problems with sourcing the users shell profile. > Often users have code that is not meant to be run, except when > starting a new terminal. Other times, there are bugs in the user's > profile that prevents commands from working. So, sourcing the profile > is inadvisable. > > I agree that it is inconvenient to maintain a PATH in the Shell > Variables. In the future TextMate will have a better method to handle > it. But we are stuck with the shell vars prefpane for now. > > ?Alex > > _______________________________________________ > textmate mailing list > textmate at ... > http://lists.macromates.com/listinfo/textmate > > I'm confused because TextMate does in general source your ~/.bash_profile all general shell processing except, as I understand it, for direct invocations of interpreters (e.g. Ruby, etc.) via the #!/usr/bin/ruby interpreter call. I believe there is a generally accepted mechanism for separating login from non-login shell scripting for most of the common shell startup sequences. What is frustrating is that if you want to keep managing your path sane, you should keep it in as few places as possible. It seems like following the general TextMate approach to process your path via the same sequence that TM's bash_init.sh uses would be most consistent, if imperfect. I've taken to using the ~/.MacOSX/environment.plist mechanism which has it's own problems. -eric From debajit at debajit.com Sat Feb 7 01:24:23 2009 From: debajit at debajit.com (Debajit) Date: Fri, 6 Feb 2009 17:24:23 -0800 (PST) Subject: [TxMt] Textmate: How do I enter a repeated sequence of characters? Message-ID: <21883679.post@talk.nabble.com> I often need to enter text (consisting of repeated characters) like this: ------------------------------------ TODO ------------------------------------ In emacs, I can do a C-u 60 - that's a Ctrl+U followed by a "60" followed by a "-", which makes entering a repeated sequence of characters easy. Is there any way to do something like this in TextMate? -- View this message in context: http://www.nabble.com/Textmate%3A-How-do-I-enter-a-repeated-sequence-of-characters--tp21883679p21883679.html Sent from the textmate users mailing list archive at Nabble.com. From kaijanson at thejeeper.net Sat Feb 7 01:37:41 2009 From: kaijanson at thejeeper.net (Kai Janson) Date: Fri, 6 Feb 2009 19:37:41 -0600 Subject: [TxMt] Textmate cannot create new files Message-ID: Hi List! I am not sure what exactly happened to my TextMate but it doesn't create any new files anymore. The dialog still pops up, takes all the parameters and stuff, but then, nada. No new file and NO error message. --Kai From gvdgdo at gmail.com Sat Feb 7 02:24:58 2009 From: gvdgdo at gmail.com (Guido Governatori) Date: Sat, 7 Feb 2009 12:24:58 +1000 Subject: [TxMt] Re: Textmate: How do I enter a repeated sequence of characters? In-Reply-To: <21883679.post@talk.nabble.com> References: <21883679.post@talk.nabble.com> Message-ID: <71931C1D-0FC3-4D3C-BE76-39048DAEB6FF@gmail.com> On 07/02/2009, at 11:24 AM, Debajit wrote: > > I often need to enter text (consisting of repeated characters) like > this: > > ------------------------------------ > TODO > ------------------------------------ > > In emacs, I can do a > > C-u 60 - > that's a Ctrl+U followed by a "60" followed by a "-", which makes > entering a > repeated sequence of characters easy. > > Is there any way to do something like this in TextMate? A simple solution is to create a new command #!/usr/bin/env ruby -wKU linea = ENV['TM_CURRENT_LINE'] linea = linea.split(" ") character = linea.pop number = linea.pop.to_i print linea.join(" ") + " " number.times {print character} # end with Input: selected text or line Output: insert as snippet Activation, Key Equivalent: C-u then to us the command type 10 * and then C-u to have 10 * replaced by ********* It is possible to use stings of text, e.g., 5 +* prints +*+*+*+*+*+* You have to leave an empty space before the numerical value and an empty space between the two arguments. (In the current form, all repeated empty spaces are collapsed to 1). An alternative is to use a macro to select the two arguments and then use the main idea of the script above. All the best Guido -- Guido Governatori http://www.governatori.net/Textmate From gchappi at gmail.com Sun Feb 8 18:40:43 2009 From: gchappi at gmail.com (Hans-Peter Suter) Date: Sun, 8 Feb 2009 19:40:43 +0100 Subject: [TxMt] Redefine shortcuts? Message-ID: <47fce0650902081040t1331c241o7169f273b5b10ce2@mail.gmail.com> I'd like to redefine the shortcut for 'comment/uncomment' from 'SHIFT+APPLE+/' to 'CTRL+?'. Of course I could copy the command (code) from the source bundle, but I'd prefer to only call the existing command from my bundle. Is this possible? Or is there any other easy way? Thanks and cheers, Hans-Peter From mailinglist at textmate.org Sun Feb 8 22:42:17 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 8 Feb 2009 23:42:17 +0100 Subject: [TxMt] Re: displaced character deletion In-Reply-To: <21874615.post@talk.nabble.com> References: <21874615.post@talk.nabble.com> Message-ID: On 6 Feb 2009, at 16:25, Adrian Felder wrote: > [...] After this I remembered that I disabled the antialiasing for > fonts in the systemsettings of my imac. Obviously one has to pay > attention that this setting is either switched on or off for both > textmate and system. Yeah, it?s really weird, the problem seems to be that TextMate does kerning calculations w/o any screen info, so it will not know that anti alias is disabled when actual rendering happens (by the global system setting), but anti-alias will affect kerning ? don?t really think it is solvable w/o ditching ATSUI. From mailinglist at textmate.org Sun Feb 8 22:43:55 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 8 Feb 2009 23:43:55 +0100 Subject: [TxMt] Re: Alert bell on focus lost and autosave In-Reply-To: References: Message-ID: <64C9716C-422F-4EAE-AE86-8DBD4ED41950@textmate.org> On 6 Feb 2009, at 23:13, Paolo Zaccagnini wrote: > I'm having the same problem discussed here a couple years ago: > > http://thread.gmane.org/gmane.editors.textmate.general/20093 > > On my dual g5 powermac (leopard 10.5.6) I get the alert bell > whenever textmate > (r1496) loses focus and the "save file when focus is lost" option is > enabled. I > couldn't find any debug info anywhere. And by ?anywhere? I assume you looked in Console? > It happens even if I create a new file > from the command line this way: > $ mate foobar.txt > The file is written with no problems. Did you try relaunch TextMate? And is this a new problem (i.e. it worked in the past where you used the ?save on lost focus? feature)? From mailinglist at textmate.org Sun Feb 8 22:44:29 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 8 Feb 2009 23:44:29 +0100 Subject: [TxMt] Re: Textmate cannot create new files In-Reply-To: References: Message-ID: <211400B4-4EFD-4A7E-9402-C8C07D3758B1@textmate.org> On 7 Feb 2009, at 02:37, Kai Janson wrote: > I am not sure what exactly happened to my TextMate but it doesn't > create any new files anymore. Most likely caused by changes to your shell startup files, see: http://wiki.macromates.com/Troubleshooting/Templates From mailinglist at textmate.org Sun Feb 8 22:45:14 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 8 Feb 2009 23:45:14 +0100 Subject: [TxMt] Re: Redefine shortcuts? In-Reply-To: <47fce0650902081040t1331c241o7169f273b5b10ce2@mail.gmail.com> References: <47fce0650902081040t1331c241o7169f273b5b10ce2@mail.gmail.com> Message-ID: On 8 Feb 2009, at 19:40, Hans-Peter Suter wrote: > I'd like to redefine the shortcut for 'comment/uncomment' from > 'SHIFT+APPLE+/' to 'CTRL+?'. > > Of course I could copy the command (code) from the source bundle, but > I'd prefer to only call the existing command from my bundle. Is this > possible? Or is there any other easy way? Very easy, go to Bundles ? Commands and locate the command (Source bundle), then click the key equivalent field and press ??. From giuseppe at bonsai-studio.net Mon Feb 9 07:35:05 2009 From: giuseppe at bonsai-studio.net ((((Bonsai Studio))) - Giuseppe) Date: Mon, 9 Feb 2009 08:35:05 +0100 Subject: [TxMt] Scope hierarchy Message-ID: <6E9EB86C-9AF3-4B89-BEA3-539C104E3140@bonsai-studio.net> Hi all, is there a scopes' hierarchical list? I am trying to style a theme but I am confused on which scope to use and their hierarchical order. Thanks a lot to everyone. From paozac at gmail.com Mon Feb 9 14:59:37 2009 From: paozac at gmail.com (Paolo Zaccagnini) Date: Mon, 9 Feb 2009 14:59:37 +0000 (UTC) Subject: [TxMt] Re: Alert bell on focus lost and autosave References: <64C9716C-422F-4EAE-AE86-8DBD4ED41950@textmate.org> Message-ID: Allan Odgaard writes: > > On my dual g5 powermac (leopard 10.5.6) I get the alert bell > > whenever textmate > > (r1496) loses focus and the "save file when focus is lost" option is > > enabled. I > > couldn't find any debug info anywhere. > > And by ?anywhere? I assume you looked in Console? Yes, I checked all available logs. > > It happens even if I create a new file > > from the command line this way: > > $ mate foobar.txt > > The file is written with no problems. > > Did you try relaunch TextMate? And is this a new problem (i.e. it > worked in the past where you used the ?save on lost focus? feature)? > I relaunched TM many times with no success. I've been working with the "save on lost focus" feature for quite a long time, so I immediately noticed the weird behaviour. But yesterday, after rebooting the box for a system update, things went back to normal, no more bell. All's well that ends well... Cheers From timothy.c.bates at gmail.com Mon Feb 9 23:51:28 2009 From: timothy.c.bates at gmail.com (Timothy Bates) Date: Mon, 9 Feb 2009 23:51:28 +0000 Subject: [TxMt] Re: Alert bell on focus lost and autosave In-Reply-To: References: <64C9716C-422F-4EAE-AE86-8DBD4ED41950@textmate.org> Message-ID: I had the same thing after updating iWork 09, but not rebooting immediately. also resolved after a reboot. On 9 Feb 2009, at 2:59 PM, Paolo Zaccagnini wrote: > Allan Odgaard writes: > >>> On my dual g5 powermac (leopard 10.5.6) I get the alert bell >>> whenever textmate >>> (r1496) loses focus and the "save file when focus is lost" option is >>> enabled. I >>> couldn't find any debug info anywhere. >> >> And by ?anywhere? I assume you looked in Console? > > Yes, I checked all available logs. > >>> It happens even if I create a new file >>> from the command line this way: >>> $ mate foobar.txt >>> The file is written with no problems. >> >> Did you try relaunch TextMate? And is this a new problem (i.e. it >> worked in the past where you used the ?save on lost focus? feature)? >> > > I relaunched TM many times with no success. I've been working with the > "save on lost focus" feature for quite a long time, so I immediately > noticed > the weird behaviour. But yesterday, after rebooting the box for a > system > update, things went back to normal, no more bell. > All's well that ends well... > Cheers > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From gchappi at gmail.com Tue Feb 10 10:21:06 2009 From: gchappi at gmail.com (Hans-Peter) Date: Tue, 10 Feb 2009 10:21:06 +0000 (UTC) Subject: [TxMt] Re: Redefine shortcuts? References: <47fce0650902081040t1331c241o7169f273b5b10ce2@mail.gmail.com> Message-ID: Allan Odgaard writes: > On 8 Feb 2009, at 19:40, Hans-Peter Suter wrote: > > > I'd like to redefine the shortcut for 'comment/uncomment' from > > 'SHIFT+APPLE+/' to 'CTRL+?'. > > [snip] > > Very easy, go to Bundles ? Commands and locate the command (Source > bundle), then click the key equivalent field and press ??. Sorry I was not clear: I didn't want to redefine the shortcut globally, but only for my bundle. (But maybe it's not such a good idea to make bundle specific redefinitions and for the moment it works with the copied source command). Thanks anyway! Hans-Peter From mbauman.lists at gmail.com Tue Feb 10 17:14:28 2009 From: mbauman.lists at gmail.com (Matt Bauman) Date: Tue, 10 Feb 2009 17:14:28 +0000 (UTC) Subject: [TxMt] Re: =?utf-8?q?Textmate=3A_How_do_I_enter_a_repeated_sequence_of?= =?utf-8?q?=09characters=3F?= References: <21883679.post@talk.nabble.com> <71931C1D-0FC3-4D3C-BE76-39048DAEB6FF@gmail.com> Message-ID: On 07/02/2009, at 11:24 AM, Debajit wrote: > In emacs, I can do a > > C-u 60 - > that's a Ctrl+U followed by a "60" followed by a "-", which makes > entering a repeated sequence of characters easy. > > Is there any way to do something like this in TextMate? You can identically duplicate this functionality across all (Cocoa) OS X apps. Enter the following in Terminal: defaults write -g NSRepeatCountBinding -string "^u" Now, by default this conflicts with TextMate's binding for uppercase... I don't know which will take priority. You can make the NSRepeatCountBinding string something different, or you can change TextMate's setting in Textmate.app/Contents/Resources/KeyBindings.dict From textmate at minimaldesign.net Tue Feb 10 19:14:18 2009 From: textmate at minimaldesign.net (minimal design) Date: Tue, 10 Feb 2009 14:14:18 -0500 Subject: [TxMt] Thank you, thank you, thank you! Message-ID: "[CHANGED] The command modifiers are no longer present for disambiguation menu items." Thanks a bunch for that... I could never get used to it :) From andrew at article7.co.uk Wed Feb 11 09:46:51 2009 From: andrew at article7.co.uk (Andrew Green) Date: Wed, 11 Feb 2009 09:46:51 +0000 Subject: [TxMt] Leopard Spaces issue Message-ID: Hi, Is there anything I can do to help deal with the following issue with Leopard's Spaces feature? I like to keep each project I'm working on at any one time in its own space, which often means having 3 or 4 TextMate project windows open. I have TextMate assigned as belonging to every space. Sometimes, I need to reorganise this, and it would be convenient to open the spaces overview screen and drag one of the TextMate windows to a different space. Unfortunately, doing this causes all the open TextMate windows to move to that space. I'd chalk this down to a general problem with spaces if it weren't that Safari doesn't have the same problem. Again, Safari is assigned to every space -- but here I can use the spaces overview screen to drag a Safari window from one space to another without causing all Safari windows to move to that space. To make the comparison clearer, I've done a quick quasi-screencast: http://www.shedside.com/tmp/spaces.mov Cheers, Andrew. From mailinglist at textmate.org Wed Feb 11 09:58:09 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Wed, 11 Feb 2009 10:58:09 +0100 Subject: [TxMt] Re: Scope hierarchy In-Reply-To: <6E9EB86C-9AF3-4B89-BEA3-539C104E3140@bonsai-studio.net> References: <6E9EB86C-9AF3-4B89-BEA3-539C104E3140@bonsai-studio.net> Message-ID: <9018A991-49A4-43ED-839C-804FDFB1647B@textmate.org> On 9 Feb 2009, at 08:35, (((Bonsai Studio))) - Giuseppe wrote: > is there a scopes' hierarchical list? > I am trying to style a theme but I am confused on which scope to use > and their hierarchical order. http://manual.macromates.com/en/language_grammars#naming_conventions From mailinglist at textmate.org Wed Feb 11 09:59:34 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Wed, 11 Feb 2009 10:59:34 +0100 Subject: [TxMt] Re: Redefine shortcuts? In-Reply-To: References: <47fce0650902081040t1331c241o7169f273b5b10ce2@mail.gmail.com> Message-ID: <5B35E9CB-B9DA-4199-BD6D-894B560029D4@textmate.org> On 10 Feb 2009, at 11:21, Hans-Peter wrote: > Sorry I was not clear: I didn't want to redefine the shortcut > globally, but only > for my bundle. (But maybe it's not such a good idea to make bundle > specific > redefinitions and for the moment it works with the copied source > command). You can easily change key bindings for certain scopes using the scope selector, but yeah, it seems like a bad idea to take a standard (global) key and redefine it only for a certain language/scope. From mailinglist at textmate.org Wed Feb 11 10:04:10 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Wed, 11 Feb 2009 11:04:10 +0100 Subject: [TxMt] Re: Leopard Spaces issue In-Reply-To: References: Message-ID: On 11 Feb 2009, at 10:46, Andrew Green wrote: > [...] open the spaces overview screen and drag one of the TextMate > windows to a different space. Unfortunately, doing this causes all > the open TextMate windows to move to that space. All open TextMate windows _with a drawer_. It is a Spaces bug and I encourage you to file a bug report using https://bugreport.apple.com/ (I think I filed one myself, but I have been looked out of the bug reporter for over a week now ?due to security reasons? so I can?t check), anyway, the more the merrier. One present workaround is installing one of the plug-ins that disable the TextMate drawer (ProjectPlus or MissingDrawer). From giuseppe at bonsai-studio.net Wed Feb 11 10:06:22 2009 From: giuseppe at bonsai-studio.net ((((Bonsai Studio))) - Giuseppe) Date: Wed, 11 Feb 2009 11:06:22 +0100 Subject: [TxMt] Re: Scope hierarchy In-Reply-To: <9018A991-49A4-43ED-839C-804FDFB1647B@textmate.org> References: <6E9EB86C-9AF3-4B89-BEA3-539C104E3140@bonsai-studio.net> <9018A991-49A4-43ED-839C-804FDFB1647B@textmate.org> Message-ID: <0A7C7B46-87F0-4401-96B7-787983F40123@bonsai-studio.net> Thanks a lot Allan, I had to search better first. Il giorno 11/feb/09, alle ore 10:58, Allan Odgaard ha scritto: > On 9 Feb 2009, at 08:35, (((Bonsai Studio))) - Giuseppe wrote: > >> is there a scopes' hierarchical list? >> I am trying to style a theme but I am confused on which scope to use >> and their hierarchical order. > > http://manual.macromates.com/en/language_grammars#naming_conventions > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > From dave.baldwin at 3dlabs.com Wed Feb 11 10:14:16 2009 From: dave.baldwin at 3dlabs.com (Dave Baldwin) Date: Wed, 11 Feb 2009 10:14:16 +0000 Subject: [TxMt] Re: Leopard Spaces issue In-Reply-To: References: Message-ID: <54D1C06E-D903-4465-B24A-3167DECAB4AA@3dlabs.com> On 11 Feb 2009, at 09:46, Andrew Green wrote: > Hi, > > Is there anything I can do to help deal with the following issue with > Leopard's Spaces feature? > > I like to keep each project I'm working on at any one time in its own > space, which often means having 3 or 4 TextMate project windows open. > I have TextMate assigned as belonging to every space. > > Sometimes, I need to reorganise this, and it would be convenient to > open the spaces overview screen and drag one of the TextMate windows > to a different space. Unfortunately, doing this causes all the open > TextMate windows to move to that space. Not sure if this will help you, but one way to move a window to another space is while holding the mouse down in the window title bar type control 1 to move that window to space 1, control 2 to move to space 2, etc. Dave. > > > I'd chalk this down to a general problem with spaces if it weren't > that Safari doesn't have the same problem. Again, Safari is assigned > to every space -- but here I can use the spaces overview screen to > drag a Safari window from one space to another without causing all > Safari windows to move to that space. > > To make the comparison clearer, I've done a quick quasi-screencast: > > http://www.shedside.com/tmp/spaces.mov > > Cheers, > Andrew. > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From andrew at article7.co.uk Wed Feb 11 11:12:15 2009 From: andrew at article7.co.uk (Andrew Green) Date: Wed, 11 Feb 2009 11:12:15 +0000 Subject: [TxMt] Re: Leopard Spaces issue In-Reply-To: References: Message-ID: <21635EC3-448D-4528-BD40-EA4392EF7347@article7.co.uk> On 11 Feb 2009, at 10:04, Allan Odgaard wrote: > All open TextMate windows _with a drawer_. It is a Spaces bug and I > encourage you to file a bug report using https://bugreport.apple.com/ > (I think I filed one myself, but I have been looked out of the bug > reporter for over a week now ?due to security reasons? so I can?t > check), anyway, the more the merrier. Will do. Many thanks for the clarification on why that's happening. I notice Transmit has the same problem, which makes perfect sense. > One present workaround is installing one of the plug-ins that disable > the TextMate drawer (ProjectPlus or MissingDrawer). Magic. Sincere thanks to one and all. Cheers, Andrew. From david at carter.net Wed Feb 11 14:31:09 2009 From: david at carter.net (David Carter) Date: Wed, 11 Feb 2009 09:31:09 -0500 Subject: [TxMt] "no such file to load" error on require in Ruby Run command Message-ID: <7e87b6820902110631o4a54cd0fk9cba871715395605@mail.gmail.com> I'm getting this message only the first time I cmd-R a ruby script. *LoadError:* no such file to load ? builder method gem_original_require in *custom_require.rb* at line 27method require in *custom_require.rb* at line 27*at top level* in *getAndaleSales.rb* at line 56 If I cmd-R a second time, the script runs normally. If I restart TM, I get the same failure again on first run, works on second run. I followed the troubleshooting instructions & removed a local copy of the Ruby bundle that I had downloaded previously via svn. Thanks for any suggestions. --- David Carter david at carter.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.rogers at hef.ru.nl Wed Feb 11 15:14:37 2009 From: m.rogers at hef.ru.nl (Michael Rogers) Date: Wed, 11 Feb 2009 16:14:37 +0100 Subject: [TxMt] syntax highlighting C++ a bit broken Message-ID: TextMate just updated itself, now at version 1.5.8. Suddenly, the C++ highlighting is slightly broken. Example: #include #include #include "vector/Cartesian3Vector.h" #define C3V Cartesian3Vector #define PI acos(-1.0) int main(int argc, char *argv[]) { vector * tracks; McGossip mcg; double z0; } gives weird wrong highlighting. But if you add a semi-colon in a strategic place, everything is fine again. #include #include #include "vector/Cartesian3Vector.h" #define C3V Cartesian3Vector #define PI acos(-1.0); // Added semi-colon, but you don't want this in real code int main(int argc, char *argv[]) { vector * tracks; McGossip mcg; double z0; } Or if you move the #define ending with a parenthesis up one line it's happy again: #include #include #include "vector/Cartesian3Vector.h" #define PI acos(-1.0) #define C3V Cartesian3Vector int main(int argc, char *argv[]) { vector * tracks; McGossip mcg; double z0; } So I guess the line ending in closed paren is throwing it off. It didn't do this before the update. From timothy.c.bates at gmail.com Wed Feb 11 17:05:01 2009 From: timothy.c.bates at gmail.com (Timothy Bates) Date: Wed, 11 Feb 2009 17:05:01 +0000 Subject: [TxMt] Re: Scope hierarchy In-Reply-To: <0A7C7B46-87F0-4401-96B7-787983F40123@bonsai-studio.net> References: <6E9EB86C-9AF3-4B89-BEA3-539C104E3140@bonsai-studio.net> <9018A991-49A4-43ED-839C-804FDFB1647B@textmate.org> <0A7C7B46-87F0-4401-96B7-787983F40123@bonsai-studio.net> Message-ID: <0E100A83-2929-48D4-AE5E-198920AD74C9@gmail.com> I wonder if something like this http://livingwell.wikidot.com/textmate-grammar Would be a helpful addition to http://manual.macromates.com/en/language_grammars#naming_conventions (excuse the irrelevant web site (unless you live in Edinburgh), it's just one i had write access to that supports block folding out of the box). On 11 Feb 2009, at 10:06 AM, (((Bonsai Studio))) - Giuseppe wrote: > Thanks a lot Allan, > I had to search better first. > > Il giorno 11/feb/09, alle ore 10:58, Allan Odgaard ha scritto: > >> On 9 Feb 2009, at 08:35, (((Bonsai Studio))) - Giuseppe wrote: >> >>> is there a scopes' hierarchical list? >>> I am trying to style a theme but I am confused on which scope to use >>> and their hierarchical order. >> >> http://manual.macromates.com/en/language_grammars#naming_conventions >> >> >> _______________________________________________ >> textmate mailing list >> textmate at lists.macromates.com >> http://lists.macromates.com/listinfo/textmate >> > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From james at grayproductions.net Wed Feb 11 17:12:07 2009 From: james at grayproductions.net (James Gray) Date: Wed, 11 Feb 2009 11:12:07 -0600 Subject: [TxMt] Re: "no such file to load" error on require in Ruby Run command In-Reply-To: <7e87b6820902110631o4a54cd0fk9cba871715395605@mail.gmail.com> References: <7e87b6820902110631o4a54cd0fk9cba871715395605@mail.gmail.com> Message-ID: On Feb 11, 2009, at 8:31 AM, David Carter wrote: > I'm getting this message only the first time I cmd-R a ruby script. We've debated this over IRC a bit to try and think up a way this can happen. Good problem. :) About the only explanation we can think up is that the require you have is part of some conditional expression and thus doesn't always execute. Or perhaps you change the environment sometimes, before Ruby tries the require. Obviously, we're guessing. It does look like your require is a bit down in the logic though (line 56 according to the stack trace). Does moving it to the top make the script fail more consistently? Also, in case our guesswork is bad, what version of TextMate are you using? Did you just happen to upgrade to the new version and did this problem just surface then? James Edward Gray II From asapper at umich.edu Wed Feb 11 17:27:04 2009 From: asapper at umich.edu (Andrew Sapperstein) Date: Wed, 11 Feb 2009 12:27:04 -0500 Subject: [TxMt] Update r1498: C++ Bundle Message-ID: I have noticed that when I updated, if I have comments in a function, before the start bracket(see below, it is no longer color-coding as it used to. I really preferred the way it used to handle this, where it would just comment it as normal. Was this change by design? Andrew Sapperstein University of Michigan-Class of 2012 McDonogh School-Class of 2008 From david at carter.net Wed Feb 11 17:35:59 2009 From: david at carter.net (David Carter) Date: Wed, 11 Feb 2009 12:35:59 -0500 Subject: [TxMt] Re: "no such file to load" error on require in Ruby Run command In-Reply-To: References: <7e87b6820902110631o4a54cd0fk9cba871715395605@mail.gmail.com> Message-ID: <7e87b6820902110935o3a2e3984rb1a9365328efadd0@mail.gmail.com> Sorry for not mentioning the TM version. This behavior existed as originally described before the upgrade to the newest version [Version 1.5.8 (1498)] this morning. After I sent the previous message, I upgraded & now the problem occurs every time, not just the first time. At least it's more consistent now. This script has been in almost daily use for over a year, with no recent changes. I always run it from within TM since I've been too lazy to add proper parameter handling to the script. I just launch it in TM, comment in or out a line or two at the very bottom that controls what gets done, and hit cmd-R. The require is at line 56 because the script includes several embedded classes in the same file. Poor form, I know, but it was one of those, "I'll get around to it later" things that I've never gotten around to because "it just worked". Here's a snippet beginning at line 55: class PostagePrinter require "builder" require "tempfile" Okay - I've found a difference between TM environment & command line: The TM execution window shows "ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]" >From terminal: "ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.2.0]" Suggestions on where to look to resolve the different versions of ruby that are being picked up? Thanks! --- David Carter david at carter.net On Wed, Feb 11, 2009 at 12:12 PM, James Gray wrote: > On Feb 11, 2009, at 8:31 AM, David Carter wrote: > > > I'm getting this message only the first time I cmd-R a ruby script. > > We've debated this over IRC a bit to try and think up a way this can > happen. Good problem. :) > > About the only explanation we can think up is that the require you > have is part of some conditional expression and thus doesn't always > execute. Or perhaps you change the environment sometimes, before Ruby > tries the require. Obviously, we're guessing. > > It does look like your require is a bit down in the logic though (line > 56 according to the stack trace). Does moving it to the top make the > script fail more consistently? > > Also, in case our guesswork is bad, what version of TextMate are you > using? Did you just happen to upgrade to the new version and did this > problem just surface then? > > James Edward Gray II > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asapper at umich.edu Wed Feb 11 17:35:27 2009 From: asapper at umich.edu (Andrew Sapperstein) Date: Wed, 11 Feb 2009 12:35:27 -0500 Subject: [TxMt] Re: Update r1498: C++ Bundle In-Reply-To: References: Message-ID: <0556F5DE-6E68-4F87-A3F8-80AB1DFF4740@umich.edu> I realized i forgot to include a code snippet: void selection_sort(int *a, int size) //uses pointer arithmetic -UNFINISHED { } The comment line is now showing as white instead of comment color(blue) Andrew Sapperstein University of Michigan-Class of 2012 McDonogh School-Class of 2008 On Feb 11, 2009, at 12:27 PM, Andrew Sapperstein wrote: > I have noticed that when I updated, if I have comments in a function, > before the start bracket(see below, it is no longer color-coding as it > used to. I really preferred the way it used to handle this, where it > would just comment it as normal. Was this change by design? > > Andrew Sapperstein > University of Michigan-Class of 2012 > McDonogh School-Class of 2008 > > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > > From tm-alex at rosiba.com Wed Feb 11 17:40:34 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Wed, 11 Feb 2009 09:40:34 -0800 Subject: [TxMt] Re: "no such file to load" error on require in Ruby Run command In-Reply-To: <7e87b6820902110935o3a2e3984rb1a9365328efadd0@mail.gmail.com> References: <7e87b6820902110631o4a54cd0fk9cba871715395605@mail.gmail.com> <7e87b6820902110935o3a2e3984rb1a9365328efadd0@mail.gmail.com> Message-ID: <245BA076-84E5-47EB-A280-84AF3E96089E@rosiba.com> On Feb 11, 2009, at 9:35 AM, David Carter wrote: > Okay - I've found a difference between TM environment & command line: > > The TM execution window shows "ruby 1.8.6 (2008-03-03 patchlevel > 114) [universal-darwin9.0]" > > From terminal: "ruby 1.8.6 (2007-09-24 patchlevel 111) [i686- > darwin9.2.0]" > > Suggestions on where to look to resolve the different versions of > ruby that are being picked up? In Terminal, do ?which ruby? and copy that path. Go to TextMate's shell vars in preferences and set TM_RUBY=?path to shell ruby?. Do you still have the error? ?Alex From james at grayproductions.net Wed Feb 11 17:42:34 2009 From: james at grayproductions.net (James Gray) Date: Wed, 11 Feb 2009 11:42:34 -0600 Subject: [TxMt] Re: "no such file to load" error on require in Ruby Run command In-Reply-To: <7e87b6820902110935o3a2e3984rb1a9365328efadd0@mail.gmail.com> References: <7e87b6820902110631o4a54cd0fk9cba871715395605@mail.gmail.com> <7e87b6820902110935o3a2e3984rb1a9365328efadd0@mail.gmail.com> Message-ID: On Feb 11, 2009, at 11:35 AM, David Carter wrote: > Okay - I've found a difference between TM environment & command line: > > The TM execution window shows "ruby 1.8.6 (2008-03-03 patchlevel > 114) [universal-darwin9.0]" > > From terminal: "ruby 1.8.6 (2007-09-24 patchlevel 111) [i686- > darwin9.2.0]" > > Suggestions on where to look to resolve the different versions of > ruby that are being picked up? Sure. See this: http://wiki.macromates.com/Troubleshooting/RubyVersionIssue James Edward Gray II From matt at tidbits.com Wed Feb 11 20:01:08 2009 From: matt at tidbits.com (Matt Neuburg) Date: Wed, 11 Feb 2009 12:01:08 -0800 Subject: [TxMt] Re: RubyFrontier References: Message-ID: On 2/1/09 1:08 PM, in article A6DF15FC-7FE8-4C82-92CF-F9AFE6EA9BCF at mac.com, "Gert van Oss" wrote: > Last week I read an article re. where a bundle 'RubyFrontier' was > mentioned. Reading the documentation I got the impression that this > bundle is somewhere available but I do not see it when I use the > GetBundles-Bundle. > Maybe someone can tell me where to find this RubyFrontier-Bundle? Or > confirm that it is not available yet. See me after class. :) m. -- matt neuburg, phd = matt at tidbits.com, A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings From sven.axelsson at gmail.com Wed Feb 11 23:18:42 2009 From: sven.axelsson at gmail.com (Sven Axelsson) Date: Thu, 12 Feb 2009 00:18:42 +0100 Subject: [TxMt] Textmate stalls, uses all CPU Message-ID: After upgrading to Textmate 1.5.8 the program has all of a sudden started to use all CPU and allocating more and more memory for no apparent reason. It then beachballs and has to be forced to quit. This happens even with a single, small file open. Anyone else seeing this? -- Sven Axelsson ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tm-alex at rosiba.com Thu Feb 12 00:33:40 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Wed, 11 Feb 2009 16:33:40 -0800 Subject: [TxMt] Re: Textmate stalls, uses all CPU In-Reply-To: References: Message-ID: <8EB98DBE-8D01-4C05-85F6-5FCA7BA62A93@rosiba.com> On Feb 11, 2009, at 3:18 PM, Sven Axelsson wrote: > After upgrading to Textmate 1.5.8 the program has all of a sudden > started to use all CPU and allocating more and more memory for no > apparent reason. It then beachballs and has to be forced to quit. > This happens even with a single, small file open. Anyone else seeing > this? What language is the simple, small file written in? What are the contents of that file? ?Alex From dotto at csusb.edu Thu Feb 12 01:36:22 2009 From: dotto at csusb.edu (Wandering Mango) Date: Wed, 11 Feb 2009 17:36:22 -0800 (PST) Subject: [TxMt] Error on Update: env: ruby: No such file or directory Message-ID: <21968329.post@talk.nabble.com> I am currently using TM 1.5.7 (1436), and everything is working swimmingly. When I update to the latest "minor update," I end up with the following message when I ask LaTeX to typeset my document: env: ruby: No such file or directory Now, I can see from searching around this forum and elsewhere that this is somewhat a common problem. I've seen http://manual.macromates.com/en/shell_commands this and several posts trying to solve this issue. In particular, I am running Leopard, and have not replaced Ruby. Both ruby and env are sitting in /usr/bin, and my path has /usr/bin as the first entry. Furthermore, ~/.MacOSX/environment.plist reads { PATH = "/usr/bin"; }. At this point, I'm not sure what to do, and would appreciate some help. Fortunately, I was able to roll back to v1436 via Time Machine, and everything is working fine again. But I'd like to be able to use the latest minor update. Any suggestions? -- View this message in context: http://www.nabble.com/Error-on-Update%3A-env%3A-ruby%3A-No-such-file-or-directory-tp21968329p21968329.html Sent from the textmate users mailing list archive at Nabble.com. From mailinglist at textmate.org Thu Feb 12 04:36:49 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Thu, 12 Feb 2009 05:36:49 +0100 Subject: [TxMt] Re: Error on Update: env: ruby: No such file or directory In-Reply-To: <21968329.post@talk.nabble.com> References: <21968329.post@talk.nabble.com> Message-ID: <44B5BB01-A640-4D83-B20D-54D0D52C9829@textmate.org> On 12 Feb 2009, at 02:36, Wandering Mango wrote: > [...] > env: ruby: No such file or directory > > Now, I can see from searching around this forum and elsewhere that > this is > somewhat a common problem. Indeed, and we have http://wiki.macromates.com/Troubleshooting/RubyVersionIssue > [...] my path has /usr/bin as the first entry. Furthermore, > ~/.MacOSX/environment.plist reads { PATH = "/usr/bin"; }. That PATH is going to cause other problems. Best t just delete the environment.plist file, as you didn?t delete /usr/bin/ruby, I?d suggest getting your system back to defaults. Also check TextMate ? Preferences ? Advanced, see if you set PATH in the Shell Variables (and if so, remove it). > At this point, I'm not sure what to do, and would appreciate some > help. If it continues to fail, run the last test on the Ruby troubleshooting page and send the result here. Also see http://wiki.macromates.com/Troubleshooting/101 From creechley at gmail.com Thu Feb 12 07:26:32 2009 From: creechley at gmail.com (Jaremy Creechley) Date: Thu, 12 Feb 2009 00:26:32 -0700 Subject: [TxMt] Bug Fix in sitecustomize.py in Python.tmbundle? Message-ID: <10AA2587-F7DA-46A9-B1E0-73457EFC36E4@gmail.com> The sitecustomize.py script in the Python.tmbundle in build 1498 seems to have an error, which keeps the traceback from the user script from being formatted. It seems the error offset (e.offset) is a NoneType instead of an int. This diff fixes the output: diff --git a/Python.tmbundle/Support/sitecustomize.py b/ Python.tmbundle/Support/sitecustomize.py index ffb3525..a30c6d0 100644 --- a/Python.tmbundle/Support/sitecustomize.py +++ b/Python.tmbundle/Support/sitecustomize.py @@ -47,6 +47,7 @@ def tm_excepthook(e_type, e, tb): # if this is a SyntaxError, then tb == None filename, line_number, offset, text = e.filename, e.lineno, e.offset, e.text url, display_name = '', 'untitled' + offset = offset if offset else 0 io.write("
%s\n%s
\n" % (escape(e.text).rstrip(), " " * (offset-1) + "?")) io.write("
\n") if filename and path.exists(filename) and "TM_SCRIPT_IS_UNTITLED" not in environ: I searched on the gmane list and couldn't find anything, so I hope this might prove helpful. Thanks, Jaremy Creechley From felipe.rech at gmail.com Thu Feb 12 13:04:31 2009 From: felipe.rech at gmail.com (Felipe Rech Meneguzzi) Date: Thu, 12 Feb 2009 13:04:31 +0000 Subject: [TxMt] "Texify" script in LaTeX bundle Message-ID: <1814bbe60902120504s20f8cfa6s884bcd5e3f2e1ea@mail.gmail.com> Hello all, I've searched the texmate documentation for the latex bunde and then list archive but did not find any query towards this functionality, so I am posting my suggestion here. I've recently moved to the mac from working in windows and was quickly convinced by a friend to use textmate both for programming and LaTeX editing. In the LaTeX department, I have noticed that there is no shortcut to execute this sequence of commands: latex + bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX has an executable that does this, but I believe this is easily done by a script under MacOS. It would not be extremely hard to create a script to do this, and smart it up by checking for the existence of a bbl file and comparing its date with the source files in a textmate project and decide on the most efficient sequence of commands. I would greatly appreciate it if (assuming people liked the idea, of course) someone with more experience in textmate could add this functionality, otherwise I may have to learn how the bundles work and try to do it myself. Regards, -- ___________________________ Felipe Rech Meneguzzi http://fmeneguzzi.blogspot.com ___________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.riteau at gmail.com Thu Feb 12 13:22:15 2009 From: pierre.riteau at gmail.com (Pierre Riteau) Date: Thu, 12 Feb 2009 14:22:15 +0100 Subject: [TxMt] Re: "Texify" script in LaTeX bundle In-Reply-To: <1814bbe60902120504s20f8cfa6s884bcd5e3f2e1ea@mail.gmail.com> References: <1814bbe60902120504s20f8cfa6s884bcd5e3f2e1ea@mail.gmail.com> Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91@gmail.com> On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote: > Hello all, > > I've searched the texmate documentation for the latex bunde and > then list archive but did not find any query towards this > functionality, so I am posting my suggestion here. > I've recently moved to the mac from working in windows and was > quickly convinced by a friend to use textmate both for programming > and LaTeX editing. In the LaTeX department, I have noticed that > there is no shortcut to execute this sequence of commands: latex + > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX > has an executable that does this, but I believe this is easily done > by a script under MacOS. It would not be extremely hard to create a > script to do this, and smart it up by checking for the existence of > a bbl file and comparing its date with the source files in a > textmate project and decide on the most efficient sequence of > commands. > I would greatly appreciate it if (assuming people liked the idea, > of course) someone with more experience in textmate could add this > functionality, otherwise I may have to learn how the bundles work > and try to do it myself. Use Latexmk.pl? (see LaTeX bundle preferences) -- Pierre Riteau From tm-alex at rosiba.com Thu Feb 12 16:02:33 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Thu, 12 Feb 2009 08:02:33 -0800 Subject: [TxMt] Re: "Texify" script in LaTeX bundle In-Reply-To: <1814bbe60902120504s20f8cfa6s884bcd5e3f2e1ea@mail.gmail.com> References: <1814bbe60902120504s20f8cfa6s884bcd5e3f2e1ea@mail.gmail.com> Message-ID: <3A5A6BAA-2DA7-4191-B8B1-1A557B24D563@rosiba.com> On Feb 12, 2009, at 5:04 AM, Felipe Rech Meneguzzi wrote: > In the LaTeX department, I have noticed that there is no shortcut to > execute this sequence of commands: latex + bibtex + latex + latex. Press ?R. ?Alex From vze26m98 at optonline.net Thu Feb 12 17:52:58 2009 From: vze26m98 at optonline.net (Charles Turner) Date: Thu, 12 Feb 2009 12:52:58 -0500 Subject: [TxMt] Sorry I haven't been paying attention... Message-ID: <20090212125258731853.f89c97d0@optonline.net> Hi all- What became of the BibTex.tmbundle? I have it on my computer, but didn't see it listed in the SVN. Googling didn't find a definitive statement on it's fate. Was it merged into the LaTex.tmbundle? Am I hallucinating, inattentive, stoopid? Any info greatly appreciated! Best, Charles From dotto at csusb.edu Thu Feb 12 21:13:40 2009 From: dotto at csusb.edu (K. Darcy Otto) Date: Thu, 12 Feb 2009 13:13:40 -0800 Subject: [TxMt] Re: Error on Update: env: ruby: No such file or directory In-Reply-To: <44B5BB01-A640-4D83-B20D-54D0D52C9829@textmate.org> References: <21968329.post@talk.nabble.com> <44B5BB01-A640-4D83-B20D-54D0D52C9829@textmate.org> Message-ID: <5C54D3AD-114E-48D1-9771-CA5F2FFCB17C@csusb.edu> I deleted the PATH setting in Shell Variables, and replaced it with the PATH setting in the terminal, and everything started to work. Thank you. On 11-Feb-09, at 8:36 PM, Allan Odgaard wrote: > On 12 Feb 2009, at 02:36, Wandering Mango wrote: > >> [...] >> env: ruby: No such file or directory >> >> Now, I can see from searching around this forum and elsewhere that >> this is >> somewhat a common problem. > > Indeed, and we have http://wiki.macromates.com/Troubleshooting/RubyVersionIssue > >> [...] my path has /usr/bin as the first entry. Furthermore, >> ~/.MacOSX/environment.plist reads { PATH = "/usr/bin"; }. > > That PATH is going to cause other problems. Best t just delete the > environment.plist file, as you didn?t delete /usr/bin/ruby, I?d > suggest getting your system back to defaults. > > Also check TextMate ? Preferences ? Advanced, see if you set PATH > in the Shell Variables (and if so, remove it). > >> At this point, I'm not sure what to do, and would appreciate some >> help. > > If it continues to fail, run the last test on the Ruby troubleshooting > page and send the result here. Also see http://wiki.macromates.com/Troubleshooting/101 From felipe.rech at gmail.com Fri Feb 13 12:10:55 2009 From: felipe.rech at gmail.com (Felipe Rech Meneguzzi) Date: Fri, 13 Feb 2009 12:10:55 +0000 Subject: [TxMt] Re: textmate Digest, Vol 9, Issue 13 In-Reply-To: References: Message-ID: <1814bbe60902130410v16e603b2n2366ffb88c611ce0@mail.gmail.com> Thank you very much for your help here, the function of that option was not very clear to me before :-) > Message: 2 > Date: Thu, 12 Feb 2009 14:22:15 +0100 > From: Pierre Riteau > Subject: [TxMt] Re: "Texify" script in LaTeX bundle > To: TextMate users > Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote: > > > Hello all, > > > > I've searched the texmate documentation for the latex bunde and > > then list archive but did not find any query towards this > > functionality, so I am posting my suggestion here. > > I've recently moved to the mac from working in windows and was > > quickly convinced by a friend to use textmate both for programming > > and LaTeX editing. In the LaTeX department, I have noticed that > > there is no shortcut to execute this sequence of commands: latex + > > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX > > has an executable that does this, but I believe this is easily done > > by a script under MacOS. It would not be extremely hard to create a > > script to do this, and smart it up by checking for the existence of > > a bbl file and comparing its date with the source files in a > > textmate project and decide on the most efficient sequence of > > commands. > > I would greatly appreciate it if (assuming people liked the idea, > > of course) someone with more experience in textmate could add this > > functionality, otherwise I may have to learn how the bundles work > > and try to do it myself. > > Use Latexmk.pl? (see LaTeX bundle preferences) > > -- > Pierre Riteau > > -- ___________________________ Felipe Rech Meneguzzi felipe.rech at gmail.com http://fmeneguzzi.blogspot.com ___________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From felipe.rech at gmail.com Fri Feb 13 12:13:57 2009 From: felipe.rech at gmail.com (Felipe Rech Meneguzzi) Date: Fri, 13 Feb 2009 12:13:57 +0000 Subject: [TxMt] Re: textmate Digest, Vol 9, Issue 13 In-Reply-To: <1814bbe60902130410v16e603b2n2366ffb88c611ce0@mail.gmail.com> References: <1814bbe60902130410v16e603b2n2366ffb88c611ce0@mail.gmail.com> Message-ID: <1814bbe60902130413j43ce82c2g43a192d69da4972b@mail.gmail.com> I just checked that, but this is not quite what I expected, the script seems only to run latex+bibtex, and it did not create the table of contents properly, so this is not the equivalent of the texify command, I'm afraid. On Fri, Feb 13, 2009 at 12:10 PM, Felipe Rech Meneguzzi < felipe.rech at gmail.com> wrote: > Thank you very much for your help here, the function of that option was not > very clear to me before :-) > > > >> Message: 2 >> Date: Thu, 12 Feb 2009 14:22:15 +0100 >> From: Pierre Riteau >> Subject: [TxMt] Re: "Texify" script in LaTeX bundle >> To: TextMate users >> Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes >> >> On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote: >> >> > Hello all, >> > >> > I've searched the texmate documentation for the latex bunde and >> > then list archive but did not find any query towards this >> > functionality, so I am posting my suggestion here. >> > I've recently moved to the mac from working in windows and was >> > quickly convinced by a friend to use textmate both for programming >> > and LaTeX editing. In the LaTeX department, I have noticed that >> > there is no shortcut to execute this sequence of commands: latex + >> > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX >> > has an executable that does this, but I believe this is easily done >> > by a script under MacOS. It would not be extremely hard to create a >> > script to do this, and smart it up by checking for the existence of >> > a bbl file and comparing its date with the source files in a >> > textmate project and decide on the most efficient sequence of >> > commands. >> > I would greatly appreciate it if (assuming people liked the idea, >> > of course) someone with more experience in textmate could add this >> > functionality, otherwise I may have to learn how the bundles work >> > and try to do it myself. >> >> Use Latexmk.pl? (see LaTeX bundle preferences) >> >> -- >> Pierre Riteau >> >> > > -- > ___________________________ > Felipe Rech Meneguzzi > felipe.rech at gmail.com > http://fmeneguzzi.blogspot.com > ___________________________ > -- ___________________________ Felipe Rech Meneguzzi felipe.rech at gmail.com http://fmeneguzzi.blogspot.com ___________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.riteau at gmail.com Fri Feb 13 13:39:23 2009 From: pierre.riteau at gmail.com (Pierre Riteau) Date: Fri, 13 Feb 2009 14:39:23 +0100 Subject: [TxMt] Re: textmate Digest, Vol 9, Issue 13 In-Reply-To: <1814bbe60902130413j43ce82c2g43a192d69da4972b@mail.gmail.com> References: <1814bbe60902130410v16e603b2n2366ffb88c611ce0@mail.gmail.com> <1814bbe60902130413j43ce82c2g43a192d69da4972b@mail.gmail.com> Message-ID: Sorry, I didn't realized it skipped creating table of contents. However, I see that when I call latexmk.pl manually with only the option -pdf, it creates a TOC. I think that the LaTeX bundle disables this feature using a temporary latexmkrc file. Maybe this should be discussed with the maintainers of the bundle (I'm also quite new to TextMate so I don't know who this would be. I would start by looking at the recent commits to the bundle). Pierre Riteau On 13 f?vr. 09, at 13:13, Felipe Rech Meneguzzi wrote: > I just checked that, but this is not quite what I expected, the > script seems only to run latex+bibtex, and it did not create the > table of contents properly, so this is not the equivalent of the > texify command, I'm afraid. > > On Fri, Feb 13, 2009 at 12:10 PM, Felipe Rech Meneguzzi > wrote: > Thank you very much for your help here, the function of that option > was not very clear to me before :-) > > > > Message: 2 > Date: Thu, 12 Feb 2009 14:22:15 +0100 > From: Pierre Riteau > Subject: [TxMt] Re: "Texify" script in LaTeX bundle > To: TextMate users > Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91 at gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes > > On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote: > > > Hello all, > > > > I've searched the texmate documentation for the latex bunde and > > then list archive but did not find any query towards this > > functionality, so I am posting my suggestion here. > > I've recently moved to the mac from working in windows and was > > quickly convinced by a friend to use textmate both for programming > > and LaTeX editing. In the LaTeX department, I have noticed that > > there is no shortcut to execute this sequence of commands: latex + > > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX > > has an executable that does this, but I believe this is easily done > > by a script under MacOS. It would not be extremely hard to create a > > script to do this, and smart it up by checking for the existence of > > a bbl file and comparing its date with the source files in a > > textmate project and decide on the most efficient sequence of > > commands. > > I would greatly appreciate it if (assuming people liked the idea, > > of course) someone with more experience in textmate could add this > > functionality, otherwise I may have to learn how the bundles work > > and try to do it myself. > > Use Latexmk.pl? (see LaTeX bundle preferences) > > -- > Pierre Riteau > > > > -- > ___________________________ > > Felipe Rech Meneguzzi > felipe.rech at gmail.com > http://fmeneguzzi.blogspot.com > ___________________________ > > > > -- > ___________________________ > Felipe Rech Meneguzzi > felipe.rech at gmail.com > http://fmeneguzzi.blogspot.com > ___________________________ > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From jdmuys at free.fr Fri Feb 13 14:21:02 2009 From: jdmuys at free.fr (jdmuys at free.fr) Date: Fri, 13 Feb 2009 15:21:02 +0100 (CET) Subject: [TxMt] Encoding output window to ISO-8859-1? Message-ID: <1805803783.935721234534862072.JavaMail.root@zimbra2-e1.priv.proxad.net> Hi, I unsuccessfully searched the web site and the list archive, but I may have missed something. I need to work for a client with humongous text files encoded in ISO-8859-1, with diacritical characters. This is mostly OK, but I could not find a way to set the output window that TextMate opens to ISO-8859-1 encoding. This is a PITA. I tried both Perl and Ruby and the issue is the same. For the sake of an example, save the following 6 lines (French composers) to a text file encoded in ISO-8859-1, named "test.txt": L?o Delibes C?sar Franck Gabriel Faur? Edgard Var?se Jean Fran?aix Henri B?sser Now run the following Ruby program from TextMate: file = File.open("test.txt", "r") file.each { |line| print line } file.close In the output window, all diacritical chars are replaced by the dummy "white question mark within a black diamond". This is despite having set the preferences to Latin 1. Note that the same small Ruby program displays diacritical chars correctly when run from a terminal window (provided the said terminal window is set to ISO Latin 1 of course). So my question is: is there a way to set the TextMate output window to ISO-8859-1? A workaround might be to redirect standard err and standard out to another window, already open, with ISO-8859-1 encoding. Is that possible? I hope my request makes sense. (Unfortunately, switching to UTF8 is not an option: input is almost 100GB ISO-8859-1, and so output needs be. A roundtrip to UTF8 would triple execution time, which is already too long as it is). Many thanks, Jean-Denis From bibiko at eva.mpg.de Fri Feb 13 14:35:36 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Fri, 13 Feb 2009 15:35:36 +0100 Subject: [TxMt] Re: Encoding output window to ISO-8859-1? In-Reply-To: <1805803783.935721234534862072.JavaMail.root@zimbra2-e1.priv.proxad.net> References: <1805803783.935721234534862072.JavaMail.root@zimbra2-e1.priv.proxad.net> Message-ID: <29F13720-809D-4FC8-B097-C7D7E1120122@eva.mpg.de> On 13.02.2009, at 15:21, jdmuys at free.fr wrote: > Hi, > > I unsuccessfully searched the web site and the list archive, but I > may have missed something. > > I need to work for a client with humongous text files encoded in > ISO-8859-1, with diacritical characters. > > This is mostly OK, but I could not find a way to set the output > window that TextMate opens to ISO-8859-1 encoding. This is a PITA. > L?o Delibes > C?sar Franck > Gabriel Faur? > Edgard Var?se > Jean Fran?aix > Henri B?sser Maybe I missed an issue here but if you open an ISO-8859-1 doc in TM (or maybe via File > Reopen with Encoding >) TM doesn't destroy that encoding. For saving you can choose "Save As" to assure that TM saves it as ISO-8859-1. An other option to convert ISO-8859-1 to UTF-8 is to make usage of the UNIX tool 'iconv -f LATIN1 -t UTF-8 THE_FILE' which one can run as batch to convert all files in a dir. --Hans From jdmuys at free.fr Fri Feb 13 14:54:23 2009 From: jdmuys at free.fr (jdmuys at free.fr) Date: Fri, 13 Feb 2009 15:54:23 +0100 (CET) Subject: [TxMt] Re: Encoding output window to ISO-8859-1? In-Reply-To: <29F13720-809D-4FC8-B097-C7D7E1120122@eva.mpg.de> Message-ID: <1857528114.941691234536863285.JavaMail.root@zimbra2-e1.priv.proxad.net> ----- Hans-J?rg Bibiko a ?crit : > > On 13.02.2009, at 15:21, jdmuys at free.fr wrote: > > > Hi, > > > > I unsuccessfully searched the web site and the list archive, but I > > may have missed something. > > > > I need to work for a client with humongous text files encoded in > > ISO-8859-1, with diacritical characters. > > > > This is mostly OK, but I could not find a way to set the output > > window that TextMate opens to ISO-8859-1 encoding. This is a PITA. > > L?o Delibes > > C?sar Franck > > Gabriel Faur? > > Edgard Var?se > > Jean Fran?aix > > Henri B?sser > > Maybe I missed an issue here but if you open an ISO-8859-1 doc in TM > (or maybe via File > Reopen with Encoding >) TM doesn't destroy that > encoding. For saving you can choose "Save As" to assure that TM saves > it as ISO-8859-1. > > An other option to convert ISO-8859-1 to UTF-8 is to make usage of the > UNIX tool 'iconv -f LATIN1 -t UTF-8 THE_FILE' which one can run as > batch to convert all files in a dir. > > > --Hans > Indeed, it seems you missed the issue. This is possibly because English is not my native language. Stated as simply as I can: however it does it, my program *needs* to output text in ISO-8859-1 encoding, including diacritical characters. During the development and testing stages, I would like to be able to set the TextMate output window to ISO-8859-1 so that it displays my test data correctly. Is there a way to do that? The small Ruby example I gave is for illustration purposes only. The text files I need to process are many gigabytes in size. I know about iconv quite well, but as I said, for performance reasons, it is NOT an option to convert them to UTF8, as the processed file need to be ISO-8859-1 as well. From bibiko at eva.mpg.de Fri Feb 13 15:43:27 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Fri, 13 Feb 2009 16:43:27 +0100 Subject: [TxMt] Re: Encoding output window to ISO-8859-1? In-Reply-To: <1857528114.941691234536863285.JavaMail.root@zimbra2-e1.priv.proxad.net> References: <1857528114.941691234536863285.JavaMail.root@zimbra2-e1.priv.proxad.net> Message-ID: <00538B24-6542-40A7-A73A-ECF07D4A090C@eva.mpg.de> Sorry, I misunderstood you. On 13.02.2009, at 15:54, jdmuys at free.fr wrote: > I would like to be able to set the TextMate output window to > ISO-8859-1 so that it displays my test data correctly. As far as I know this is not possible. The output window is set to UTF-8. If you want to run a Ruby script via APPLE+R you can try this: #!/usr/bin/env ruby -wKU require "iconv" file = File.open("/Users/bibiko/Desktop/test.txt", "r") file.each { |line| print Iconv.iconv("UTF-8","LATIN1",line) } file.close which outputs the test.txt content correctly. You can then define a function printLATIN1() or similar. --Hans From jdmuys at free.fr Fri Feb 13 16:15:43 2009 From: jdmuys at free.fr (jdmuys at free.fr) Date: Fri, 13 Feb 2009 17:15:43 +0100 (CET) Subject: [TxMt] Re: Encoding output window to ISO-8859-1? In-Reply-To: <00538B24-6542-40A7-A73A-ECF07D4A090C@eva.mpg.de> Message-ID: <1091272425.953711234541743540.JavaMail.root@zimbra2-e1.priv.proxad.net> ----- Hans-J?rg Bibiko a ?crit : > > > #!/usr/bin/env ruby -wKU > > require "iconv" > > file = File.open("/Users/bibiko/Desktop/test.txt", "r") > file.each { |line| print Iconv.iconv("UTF-8","LATIN1",line) } > file.close > > which outputs the test.txt content correctly. You can then define a > function printLATIN1() or similar. > It's not ideal, but it's a useable workaround. Thank you very much. JD From x+textmate at lamb.cc Fri Feb 13 16:52:21 2009 From: x+textmate at lamb.cc (Iain Lamb) Date: Fri, 13 Feb 2009 08:52:21 -0800 Subject: [TxMt] patch for python bundle (support use of reload in sitecustomize.py under python3) Message-ID: Salutations, list! When running scripts using the Python bundle, I noticed a complaint from python3 about the use of reload() in sitecustomize.py. Since reload is no longer a built in function in python3, this little one line patch will fix the issue while still supporting python2. Index: Python.tmbundle/Support/sitecustomize.py =================================================================== --- Python.tmbundle/Support/sitecustomize.py (revision 11288) +++ Python.tmbundle/Support/sitecustomize.py (working copy) @@ -18,6 +18,7 @@ # now import local sitecustomize try: import sitecustomize + if sys.version_info[0] >= 3: from imp import reload # python 3 support reload(sitecustomize) except ImportError: pass -------------- next part -------------- An HTML attachment was scrubbed... URL: From cowan.pd at gmail.com Fri Feb 13 18:58:20 2009 From: cowan.pd at gmail.com (Peter Cowan) Date: Fri, 13 Feb 2009 10:58:20 -0800 Subject: [TxMt] Re: textmate Digest, Vol 9, Issue 13 In-Reply-To: References: <1814bbe60902130410v16e603b2n2366ffb88c611ce0@mail.gmail.com> <1814bbe60902130413j43ce82c2g43a192d69da4972b@mail.gmail.com> Message-ID: On Fri, Feb 13, 2009 at 5:39 AM, Pierre Riteau wrote: > Sorry, I didn't realized it skipped creating table of contents. > However, I see that when I call latexmk.pl manually with only the > option -pdf, it creates a TOC. > I think that the LaTeX bundle disables this feature using a temporary > latexmkrc file. > > Maybe this should be discussed with the maintainers of the bundle (I'm > also quite new to TextMate so I don't know who this would be. I would > start by looking at the recent commits to the bundle). > > Pierre Riteau > > On 13 f?vr. 09, at 13:13, Felipe Rech Meneguzzi wrote: > >> I just checked that, but this is not quite what I expected, the >> script seems only to run latex+bibtex, and it did not create the >> table of contents properly, so this is not the equivalent of the >> texify command, I'm afraid. I get the table of contents. Do you have a minimal example to help sort this out? Peter >> >> On Fri, Feb 13, 2009 at 12:10 PM, Felipe Rech Meneguzzi > > wrote: >> Thank you very much for your help here, the function of that option >> was not very clear to me before :-) >> >> >> >> Message: 2 >> Date: Thu, 12 Feb 2009 14:22:15 +0100 >> From: Pierre Riteau >> Subject: [TxMt] Re: "Texify" script in LaTeX bundle >> To: TextMate users >> Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91 at gmail.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes >> >> On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote: >> >> > Hello all, >> > >> > I've searched the texmate documentation for the latex bunde and >> > then list archive but did not find any query towards this >> > functionality, so I am posting my suggestion here. >> > I've recently moved to the mac from working in windows and was >> > quickly convinced by a friend to use textmate both for programming >> > and LaTeX editing. In the LaTeX department, I have noticed that >> > there is no shortcut to execute this sequence of commands: latex + >> > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX >> > has an executable that does this, but I believe this is easily done >> > by a script under MacOS. It would not be extremely hard to create a >> > script to do this, and smart it up by checking for the existence of >> > a bbl file and comparing its date with the source files in a >> > textmate project and decide on the most efficient sequence of >> > commands. >> > I would greatly appreciate it if (assuming people liked the idea, >> > of course) someone with more experience in textmate could add this >> > functionality, otherwise I may have to learn how the bundles work >> > and try to do it myself. >> >> Use Latexmk.pl? (see LaTeX bundle preferences) >> >> -- >> Pierre Riteau >> >> >> >> -- >> ___________________________ >> >> Felipe Rech Meneguzzi >> felipe.rech at gmail.com >> http://fmeneguzzi.blogspot.com >> ___________________________ >> >> >> >> -- >> ___________________________ >> Felipe Rech Meneguzzi >> felipe.rech at gmail.com >> http://fmeneguzzi.blogspot.com >> ___________________________ >> >> _______________________________________________ >> textmate mailing list >> textmate at lists.macromates.com >> http://lists.macromates.com/listinfo/textmate > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > From sven.axelsson at gmail.com Fri Feb 13 20:02:12 2009 From: sven.axelsson at gmail.com (Sven Axelsson) Date: Fri, 13 Feb 2009 21:02:12 +0100 Subject: [TxMt] Re: Textmate stalls, uses all CPU In-Reply-To: <8EB98DBE-8D01-4C05-85F6-5FCA7BA62A93@rosiba.com> References: <8EB98DBE-8D01-4C05-85F6-5FCA7BA62A93@rosiba.com> Message-ID: 2009/2/12 Alex Ross > On Feb 11, 2009, at 3:18 PM, Sven Axelsson wrote: > > > After upgrading to Textmate 1.5.8 the program has all of a sudden > > started to use all CPU and allocating more and more memory for no > > apparent reason. It then beachballs and has to be forced to quit. > > This happens even with a single, small file open. Anyone else seeing > > this? > It actually happens with single, small files in several languages, albeit somewhat obscure ones. One occurrence is with Lilypond files containing columnar text markup, and another is with AsciiDoc where I can make this happen by typing "> x" (without the quotes) in a file. Has there been any changes to the Oniguruma library or to the syntax parser I wonder? Errors in the syntax files should really not kill Texmate. -- Sven Axelsson -------------- next part -------------- An HTML attachment was scrubbed... URL: From mummer at whitefalls.org Fri Feb 13 20:54:22 2009 From: mummer at whitefalls.org (Michael Sheets) Date: Fri, 13 Feb 2009 14:54:22 -0600 Subject: [TxMt] Re: Textmate stalls, uses all CPU In-Reply-To: References: <8EB98DBE-8D01-4C05-85F6-5FCA7BA62A93@rosiba.com> Message-ID: On Feb 13, 2009, at 2:02 PM, Sven Axelsson wrote: > It actually happens with single, small files in several languages, > albeit somewhat obscure ones. One occurrence is with Lilypond files > containing columnar text markup, and another is with AsciiDoc where > I can make this happen by typing "> x" (without the quotes) in a > file. Has there been any changes to the Oniguruma library or to the > syntax parser I wonder? Errors in the syntax files should really not > kill Texmate. The Asciidoc error is an infinite loop error in the grammar, if Lilypond acts the same it's probably the same issue. If you want to provide a sample that I can look into fixing it. From goedman at me.com Sat Feb 14 00:57:48 2009 From: goedman at me.com (Rob Goedman) Date: Fri, 13 Feb 2009 16:57:48 -0800 Subject: [TxMt] Matching chars no longer show in TextMate (Version 1.5.8 (1498)) Message-ID: Hi, Since earlier this week the balancing/pairing of brackets etc. no longer seems to work. Thought these were syntax defined, but neither R, JavaScript, Fortran, and a few other bundles I treid seems to work any longer. Have I done something to my settings? Thanks, Rob From cowan.pd at gmail.com Sat Feb 14 01:18:58 2009 From: cowan.pd at gmail.com (Peter Cowan) Date: Fri, 13 Feb 2009 17:18:58 -0800 Subject: [TxMt] Re: Matching chars no longer show in TextMate (Version 1.5.8 (1498)) In-Reply-To: References: Message-ID: On Fri, Feb 13, 2009 at 4:57 PM, Rob Goedman wrote: > Hi, > > Since earlier this week the balancing/pairing of brackets etc. no > longer seems to work. Thought these were syntax defined, but neither > R, JavaScript, Fortran, and a few other bundles I treid seems to work > any longer. Have I done something to my settings? Look in the Preferences, under the Text Editing tab make sure Auto-pair characters is checked. > Thanks, > Rob > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > From molyneux at pobox.com Sat Feb 14 01:31:25 2009 From: molyneux at pobox.com (Phil Molyneux) Date: Sat, 14 Feb 2009 01:31:25 +0000 Subject: [TxMt] GetBundles Problem Message-ID: Whenever I try to run GetBundles Get Bundles command I get the error message: /bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot overwrite existing file If I delete the above file then the Get Bundles command will run once and then the error occurs again. I have just been upgraded to TextMate 1.5.8 (1498) Any suggestions ? Phil From l.cioria89 at virgilio.it Sat Feb 14 08:56:44 2009 From: l.cioria89 at virgilio.it (Luca Cioria) Date: Sat, 14 Feb 2009 09:56:44 +0100 Subject: [TxMt] cursor movement Message-ID: In textmate it looks like there are spaces everywhere! I mean, even if no trailing spaces are there at the end of the line, I can move right with the keyboard arrows.. even worse, when I go down (down arrow) I don't get to the end of the next line, but to somewhere in empty space! How can I fix that? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From timothy.c.bates at gmail.com Sat Feb 14 09:22:11 2009 From: timothy.c.bates at gmail.com (Timothy Bates) Date: Sat, 14 Feb 2009 09:22:11 +0000 Subject: [TxMt] Re: cursor movement In-Reply-To: References: Message-ID: <7575EAA8-A2FE-4054-ADAE-0AF6CAF9AF3D@gmail.com> Edit:Mode:Freehand (cmd-option-E) On 14 Feb 2009, at 8:56 AM, Luca Cioria wrote: > In textmate it looks like there are spaces everywhere! I mean, even > if no trailing spaces are there at the end of the line, I can move > right with the keyboard arrows.. even worse, when I go down (down > arrow) I don't get to the end of the next line, but to somewhere in > empty space! > > How can I fix that? > > thanks > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From goedman at me.com Sat Feb 14 16:03:01 2009 From: goedman at me.com (Rob Goedman) Date: Sat, 14 Feb 2009 08:03:01 -0800 Subject: [TxMt] Re: Matching chars no longer show in TextMate (Version 1.5.8 (1498)) In-Reply-To: References: Message-ID: Thanks for your help Peter, I'd checked that tab (and even changed it a couple of times after this behavior started), but that doesn't help. Pretty sure it started after several bundles were updated (about a week ago) and I used the filter list to have several bundles not show up in the bundle list. Usually I update bundles daily. This time I noticed the bundle updates because it changed the R behavior in unexpected ways (for me at least) and I had to change a few things back. Maybe I should re-install ... Thanks again, Rob On Feb 13, 2009, at 5:18 PM, Peter Cowan wrote: > On Fri, Feb 13, 2009 at 4:57 PM, Rob Goedman wrote: >> Hi, >> >> Since earlier this week the balancing/pairing of brackets etc. no >> longer seems to work. Thought these were syntax defined, but neither >> R, JavaScript, Fortran, and a few other bundles I treid seems to work >> any longer. Have I done something to my settings? > > Look in the Preferences, under the Text Editing tab make sure > Auto-pair characters is checked. > >> Thanks, >> Rob >> >> _______________________________________________ >> textmate mailing list >> textmate at lists.macromates.com >> http://lists.macromates.com/listinfo/textmate >> > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From marcvdijk at gmail.com Sat Feb 14 16:18:22 2009 From: marcvdijk at gmail.com (Dijk van Marc) Date: Sat, 14 Feb 2009 17:18:22 +0100 Subject: [TxMt] Automaticly open documents in project drawer Message-ID: <0D90AD75-58F6-4DED-91CC-33B6C2E84106@gmail.com> Dear all, I'm working on a bundle in which their is a command that takes the current document and splits it in several new ones based on a set of criteria. What I would like is for all those new documents that result from the splitting procedure to be displayed in a project drawer (even if the original document was not part of any project). The new files will probably not yet been saved to disk so that's something the user has to do. If any of you can give me suggestions on how to do this I would appreciate it. Thanks, Marc From mailinglist at textmate.org Sat Feb 14 19:11:02 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sat, 14 Feb 2009 20:11:02 +0100 Subject: [TxMt] Re: Encoding output window to ISO-8859-1? In-Reply-To: <1091272425.953711234541743540.JavaMail.root@zimbra2-e1.priv.proxad.net> References: <1091272425.953711234541743540.JavaMail.root@zimbra2-e1.priv.proxad.net> Message-ID: <6CA429A6-8333-4C58-8B92-5B318F310E89@textmate.org> On 13 Feb 2009, at 17:15, jdmuys at free.fr wrote: >> [...] >> require "iconv" >> [...] > It's not ideal, but it's a useable workaround. Thank you very much. You can try Ruby 1.9 (and declare the file you open as latin-1), I believe this will automatically do the proper recodings, if the various streams are tagged properly. From mailinglist at textmate.org Sat Feb 14 19:15:37 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sat, 14 Feb 2009 20:15:37 +0100 Subject: [TxMt] Re: GetBundles Problem In-Reply-To: References: Message-ID: <760DD6FE-E657-4F3B-8E2A-6A9C90A32A94@textmate.org> On 14 Feb 2009, at 02:31, Phil Molyneux wrote: > Whenever I try to run GetBundles Get Bundles command I get the error > message: > > /bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot > overwrite existing file > [...] > Any suggestions ? Presumably you ?set -C? in one of your bash startup files. Hans: Unless you need stuff from these, you can give the command a #!/ bin/bash shebang to skip sourcing of user profiles, alternatively rm the file first or use ?>>? to append to it (probably append is the more correct thing, since this is a log file). From mailinglist at textmate.org Sat Feb 14 19:16:35 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sat, 14 Feb 2009 20:16:35 +0100 Subject: [TxMt] Re: Matching chars no longer show in TextMate (Version 1.5.8 (1498)) In-Reply-To: References: Message-ID: On 14 Feb 2009, at 17:03, Rob Goedman wrote: > [...] I used the filter list to have several bundles not show > up in the bundle list. If you disabled the Text, Source, or TextMate bundle, then reenable these. They contain defaults like what characters to auto-pair (for those scopes that do not want to customzie the list). From goedman at me.com Sat Feb 14 20:30:13 2009 From: goedman at me.com (Rob Goedman) Date: Sat, 14 Feb 2009 12:30:13 -0800 Subject: [TxMt] Re: Matching chars no longer show in TextMate (Version 1.5.8 (1498)) In-Reply-To: References: Message-ID: <4BC8203B-6FBA-430A-87CE-025459B6C555@me.com> Thanks Allan, That fixed it! Regards, Rob On Feb 14, 2009, at 11:16 AM, Allan Odgaard wrote: > On 14 Feb 2009, at 17:03, Rob Goedman wrote: > >> [...] I used the filter list to have several bundles not show >> up in the bundle list. > > If you disabled the Text, Source, or TextMate bundle, then reenable > these. They contain defaults like what characters to auto-pair (for > those scopes that do not want to customzie the list). > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From molyneux at pobox.com Sun Feb 15 05:59:07 2009 From: molyneux at pobox.com (Phil Molyneux) Date: Sun, 15 Feb 2009 05:59:07 +0000 Subject: [TxMt] Re: GetBundles Problem In-Reply-To: <760DD6FE-E657-4F3B-8E2A-6A9C90A32A94@textmate.org> References: <760DD6FE-E657-4F3B-8E2A-6A9C90A32A94@textmate.org> Message-ID: Thanks Allan - I have set -o noclobber # prevent output redirection '>','>&','<>' overwriting files in my ~/.bashrc which is equivalent to set -C I thought that was being prudent. Cheers - Phil Allan Odgaard wrote: > On 14 Feb 2009, at 02:31, Phil Molyneux wrote: > >> Whenever I try to run GetBundles Get Bundles command I get the error >> message: >> >> /bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot >> overwrite existing file >> [...] >> Any suggestions ? > > Presumably you ?set -C? in one of your bash startup files. > > Hans: Unless you need stuff from these, you can give the command a #!/ > bin/bash shebang to skip sourcing of user profiles, alternatively rm > the file first or use ?>>? to append to it (probably append is the > more correct thing, since this is a log file). > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > From jonas.huckestein at mytum.de Sun Feb 15 23:24:33 2009 From: jonas.huckestein at mytum.de (Jonas Huckestein) Date: Mon, 16 Feb 2009 00:24:33 +0100 Subject: [TxMt] [Xcode Bundle] Bug when running a target Message-ID: Hello everybody, I just spent a few hours wrsetling with a strange bug, so I thought I'd let you know. In run_xcode_target.rb the command for executing shell programs is built in line 295. The environment variables DYLD_FRAMEWORK_PATH and DYLD_LIBRARY_PATH are set. Instead of setting them, the new directories should be appended. In my case this caused some of the libraries I was using to spawn random malloc errors, I guess that is, because macports uses these paths. I don't know what happened exactly, but changing the command to appending the new paths instead of setting them solved my problem and sounds more reasonable anyway. What do you think, Cheers, Jonas From joepeck02 at gmail.com Mon Feb 16 07:32:28 2009 From: joepeck02 at gmail.com (Joseph Pecoraro) Date: Mon, 16 Feb 2009 02:32:28 -0500 Subject: [TxMt] Markdown Bundle Error on Preview Message-ID: <42ED7793-41CA-4FB6-B546-CD9E6015FB42@gmail.com> Hey Guys, I'm guessing this was caused Apple Security Update that was just released, but I have updated TextMate and some other things since the last time I tried this. Unfortunately I kinda wanted this to work! Heh. I get the following error when I try to "Preview" or "Produce HTML" for Markdown: Digest::MD5 object version 2.36 does not match bootstrap parameter 2.38 at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/ XSLoader.pm line 94. Compilation failed in require at /Applications/ TextMate.app/Contents/SharedSupport/Support/bin/Markdown.pl line 16. BEGIN failed--compilation aborted at /Applications/TextMate.app/ Contents/SharedSupport/Support/bin/Markdown.pl line 16. Even though I suspect it was Apple's update, this might help. I updated Textmate on the 10th and this file seems to have changed. shell> ls -l /System/Library/Perl/5.8.8/darwin-thread-multi-2level/ XSLoader.pm -rw-r--r-- 1 root wheel 10465 Sep 23 2007 /System/Library/Perl/ 5.8.8/darwin-thread-multi-2level/XSLoader.pm shell> ls -l /Applications/TextMate.app/Contents/SharedSupport/ Support/bin/Markdown.pl -rwxr-xr-x@ 1 joe joe 35622 Feb 10 12:45 /Applications/TextMate.app/ Contents/SharedSupport/Support/bin/Markdown.pl Any pointers? Thanks guys! - Joseph Pecoraro From bibiko at eva.mpg.de Mon Feb 16 12:39:37 2009 From: bibiko at eva.mpg.de (=?WINDOWS-1252?Q?Hans-J=F6rg_Bibiko?=) Date: Mon, 16 Feb 2009 13:39:37 +0100 Subject: [TxMt] Re: GetBundles Problem In-Reply-To: References: <760DD6FE-E657-4F3B-8E2A-6A9C90A32A94@textmate.org> Message-ID: On 14 Feb 2009, at 02:31, Phil Molyneux wrote: > Whenever I try to run GetBundles Get Bundles command I get the error > message: > > /bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot > overwrite existing file Phil, thanks for the report. Should be fixed in the latest GetBundles version. Furthermore GetBundles needed a fix for displaying information about bundles hosted on GitHub. [The search API is running again :) but it uses a completely different syntax] Thus please update GetBundles! Cheers, --Hans From gaspard at teti.ch Mon Feb 16 18:12:36 2009 From: gaspard at teti.ch (Gaspard Bucher) Date: Mon, 16 Feb 2009 19:12:36 +0100 Subject: [TxMt] ruby bundle Message-ID: <7a9f744a0902161012h302ad5chc0044db5fd60ef8d@mail.gmail.com> Hi List ! I would like to add a few lines to the ruby L file to support git merge colors. Details here: http://zenadmin.org/en/blog/post536.html How should I proceed ? Gaspard From gaspard at teti.ch Mon Feb 16 18:12:36 2009 From: gaspard at teti.ch (Gaspard Bucher) Date: Mon, 16 Feb 2009 19:12:36 +0100 Subject: [TxMt] ruby bundle Message-ID: <7a9f744a0902161012h302ad5chc0044db5fd60ef8d@mail.gmail.com> Hi List ! I would like to add a few lines to the ruby L file to support git merge colors. Details here: http://zenadmin.org/en/blog/post536.html How should I proceed ? Gaspard From pete at otaqui.com Mon Feb 16 19:46:22 2009 From: pete at otaqui.com (pete otaqui) Date: Mon, 16 Feb 2009 19:46:22 +0000 Subject: [TxMt] IPhone code editor - probably a silly idea Message-ID: <849F31DD-EB8F-4BD0-9717-9D31BBAA1593@otaqui.com> I have in and got myself an iPhone. Now I'm wondering if any of you others on the list - who I know share my love of TM - have ever seen a code editor for these slices of loveliness? I should point out that I have already installed iSSH, so I can use vi (after a fashion) but it would be a nice touch to be able to get something with a fixed width font and syntax highlighting for putting ideas down on the go. Of course, without copy and paste, it's a little pointless! Still, I thought I'd ask! Best, Pete Sent from my iPhone From jonathan.l.stewart at gmail.com Tue Feb 17 05:04:45 2009 From: jonathan.l.stewart at gmail.com (Jon Stewart) Date: Tue, 17 Feb 2009 00:04:45 -0500 Subject: [TxMt] puzzling command output with Tool Tips and l/ Message-ID: Howdy, I've got a weird bug displaying file paths in Tool Tips as output from shell commands. The bug is that if a directory in a path ends in an 'l' (el, not one), then both it and the slash are elided in the Tool Tip display. For example, I have a simple bundle command that executes "git status" (that's it; nothing more) and writes the output to a tool tip. In the example below, I've modified a file named "clusters.py" in a sub-directory named "util" (i.e. "util/clusters.py"). The tool tip output of the path will be "uticlusters.py", like this: # On branch master # Changed but not updated: # (use "git add ..." to update what will be committed) # # modified: uticlusters.py If I execute "git status" from the terminal, I get the correct "util/clusters.py": # On branch master # Changed but not updated: # (use "git add ..." to update what will be committed) # # modified: util/clusters.py I have had this problem before with other commands, so it's not specific to git. If I tell the output to go to a New Document or to Insert As Snippet, then the missing "l/" in the paths show up (using the same bundle commands). So, it appears to be something weird about the output going to a Tool Tip. Is there some kind of markup happening in Tool Tips? Any help is much appreciated -- I'm afraid I'm a bit out of my league in this issue. Jon From joepeck02 at gmail.com Tue Feb 17 05:21:23 2009 From: joepeck02 at gmail.com (Joseph Pecoraro) Date: Tue, 17 Feb 2009 00:21:23 -0500 Subject: [TxMt] Re: Markdown Bundle Error on Preview Message-ID: Yup, it seems like it was an Apple Update Issue: http://www.theregister.co.uk/2009/02/16/apple_update_perl_breakage/ http://discussions.apple.com/message.jspa?messageID=8992556#8992556 I ended up working around it, but keep your eyes out if you have a Mac where you have updated/customized your perl. Especially if you updated with cpan. - Joe From matt at mattdavis.co.uk Tue Feb 17 12:52:42 2009 From: matt at mattdavis.co.uk (Matthew Davis) Date: Tue, 17 Feb 2009 12:52:42 +0000 Subject: [TxMt] Collaboration? Message-ID: <0A1A0CD2-E02C-4FBF-B0C9-682EE0508EEB@mattdavis.co.uk> Hi... I was wondering if we're ever going to see collaborative text editing with TextMate? It's perfect for coding solo efforts, and I've been using Coda for collaborative stuff, but without all the nice TM shortcuts, the project view, etc, it's pretty much useless. Pretty please? Thanks... Matt From matt at tidbits.com Tue Feb 17 20:18:10 2009 From: matt at tidbits.com (Matt Neuburg) Date: Tue, 17 Feb 2009 12:18:10 -0800 Subject: [TxMt] spotlight importer? Message-ID: I notice that Spotlight is not indexing the contents of my .rb files. Do I need a special TextMate Spotlight importer, or is this just something about my LaunchServices? Here's the listing from mdls showing the content type tree on a typical .rb file: kMDItemContentTypeTree = ( "public.ruby-script", "public.shell-script", "public.script", "public.source-code", "public.plain-text", "public.text", "public.data", "public.item", "public.content" ) Thx - m. -- matt neuburg, phd = matt at tidbits.com, A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings From tim.lahey at gmail.com Tue Feb 17 20:36:24 2009 From: tim.lahey at gmail.com (Tim Lahey) Date: Tue, 17 Feb 2009 15:36:24 -0500 Subject: [TxMt] Re: spotlight importer? In-Reply-To: References: Message-ID: <36cdb5620902171236y6e2f961fja81187b4514793c2@mail.gmail.com> On Tue, Feb 17, 2009 at 3:18 PM, Matt Neuburg wrote: > I notice that Spotlight is not indexing the contents of my .rb files. Do I > need a special TextMate Spotlight importer, or is this just something about > my LaunchServices? Here's the listing from mdls showing the content type > tree on a typical .rb file: > > kMDItemContentTypeTree = ( > "public.ruby-script", > "public.shell-script", > "public.script", > "public.source-code", > "public.plain-text", > "public.text", > "public.data", > "public.item", > "public.content" > ) > > Thx - m. Matt, If you're just interested in Ruby importing, there is a Ruby spotlight importer: http://www.apple.com/downloads/macosx/spotlight/rubyimporter.html Cheers, Tim. From matt at tidbits.com Wed Feb 18 05:09:05 2009 From: matt at tidbits.com (Matt Neuburg) Date: Tue, 17 Feb 2009 21:09:05 -0800 Subject: [TxMt] Re: spotlight importer? References: <36cdb5620902171236y6e2f961fja81187b4514793c2@mail.gmail.com> Message-ID: On 2/17/09 12:36 PM, in article 36cdb5620902171236y6e2f961fja81187b4514793c2 at mail.gmail.com, "Tim Lahey" wrote: > If you're just interested in Ruby importing, there is a Ruby spotlight > importer: But it ought to just work. I just works on my other machine. Maybe this is some kind of Tiger vs. Leopard thing... m. -- matt neuburg, phd = matt at tidbits.com, A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings From pete at otaqui.com Wed Feb 18 08:59:20 2009 From: pete at otaqui.com (pete otaqui) Date: Wed, 18 Feb 2009 08:59:20 +0000 Subject: [TxMt] Re: IPhone code editor - probably a silly idea In-Reply-To: <849F31DD-EB8F-4BD0-9717-9D31BBAA1593@otaqui.com> References: <849F31DD-EB8F-4BD0-9717-9D31BBAA1593@otaqui.com> Message-ID: <063D8DDB-F707-4B51-A013-FC91459C567D@otaqui.com> Interesting in this regard: Mozilla Bespin, Code in the Cloud https://bespin.mozilla.com/ The iPhone browser can't handle it yet, but hopefully will soon! On 16 Feb 2009, at 19:46, Pete Otaqui wrote: > I have in and got myself an iPhone. > > Now I'm wondering if any of you others on the list - who I know > share my love of TM - have ever seen a code editor for these slices > of loveliness? > > I should point out that I have already installed iSSH, so I can use > vi (after a fashion) but it would be a nice touch to be able to get > something with a fixed width font and syntax highlighting for > putting ideas down on the go. Of course, without copy and paste, > it's a little pointless! > > Still, I thought I'd ask! > > Best, > > Pete > > Sent from my iPhone From dimavs at gmail.com Thu Feb 19 03:39:58 2009 From: dimavs at gmail.com (Dmitri Sosnik) Date: Thu, 19 Feb 2009 14:39:58 +1100 Subject: [TxMt] Bundles Message-ID: Hi, Is it just me? I've got the latest version from Subversion. Erlang bundle doesn't have any command, like Compile, ... Google says that it used to have them. Then I just tried TerminalMate bundle and it crashes with "`initialize': No such file or directory - /Users/dm/ Library/Application Support/TerminalMate/server.bin (Errno::ENOENT)". Cheers, D From m.c.jansen at gmail.com Thu Feb 19 06:58:14 2009 From: m.c.jansen at gmail.com (Marco Jansen) Date: Thu, 19 Feb 2009 07:58:14 +0100 Subject: [TxMt] Focussed Unit Test function of the Ruby bundle stopped working Message-ID: Hi, Last week I received an automatic update of TextMate. I think this was actually the first time since I have been using TextMate for a year or s. I am now on Version 1.5.8 (1498) After the update the Focussed Unit Test function of the Ruby bundle stopped working. When I now run a focussed unit test it will run all the unit tests. Has anybody seen the same problem? Do you know how to fix this? I Googled this problem, but I couldn't find anybody else with the same problem. Thanks, Marco From flo at andersground.net Thu Feb 19 07:45:45 2009 From: flo at andersground.net (Florian Gilcher) Date: Thu, 19 Feb 2009 08:45:45 +0100 Subject: [TxMt] Re: Bundles In-Reply-To: References: Message-ID: On Feb 19, 2009, at 4:39 AM, Dmitri Sosnik wrote: > Hi, > > Is it just me? I've got the latest version from Subversion. Erlang > bundle doesn't have any command, like Compile, ... Google says that it > used to have them. I have "Shell: alt-command-S" and "Compile: command-K". > Then I just tried TerminalMate bundle and it > crashes with "`initialize': No such file or directory - /Users/dm/ > Library/Application Support/TerminalMate/server.bin (Errno::ENOENT)". I experience that one as well. Regards, Florian -- Florian Gilcher smtp: flo at andersground.net jabber: Skade at jabber.ccc.de gpg: 533148E2 From talklists at newgeo.com Thu Feb 19 09:07:22 2009 From: talklists at newgeo.com (Scott Haneda) Date: Thu, 19 Feb 2009 01:07:22 -0800 Subject: [TxMt] Keyboards and what fingers Message-ID: <03836E21-2423-4976-A89C-3624908644E9@newgeo.com> Keyboard shortcuts and what fingers? Hello, been using TM for a litle white now, slowling moving over from BB. There is a much stronger emphasis on keyboard shortcuts, I was hoping someone could help me out a little. I can find data online with regard to what fingers go where for alphanumeric keys, the option, command, and control keys are largely not talked about, especially when used in combination. I do tend to work on the left side of the board, since sometimes I move to a laptop, and it is missing control and option on the right. I also use the caps lock as a control, but would not want to rely on that for being able to move around as well. "Control Shift <" is is a good example. I am using thumb on control and ring on shift, then the right hand for the less than. This is a bit of a stretch, and probably will be bad over time. Maybe index on control and middle on shift would be better? That combo them requires me to move my entire wrist down to hit it, which I wh Or is there some strict rules for ergonomics and RSI prevention that puts a specific finder on a specific key like the alphanumerics? Some of these are just hard for me to hit. Control-Option-Shift-H is a good example, though I only need to use it once. Any suggestions on how you have all adapted to an app that must use keyboard shortcuts to truly become powerful, would be apprecitated. Thanks. -- Scott * If you contact me off list replace talklists@ with scott@ * From mailinglists at greenlemur.com Thu Feb 19 11:54:25 2009 From: mailinglists at greenlemur.com (Nigel Green) Date: Thu, 19 Feb 2009 11:54:25 +0000 Subject: [TxMt] ProjectPlus folders on top bug? Message-ID: <20090219115425.GC1913@greenlemur.com> Hi, If I set ProjectPlus sort to show folders on top, the order gets messed up if I add a file to a project folder outside of TM. When I switch back to TM the project list updates to show the new file, but the folders are now mixed in alphabetical order, rather than at the top. I then have to uncheck "folders on top" and the re-check it to restore the order. Is this a bug? If I add the file through TM (using the 'add existing files...' option, this doesn't happen, it's only if I add a file into a folder that is in the project, and the re-sort happens when TM regains focus and the project drawer is redrawn. Thanks, Nigel From rick.denatale at gmail.com Thu Feb 19 16:25:54 2009 From: rick.denatale at gmail.com (Rick DeNatale) Date: Thu, 19 Feb 2009 11:25:54 -0500 Subject: [TxMt] Re: Keyboards and what fingers In-Reply-To: <03836E21-2423-4976-A89C-3624908644E9@newgeo.com> References: <03836E21-2423-4976-A89C-3624908644E9@newgeo.com> Message-ID: On Thu, Feb 19, 2009 at 4:07 AM, Scott Haneda wrote: > Keyboard shortcuts and what fingers? > ... > "Control Shift <" is is a good example. I am using thumb on control > and ring on shift, then the right hand for the less than. This is a > bit of a stretch, and probably will be bad over time. Maybe index on > control and middle on shift would be better? That combo them requires > me to move my entire wrist down to hit it, which I wh I find pinky on control, ring finger on shift very comfortable on the external apple keyboard, just a slight shift of the left hand from home position. It's a little bit more awkward, but still works on my MacBook keyboard due to the control key being shifted left to accommodate the fn key. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailinglists at greenlemur.com Thu Feb 19 16:44:12 2009 From: mailinglists at greenlemur.com (Nigel Green) Date: Thu, 19 Feb 2009 16:44:12 +0000 Subject: [TxMt] Re: Keyboards and what fingers In-Reply-To: References: <03836E21-2423-4976-A89C-3624908644E9@newgeo.com> Message-ID: <20090219164412.GH2457@greenlemur.com> On 19/02/09, Rick DeNatale wrote: >On Thu, Feb 19, 2009 at 4:07 AM, Scott Haneda wrote: > >> Keyboard shortcuts and what fingers? >> ... >> "Control Shift <" is is a good example. I am using thumb on control >> and ring on shift, then the right hand for the less than. This is a >> bit of a stretch, and probably will be bad over time. Maybe index on >> control and middle on shift would be better? That combo them requires >> me to move my entire wrist down to hit it, which I wh > > >I find pinky on control, ring finger on shift very comfortable on the >external apple keyboard, just a slight shift of the left hand from home >position. I also have control mapped to the caps lock key so I use my thumb across them both to get a ctrl-shift on a wireless apple keyboard. Works nicely - I don't touch type so I don't worry too much about moving my hands away from "home". Nigel From kfligg at gmail.com Thu Feb 19 17:11:50 2009 From: kfligg at gmail.com (Keith Fligg) Date: Thu, 19 Feb 2009 10:11:50 -0700 Subject: [TxMt] Re: Keyboards and what fingers In-Reply-To: References: <03836E21-2423-4976-A89C-3624908644E9@newgeo.com> Message-ID: <8FA82E77-8ECD-4081-A008-94178334F6DE@gmail.com> On Feb 19, 2009, at 9:25 AM, Rick DeNatale wrote: > > > On Thu, Feb 19, 2009 at 4:07 AM, Scott Haneda > wrote: > Keyboard shortcuts and what fingers? > ... > "Control Shift <" is is a good example. I am using thumb on control > and ring on shift, then the right hand for the less than. This is a > bit of a stretch, and probably will be bad over time. Maybe index on > control and middle on shift would be better? That combo them requires > me to move my entire wrist down to hit it, which I wh > > I find pinky on control, ring finger on shift very comfortable on > the external apple keyboard, just a slight shift of the left hand > from home position. > Same here, it seems the most natural combination. In fact my pinky always takes the control key. Then ring finger is either shift or option. For control-shift-option, my ring finger takes the shift key and my middle finger handles option. I think its just a matter of letting your hand try the keystroke and see where it ends up. Try not to use your brain for these simple tasks. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From amiel.martin at gmail.com Thu Feb 19 18:28:06 2009 From: amiel.martin at gmail.com (Amiel Martin) Date: Thu, 19 Feb 2009 10:28:06 -0800 Subject: [TxMt] ruby bundle patch for magic heredoc tokens Message-ID: <8230cc360902191028p56312fbema1ea27eaf6279ed4@mail.gmail.com> 1. switched the following languages to use a magic heredoc token instead of a comment 2. there was one way to trigger ruby scope, by have a heredoc token of *_EVAL now, there are two options: a. foobar = <<-RUBY b. eval <<-FOOBAR # works with eval, module_eval and class_eval TODO: * support <<-'HEREDOC' or <<-"HEREDOC" syntax for magic tokens for embedded languages * support < -------------- next part -------------- A non-text attachment was scrubbed... Name: ruby.patch Type: application/octet-stream Size: 11766 bytes Desc: not available URL: From amiel.martin at gmail.com Thu Feb 19 22:00:06 2009 From: amiel.martin at gmail.com (Amiel Martin) Date: Thu, 19 Feb 2009 14:00:06 -0800 Subject: [TxMt] Re: ruby bundle patch for magic heredoc tokens In-Reply-To: <8230cc360902191028p56312fbema1ea27eaf6279ed4@mail.gmail.com> References: <8230cc360902191028p56312fbema1ea27eaf6279ed4@mail.gmail.com> Message-ID: <8230cc360902191400m228ad75am38f555ef9ebb31df@mail.gmail.com> Update: http://pastie.org/394164 1. switched the following languages to use a magic heredoc token instead of a comment. In order to match, the heredoc token should END WITH the magic string for that language. The following are supported: * HTML * SQL * CSS * CPP * C * JS|JAVASCRIPT|JQUERY * SH|SHELL * RUBY 2. there was one way to trigger ruby scope, by have a heredoc token of *_EVAL now, there are two options: * foobar = <<-RUBY * eval <<-FOOBAR # works with eval, module_eval and class_eval 3. spport for <<-'FOOBAR' and <<-"FOOBAR" although the non-interpolated version is still scoped as an interpolated string NOTES: * in the case of *_eval, I don't know how to get the *_eval part not to be scoped as part of the heredoc * both C and SH can easily be the end of another word for example: foo = <<-FOOLISH # <- matches as a shell script TODO: * support <wrote: > 1. switched the following languages to use a magic heredoc token instead of > a comment > 2. there was one way to trigger ruby scope, by have a heredoc token of > *_EVAL > now, there are two options: > a. foobar = <<-RUBY > b. eval <<-FOOBAR # works with eval, module_eval and class_eval > > TODO: > * support <<-'HEREDOC' or <<-"HEREDOC" syntax for magic tokens for > embedded languages > * support < > patch is attached, and can be found here: http://pastie.org/394164 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ruby_heredoc_tokens.patch Type: application/octet-stream Size: 13079 bytes Desc: not available URL: From james at grayproductions.net Fri Feb 20 04:19:15 2009 From: james at grayproductions.net (James Gray) Date: Thu, 19 Feb 2009 22:19:15 -0600 Subject: [TxMt] Re: ruby bundle patch for magic heredoc tokens In-Reply-To: <8230cc360902191400m228ad75am38f555ef9ebb31df@mail.gmail.com> References: <8230cc360902191028p56312fbema1ea27eaf6279ed4@mail.gmail.com> <8230cc360902191400m228ad75am38f555ef9ebb31df@mail.gmail.com> Message-ID: On Feb 19, 2009, at 4:00 PM, Amiel Martin wrote: > Update: http://pastie.org/394164 I've commented these changes with three small changes: * I dropped support for < Hello, I've just got back from holiday to find a TextMate update! After performing the update - so I'm now at Version 1.5.8 (1498) - my Python scripts no longer run when I hit cmd-R. The error is: Program terminated by uncaught signal #11 after 6.26 seconds. Followed by a Mac OS X "The application Python quit unexpectedly" dialogue box. I can replicate the problem by creating a file with the following command: from scipy import special (which imports a bunch of slightly odd functions from the scientific python library, and which can take a few seconds) and then running the "Run Script" command in the Python bundle. Running "from scipy import special" in both the python and ipython terminals, and running the above file from the command line all work fine. Can anyone help? I've re-installed Textmate after deleting all the Library folders I could find, and I've re-installed the Python bundle from svn. Other scripts work fine, which gives me the impression that something is timing out, but that's really just a vague impression... Cheers, Mike Dewar -------------- next part -------------- An HTML attachment was scrubbed... URL: From ianalexanderwood at gmail.com Fri Feb 20 13:07:48 2009 From: ianalexanderwood at gmail.com (Ian Alexander Wood) Date: Fri, 20 Feb 2009 05:07:48 -0800 (PST) Subject: [TxMt] Re placing a space with an underscore in Snippet Message-ID: <22120173.post@talk.nabble.com> Hello. I am a newcomer to the world of Textmate having previously designed websites with Dreamweaver. I love the snippet functionality and have set about creating loads of my own snippets for speedy XHTML coding. I've hit a small snag whilst trying to get a regular expression to reproduce text in two places in my snippet. The problem I am having is trying to tell it to replace any spaces with say an underscore _ character. Forgive me if this is easy to do, I am quite new to Regular Expressions and I'm still feeling my way! Here is the offending snippet:
${3:enter form name} $0
So placeholder number 3 is the legend name and also populates the fieldset ID. I can easily change the ID manually if it contains spaces, but I thought it would be really cool if it would just replace them automatically with an underscore instead. Any help would be much appreciated! Kind regards, Ian -- View this message in context: http://www.nabble.com/Replacing-a-space-with-an-underscore-in-Snippet-tp22120173p22120173.html Sent from the textmate users mailing list archive at Nabble.com. From ianalexanderwood at gmail.com Fri Feb 20 19:42:14 2009 From: ianalexanderwood at gmail.com (Ian Alexander Wood) Date: Fri, 20 Feb 2009 11:42:14 -0800 (PST) Subject: [TxMt] Re placing a space with an underscore in Snippet Message-ID: <22126048.post@talk.nabble.com> Hello. I am a newcomer to the world of Textmate having previously designed websites with Dreamweaver. I love the snippet functionality and have set about creating loads of my own snippets for speedy XHTML coding. I've hit a small snag whilst trying to get a regular expression to reproduce text in two places in my snippet. The problem I am having is trying to tell it to replace any spaces with say an underscore _ character. Forgive me if this is easy to do, I am quite new to Regular Expressions and I'm still feeling my way! Here is the offending snippet:
${3:enter form name} $0
So placeholder number 3 is the legend name and also populates the fieldset ID. I can easily change the ID manually if it contains spaces, but I thought it would be really cool if it would just replace them automatically with an underscore instead. Any help would be much appreciated! Kind regards, Ian -- View this message in context: http://www.nabble.com/Replacing-a-space-with-an-underscore-in-Snippet-tp22126048p22126048.html Sent from the textmate users mailing list archive at Nabble.com. From tm-alex at rosiba.com Fri Feb 20 21:36:55 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Fri, 20 Feb 2009 13:36:55 -0800 Subject: [TxMt] Re: Python Bundle Problem - uncaught signal #11 after... In-Reply-To: <1FF0E55B-AA00-4F3C-B5BB-C626B4C1BEFF@gmail.com> References: <1FF0E55B-AA00-4F3C-B5BB-C626B4C1BEFF@gmail.com> Message-ID: <741EDB5F-8827-4104-BCC8-10E1310C3F4B@rosiba.com> On Feb 20, 2009, at 2:52 AM, Michael Dewar wrote: > Hello, > > I've just got back from holiday to find a TextMate update! After > performing the update - so I'm now at Version 1.5.8 (1498) - my > Python scripts no longer run when I hit cmd-R. The error is: > > Program terminated by uncaught signal #11 after 6.26 seconds. > > Followed by a Mac OS X "The application Python quit unexpectedly" > dialogue box. I can replicate the problem by creating a file with > the following command: > > from scipy import special > > (which imports a bunch of slightly odd functions from the scientific > python library, and which can take a few seconds) and then running > the "Run Script" command in the Python bundle. > > Running "from scipy import special" in both the python and ipython > terminals, and running the above file from the command line all work > fine. Is the same version of python being used in both TextMate and the terminal? In terminal do a ?which python? and copy the results to TM_PYTHON in TextMate's Shell Variables preference pane. Does that correct the issue? ?Alex From mailinglist at textmate.org Sun Feb 22 11:10:49 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 22 Feb 2009 12:10:49 +0100 Subject: [TxMt] Re: Automaticly open documents in project drawer In-Reply-To: <0D90AD75-58F6-4DED-91CC-33B6C2E84106@gmail.com> References: <0D90AD75-58F6-4DED-91CC-33B6C2E84106@gmail.com> Message-ID: On 14 Feb 2009, at 17:18, Dijk van Marc wrote: > [...] What I would like is for all those new documents that result > from the splitting procedure to be displayed in a project drawer [...] If you call "$TM_SUPPORT_PATH/bin/mate" with multiple files, they open in one drawer. > [...] The new files will probably not yet been saved to disk so > that's something the user has to do. If there are no files on disk, you can?t open them in TextMate. From mailinglist at textmate.org Sun Feb 22 11:12:41 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 22 Feb 2009 12:12:41 +0100 Subject: [TxMt] Re: [Xcode Bundle] Bug when running a target In-Reply-To: References: Message-ID: <002DF0BC-7140-43B4-8E7A-96070D37C1C2@textmate.org> On 16 Feb 2009, at 00:24, Jonas Huckestein wrote: > In run_xcode_target.rb the command for executing shell programs is > built in line 295. The environment variables DYLD_FRAMEWORK_PATH and > DYLD_LIBRARY_PATH are set. Instead of setting them, the new > directories should be appended. In my case this caused some of the > libraries I was using to spawn random malloc errors, I guess that is, > because macports uses these paths. I don't know what happened exactly, > but changing the command to appending the new paths instead of setting > them solved my problem and sounds more reasonable anyway. > > What do you think, I am curious to know what the existing values of these variables are for you and what exactly goes wrong. Certainly we can change it, and it does make sense, I just don?t understand why you?d get errors when not appending. From mailinglist at textmate.org Sun Feb 22 11:23:06 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 22 Feb 2009 12:23:06 +0100 Subject: [TxMt] Re: Keyboards and what fingers In-Reply-To: <20090219164412.GH2457@greenlemur.com> References: <03836E21-2423-4976-A89C-3624908644E9@newgeo.com> <20090219164412.GH2457@greenlemur.com> Message-ID: On 19 Feb 2009, at 17:44, Nigel Green wrote: >> [...] > I also have control mapped to the caps lock key [...] I thought this derserved repetition: definitely remap caps-lock to control if you are using a laptop keyboard or the new wireless aluminum. Control to the right of the fn-key is difficult to reach but using left pinky for control (on the caps-lock position) feels fine. Personally I then use right hand for the other modifiers (I have the wireless keyboard which has an option modifier key on the right side where some have an anter key). From mailinglist at textmate.org Sun Feb 22 11:23:17 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 22 Feb 2009 12:23:17 +0100 Subject: [TxMt] Re: puzzling command output with Tool Tips and l/ In-Reply-To: References: Message-ID: <0F03FF32-F38E-49DC-A659-BA7C0B0AF399@textmate.org> On 17 Feb 2009, at 06:04, Jon Stewart wrote: > I've got a weird bug displaying file paths in Tool Tips as output from > shell commands [...] What font are you using? TextMate itself is using ATSUI to render text but the tool tip is via NSLayoutManager, so different code is involved, which means a corrupt font cache? or font/rendering attributes may affect it differently. I know the regular ProFont has some ligature features that affet the tool tip (but not TextMate itself). ? http://wiki.macromates.com/Troubleshooting/FontCorruption From mailinglist at textmate.org Sun Feb 22 11:25:23 2009 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 22 Feb 2009 12:25:23 +0100 Subject: [TxMt] Re: Re placing a space with an underscore in Snippet In-Reply-To: <22120173.post@talk.nabble.com> References: <22120173.post@talk.nabble.com> Message-ID: <133638B5-7A26-447A-8970-2F6BDC5DA1FA@textmate.org> On 20 Feb 2009, at 14:07, Ian Alexander Wood wrote: > [...] >
Here I think you want: ${3/[[:alpha:]]+|( )/(?1:_:\L$0)/g} The capture registers are local for the replacement, not related to the placeholder enumeration. From timothy.c.bates at gmail.com Sun Feb 22 13:12:47 2009 From: timothy.c.bates at gmail.com (Timothy Bates) Date: Sun, 22 Feb 2009 13:12:47 +0000 Subject: [TxMt] idea for macro snippets Message-ID: It would be great if textmate's macro's were editable and buildable from the history of events: store each event as a list item, allow it to be named, copied, added to a library of snippet components, and deleted from a macro. Often we do things we wish to repeat, but not exactly as they were done (usually there are inefficiencies (like copying some text to be used for replace) which often break the macro as a repeatable sequence, but if I could choose "macro... from prior actions", then see a list like 1. copy 2. find and replace (find = , replace = , regex=TRUE) 3. switch documents 4. copy 5. paste 6. copy 7. find and replace (find = , replace = , regex=TRUE) And then delete all but 2 and 7... bingo: just the events needed From timothy.c.bates at gmail.com Sun Feb 22 13:19:53 2009 From: timothy.c.bates at gmail.com (Timothy Bates) Date: Sun, 22 Feb 2009 13:19:53 +0000 Subject: [TxMt] question for language completion or php bundle maintainers: behavior deleting a snippet element Message-ID: The completion for languages is very helpful, so: ex --> explode(string separator, string str, [int limit]) Currently backspacing on a snippet component like "[int limit]" leaves a broken fn call (unwanted trailing comma), i.e: explode(string separator, string str,) Is it possible to alter the generated snippets so that when the user backspaces on a snippet element in function calls like this, the comma preceding the unwanted parameter is also eaten, i.e.? explode(separator, str${1:, ${2:[int limit]}}) instead of explode(separator, str, ${2:[int limit]}}) From mikedewar at gmail.com Mon Feb 23 09:17:25 2009 From: mikedewar at gmail.com (Michael Dewar) Date: Mon, 23 Feb 2009 09:17:25 +0000 Subject: [TxMt] Re: Python Bundle Problem - uncaught signal #11 after... In-Reply-To: <741EDB5F-8827-4104-BCC8-10E1310C3F4B@rosiba.com> References: <1FF0E55B-AA00-4F3C-B5BB-C626B4C1BEFF@gmail.com> <741EDB5F-8827-4104-BCC8-10E1310C3F4B@rosiba.com> Message-ID: <414BABFB-E798-4597-BCF3-48143F107A22@gmail.com> On 20 Feb 2009, at 21:36, Alex Ross wrote: >> >> my Python scripts no longer run when I hit cmd-R. The error is: >> >> Program terminated by uncaught signal #11 after 6.26 seconds. >> >> Followed by a Mac OS X "The application Python quit unexpectedly" >> dialogue box. I can replicate the problem by creating and running a >> file with >> the following command: >> >> from scipy import special >> >> >> >> Running "from scipy import special" in both the python and ipython >> terminals, and running the above file from the command line all work >> fine. > > Is the same version of python being used in both TextMate and the > terminal? In terminal do a ?which python? and copy the results to > TM_PYTHON in TextMate's Shell Variables preference pane. Does that > correct the issue? Hi Alex, thanks for your response - I've had a go at that and it doesn't correct the issue! I still get a similar error. The Python path in the PATH shell variable is the same as that reported by "which python", and is now the same as TM_PYTHON: /Library/Frameworks/Python.framework/Versions/Current/bin/python I should say that the error I'm getting isn't a Python error - I mean it seems to be a shell error or something to do with textmate (I don't pretend to understand). Is there anything else I could try? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcvdijk at gmail.com Mon Feb 23 10:32:35 2009 From: marcvdijk at gmail.com (Dijk van Marc) Date: Mon, 23 Feb 2009 11:32:35 +0100 Subject: [TxMt] Re: Automaticly open documents in project drawer In-Reply-To: References: <0D90AD75-58F6-4DED-91CC-33B6C2E84106@gmail.com> Message-ID: <2CDAEBF6-1D63-42ED-B845-0182D0A6347B@gmail.com> He Allan, Thanks for the tip about "$TM_SUPPORT_PATH/bin/mate" Works great Regards, Marc Op 22 feb 2009, om 12:10 heeft Allan Odgaard het volgende geschreven: > On 14 Feb 2009, at 17:18, Dijk van Marc wrote: > >> [...] What I would like is for all those new documents that result >> from the splitting procedure to be displayed in a project drawer >> [...] > > If you call "$TM_SUPPORT_PATH/bin/mate" with multiple files, they open > in one drawer. > >> [...] The new files will probably not yet been saved to disk so >> that's something the user has to do. > > If there are no files on disk, you can?t open them in TextMate. > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From jim at getzen.name Mon Feb 23 18:26:41 2009 From: jim at getzen.name (Getzen) Date: Mon, 23 Feb 2009 10:26:41 -0800 (PST) Subject: [TxMt] Python bundle - 2 problems Message-ID: <22163059.post@talk.nabble.com> A few months ago, I been successfully using TM for all sorts of Python scripts. I recently decided to use it again, but now scripts that used to run perfectly no longer do so. Here is the key: those same scripts still run perfectly if I run them from XCode, Editra, or if I make the files executables and run them from Terminal. They only fail in TM. I have run into two problems. First, this simple one-line script will cause two error windows to appear: text = raw_input("--> ") The first error window says, "The application Python quit unexpectedly. The problem may have been caused by the tm_interactive_input.dylib plug-in." The second error window says, "The application tm_dialog2 quit unexpectedly." I can paste the error reports here if you want to see them. The second script that causes problems is this (reduced down to its essentials): import pyglet class Test(pyglet.window.Window): def __init__(self): pyglet.window.Window.__init__(self) def on_draw(self): self.clear() test = Test() pyglet.app.run() I get this error message: OSError: dlopen(/System/Library/Frameworks/AGL.framework/AGL, 6): Symbol not found: _CGLClearDrawable Referenced from: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo Expected in: flat namespace function __getattr__ in __init__.py at line 307 __import__(import_name) module body in __init__.py at line 133 from pyglet.gl import gl_info module body in __init__.py at line 99 from pyglet.gl.lib import GLException module body in lib.py at line 141 from pyglet.gl.lib_agl import link_GL, link_GLU, link_AGL module body in lib_agl.py at line 51 framework='/System/Library/Frameworks/AGL.framework') function load_library in lib.py at line 90 return self.load_framework(kwargs['framework']) function load_framework in lib.py at line 226 lib = ctypes.cdll.LoadLibrary(realpath) function LoadLibrary in __init__.py at line 408 return self._dlltype(name) function __init__ in __init__.py at line 325 self._handle = _dlopen(self._name, mode) That error message makes it seem like a pyglet problem, but again, I get no errors when running it outside of TM. I am running Mac OS X 10.5.6 and the cutting edge version of TextMate (1498), and I completely reinstalled TM after experiencing these errors. I am using the stock Python that shipped with Leopard (2.5.1) and that's the version being used by the Python bundle. There were two older MacPorts versions of Python that were carried over to my Leopard installation, but I have uninstalled those. I tried setting the TM_PYTHON variable, but it made no difference. A simple pure-Python script that doesn't use pyglet or raw_input will run fine: class Test(object): def __init__(self): print("Hello, World") test = Test() Odd. Ideas? Jim -- View this message in context: http://www.nabble.com/Python-bundle---2-problems-tp22163059p22163059.html Sent from the textmate users mailing list archive at Nabble.com. From mjijackson at gmail.com Mon Feb 23 22:31:00 2009 From: mjijackson at gmail.com (Michael J. I. Jackson) Date: Mon, 23 Feb 2009 15:31:00 -0700 Subject: [TxMt] How to submit feature requests to bundle authors? Message-ID: Hi all, What is the proper channel for submitting bugs and/or feature requests to bundle authors? Should I just contact the developer directly? If so, where can I find the developer's contact info? Thanks, Michael J. I. Jackson From bibiko at eva.mpg.de Tue Feb 24 07:02:57 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Tue, 24 Feb 2009 08:02:57 +0100 Subject: [TxMt] Re: How to submit feature requests to bundle authors? In-Reply-To: References: Message-ID: On 23.02.2009, at 23:31, Michael J. I. Jackson wrote: > What is the proper channel for submitting bugs and/or feature requests > to bundle authors? Should I just contact the developer directly? If > so, where can I find the developer's contact info? There're some ways to contribute: - contact the developer: the author(s) and contact info are normally stored inside of the info.plist for each bundle; to get this info the simplest is to install GetBundles, choose the bundle, and click the Info button to get the contact name and email address - join the IRC channel ##textmate on freenode.net irc://irc.freenode.net/ #%23textmate; at this channel many authors are online thus it's very easy to communicate with them, paste your suggestions online to discuss etc. - or use this mailing list simply --Hans From seungchan.oh at gmail.com Tue Feb 24 08:12:16 2009 From: seungchan.oh at gmail.com (Seungchan Oh) Date: Tue, 24 Feb 2009 01:12:16 -0700 Subject: [TxMt] Latex with bibtex Message-ID: Hi, I'm new to Latex with TextMate. It might be an easy question, but I couldn't figure it out. Any comments will be thankful. I placed the caret in \cite{} and press ESC. There was only one beep. Nothing happend. After googling the shell variables TM_LATEX_BIB were filled as my local copy of bib file. - No luck. After googling again, I placed the bib file in ~/Library/texmf/bibtex/bib. - Still no luck. I've read many posts, but still the citation function is not working. Would you help me out? Thanks in advance, SC -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.kobschaetzki at googlemail.com Tue Feb 24 09:43:27 2009 From: n.kobschaetzki at googlemail.com (Niels Kobschaetzki) Date: Tue, 24 Feb 2009 10:43:27 +0100 Subject: [TxMt] Re: Latex with bibtex In-Reply-To: References: Message-ID: On Tue, Feb 24, 2009 at 9:12 AM, Seungchan Oh wrote: > Would you help me out? did you set it up in the tex-file? \bibliography{path-to-file/filename} All the other stuff is not necessary and it's the first time that I heard that the bib-file belongs in the texmf-directory. Niels From info at vonwinterfeldt.com Tue Feb 24 15:28:27 2009 From: info at vonwinterfeldt.com (Philip v. Winterfeldt) Date: Tue, 24 Feb 2009 15:28:27 +0000 (UTC) Subject: [TxMt] Disable auto-indent Message-ID: Hi, is there a new way to disable auto-indent, other than going through Terminal as described here a few years ago? I?m new to TextMate 1.5.8 and prefer to code XHTML without auto-indent. Why not add this option to the "Tab size" pop-up in the status bar? Thanks, Philip From dave at frascone.com Tue Feb 24 16:58:44 2009 From: dave at frascone.com (David Frascone) Date: Tue, 24 Feb 2009 11:58:44 -0500 Subject: [TxMt] Some newbie questions . . . Message-ID: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> I'm getting a bit more into textmate, and, that has brought me to some less newbie questions, but, things that have been bothering me: 1) Where can I find a list of keyboard shortcuts? The other day I wanted to comment out a block of text, but had to google to figure out ?-/ 2) I'm ready to start playing with projects some -- and, from my lurking on this list, it seems that the default project stuff isn't very capable. What is a good project bundle to start playing with? Thanks in advance, -Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at vonwinterfeldt.com Tue Feb 24 17:10:59 2009 From: info at vonwinterfeldt.com (Philip v. Winterfeldt) Date: Tue, 24 Feb 2009 17:10:59 +0000 (UTC) Subject: [TxMt] Re: Some newbie questions . . . References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> Message-ID: > 1) Where can I find a list of keyboard shortcuts? Control-Option-Command-K is the shortcut to the list of keyboard shortcuts. Philip From dave at frascone.com Tue Feb 24 17:15:08 2009 From: dave at frascone.com (David Frascone) Date: Tue, 24 Feb 2009 12:15:08 -0500 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> Message-ID: <9cf5ced20902240915u6514b6e4q9bf7d0eb243e5ab0@mail.gmail.com> Perfect! Thanks! -Dave On Tue, Feb 24, 2009 at 12:10 PM, Philip v. Winterfeldt < info at vonwinterfeldt.com> wrote: > > 1) Where can I find a list of keyboard shortcuts? > > Control-Option-Command-K is the shortcut to the list of keyboard shortcuts. > > Philip > > > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bibiko at eva.mpg.de Tue Feb 24 17:59:32 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Tue, 24 Feb 2009 18:59:32 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <9cf5ced20902240915u6514b6e4q9bf7d0eb243e5ab0@mail.gmail.com> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <9cf5ced20902240915u6514b6e4q9bf7d0eb243e5ab0@mail.gmail.com> Message-ID: <8759D6B0-E32B-4C16-BFE0-710533E8329D@eva.mpg.de> or invoke CTRL+APPLE+T type something in like 'comment' to get a list of commands and their shortcut. If you click at the magnifier and select key equivalents then you can enter a shortcut to see the commands bound to it. --Hans From dave at frascone.com Tue Feb 24 18:30:55 2009 From: dave at frascone.com (David Frascone) Date: Tue, 24 Feb 2009 13:30:55 -0500 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <8759D6B0-E32B-4C16-BFE0-710533E8329D@eva.mpg.de> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <9cf5ced20902240915u6514b6e4q9bf7d0eb243e5ab0@mail.gmail.com> <8759D6B0-E32B-4C16-BFE0-710533E8329D@eva.mpg.de> Message-ID: <9cf5ced20902241030l1a6dd5d3r2bf6568dee50724c@mail.gmail.com> Wow -- that one roxxors too! Thanks! -Dave On Tue, Feb 24, 2009 at 12:59 PM, Hans-J?rg Bibiko wrote: > or invoke CTRL+APPLE+T > > type something in like 'comment' to get a list of commands and their > shortcut. > > If you click at the magnifier and select key equivalents then you can > enter a shortcut to see the commands bound to it. > > > --Hans > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tm-alex at rosiba.com Tue Feb 24 20:08:27 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Tue, 24 Feb 2009 12:08:27 -0800 Subject: [TxMt] Re: Python bundle - 2 problems In-Reply-To: <22163059.post@talk.nabble.com> References: <22163059.post@talk.nabble.com> Message-ID: <8DB22243-31A8-4E0E-B6D5-C434352D8F4F@rosiba.com> On Feb 23, 2009, at 10:26 AM, Getzen wrote: > I have run into two problems. First, this simple one-line script > will cause > two error windows to appear: > text = raw_input("--> ") > > The first error window says, "The application Python quit > unexpectedly. The > problem may have been caused by the tm_interactive_input.dylib plug- > in." > The second error window says, "The application tm_dialog2 quit > unexpectedly." > I can paste the error reports here if you want to see them. Well, I am not experiencing that problem here. Do you have any crash logs from textmate or from tm_dialog2 in ~/Library/Logs? If you try a simple ruby script with contents ?gets? do you also get the crash, or is it only for python? > The second script that causes problems is this (reduced down to its > essentials): > import pyglet > > class Test(pyglet.window.Window): > def __init__(self): > pyglet.window.Window.__init__(self) > > def on_draw(self): > self.clear() > > test = Test() > pyglet.app.run() > > I get this error message: > OSError: dlopen(/System/Library/Frameworks/AGL.framework/AGL, 6): > Symbol not > found: _CGLClearDrawable Referenced from: > /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo > Expected > in: flat namespace We have tracked this problem down. Basically, the tm_interactive_input.dylib that TextMate loads into Python requires a flat namespace to work properly. Pyglet loads OpenGL.framework but, because of the flat namespace, crashes when trying to load AGL.framework. I don't have a solution for you yet, but we're working on it. ?Alex From cowan.pd at gmail.com Tue Feb 24 20:53:01 2009 From: cowan.pd at gmail.com (Peter Cowan) Date: Tue, 24 Feb 2009 12:53:01 -0800 Subject: [TxMt] Re: Disable auto-indent In-Reply-To: References: Message-ID: Philip, On Tue, Feb 24, 2009 at 7:28 AM, Philip v. Winterfeldt wrote: > Hi, > > is there a new way to disable auto-indent, other than going through Terminal as > described here a few years ago? I?m new to TextMate 1.5.8 and prefer to code > XHTML without auto-indent. Why not add this option to the "Tab size" pop-up in > the status bar? This behavior is controlled by a preference item in the bundle for each language. To change it you can edit the "Miscellaneous" preference in the HTML bundle. This is discussed in greater detail in the Manual section on Preferences, and in Appendix section "Indentation Rules" HTH Peter > Thanks, > > Philip > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > From landersen2667 at rogers.com Tue Feb 24 20:58:38 2009 From: landersen2667 at rogers.com (LENNART ANDERSEN) Date: Tue, 24 Feb 2009 12:58:38 -0800 (PST) Subject: [TxMt] un - subscribe me please! In-Reply-To: Message-ID: <878495.45959.qm@web88108.mail.re2.yahoo.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: From cowan.pd at gmail.com Tue Feb 24 21:03:18 2009 From: cowan.pd at gmail.com (Peter Cowan) Date: Tue, 24 Feb 2009 13:03:18 -0800 Subject: [TxMt] Re: un - subscribe me please! In-Reply-To: <878495.45959.qm@web88108.mail.re2.yahoo.com> References: <878495.45959.qm@web88108.mail.re2.yahoo.com> Message-ID: follow the link at the bottom of every email from the list On Tue, Feb 24, 2009 at 12:58 PM, LENNART ANDERSEN wrote: > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > > From talklists at newgeo.com Tue Feb 24 22:39:28 2009 From: talklists at newgeo.com (Scott Haneda) Date: Tue, 24 Feb 2009 14:39:28 -0800 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> Message-ID: <7D950389-FF6B-4F80-8E31-D9DE639A36AB@newgeo.com> This may be a total ass backwards way of doing things, but it works for me, and works well in all applications so have more than just value in tm. Most keyboard shortcuts have a menu item. I just press command- shift-? which will bring up Apple Help Search. Type in a word and it will highlight and expand the menu. You get to see where it is, what category it is in, and the keyboard shortcut. For me, this is the best way to learn it, since I learn where it lives, plus the keyboard command. It sometimes becomes like a spotlight to keyboard commands for me. Some I will decide to memorize, others I do not use enough, but now I have this global keyboard shortcut to it, that I can get it sans a mouse, and works in more than one place. On Feb 24, 2009, at 8:58 AM, David Frascone wrote: > I'm getting a bit more into textmate, and, that has brought me to > some less newbie questions, but, things that have been bothering me: > > 1) Where can I find a list of keyboard shortcuts? The other day I > wanted to comment out a block of text, but had to google to figure > out ?-/ > > 2) I'm ready to start playing with projects some -- and, from my > lurking on this list, it seems that the default project stuff isn't > very capable. What is a good project bundle to start playing with? -- Scott * If you contact me off list replace talklists@ with scott@ * From gldnspud at gmail.com Tue Feb 24 22:54:45 2009 From: gldnspud at gmail.com (Matthew Scott) Date: Tue, 24 Feb 2009 14:54:45 -0800 Subject: [TxMt] forgetting 'soft tabs' settings for .rst files Message-ID: <69EA29E1-4B4C-4E8F-8C42-5A307020B851@gmail.com> Using the reStructuredText bundle, I keep running into a problem with TextMate "forgetting" the soft tabs settings I apply to the .rst file extension. When I quit TextMate, start it, open my project's folder, then open a .rst file, it knows my preferred tab size, but it defaults to hard tabs. When I switch it to soft tabs, it remembers it for the duration of the TextMate session. That is, when I close the window for the project, then reopen it, it still remembers that I prefer soft tabs for .rst files. I've even closed TextMate, opened com.macromates.textmate.plist file with the Property List Editor and made sure that Root/ OakTextViewScopedSoftTabs/text.restructuredtext/softTabs was set to "Yes", saved it, closed PLE, reopened TextMate, and it still thinks that I want hard tabs for .rst files. It doesn't seem to be doing this for other file types. Very frustrating! I'd gotten used to the habit of letting TextMate remember my soft tab settings; now I seem to be getting into a defensive habit of double-checking soft tab settings -- not exactly an experience I enjoy having spent money for. :) Any suggestions about what I can do to get TextMate to remember soft tab settings? Thanks, -- Matthew Scott gldnspud at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at getzen.name Tue Feb 24 23:22:21 2009 From: jim at getzen.name (Getzen) Date: Tue, 24 Feb 2009 15:22:21 -0800 (PST) Subject: [TxMt] Re: Python bundle - 2 problems In-Reply-To: <8DB22243-31A8-4E0E-B6D5-C434352D8F4F@rosiba.com> References: <22163059.post@talk.nabble.com> <8DB22243-31A8-4E0E-B6D5-C434352D8F4F@rosiba.com> Message-ID: <22192985.post@talk.nabble.com> Alex Ross-8 wrote: > > Well, I am not experiencing that problem here. Do you have any crash > logs from textmate or from tm_dialog2 in ~/Library/Logs? > The only log in that location is textmate-io-exhaust.log. Here is the report text from the tm_dialog2 crash: Process: tm_dialog2 [343] Path: /Applications/TextMate.app/Contents/PlugIns/Dialog2.tmplugin/Contents/Resources/tm_dialog2 Identifier: tm_dialog2 Version: ??? (???) Code Type: X86 (Native) Parent Process: Python [341] Date/Time: 2009-02-24 18:18:37.840 -0500 OS Version: Mac OS X 10.5.6 (9G55) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000008318 Crashed Thread: 0 Thread 0 Crashed: 0 dyld 0x8fe13b9d ImageLoaderMachO::preFetch(int, unsigned long long, ImageLoader::LinkContext const&) + 109 1 dyld 0x8fe14be4 ImageLoaderMachO::ImageLoaderMachO(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) + 628 2 dyld 0x8fe05bec dyld::loadPhase5open(char const*, dyld::LoadContext const&, std::vector >*) + 1036 3 dyld 0x8fe05f71 dyld::loadPhase4(char const*, dyld::LoadContext const&, std::vector >*) + 161 4 dyld 0x8fe06105 dyld::loadPhase2(char const*, dyld::LoadContext const&, char const* const*, char const* const*, std::vector >*) + 325 5 dyld 0x8fe069e1 dyld::loadPhase1(char const*, dyld::LoadContext const&, std::vector >*) + 209 6 dyld 0x8fe06a73 dyld::loadPhase0(char const*, dyld::LoadContext const&, std::vector >*) + 67 7 dyld 0x8fe06bd2 dyld::load(char const*, dyld::LoadContext const&) + 130 8 dyld 0x8fe06df8 dyld::libraryLocator(char const*, bool, bool, char const*, ImageLoader::RPathChain const*) + 72 9 dyld 0x8fe0f22d ImageLoader::recursiveLoadLibraries(ImageLoader::LinkContext const&, ImageLoader::RPathChain const&) + 557 10 dyld 0x8fe0f13f ImageLoader::recursiveLoadLibraries(ImageLoader::LinkContext const&, ImageLoader::RPathChain const&) + 319 11 dyld 0x8fe1057e ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 62 12 dyld 0x8fe051ae dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 158 13 dyld 0x8fe07acf dyld::_main(mach_header const*, unsigned long, int, char const**, char const**, char const**) + 2831 14 dyld 0x8fe01872 dyldbootstrap::start(mach_header const*, int, char const**, long) + 818 15 dyld 0x8fe01037 _dyld_start + 39 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00008324 ebx: 0x8fe13b44 ecx: 0x8fe3267c edx: 0x00001000 edi: 0x00006000 esi: 0x00007414 ebp: 0xbfffac38 esp: 0xbfffabd0 ss: 0x0000001f efl: 0x00010206 eip: 0x8fe13b9d cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00008318 Binary Images: 0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld Alex Ross-8 wrote: > > If you try a > simple ruby script with contents ?gets? do you also get the crash, > or is it only for python? > No, a Ruby 'gets' works fine. Jim -- View this message in context: http://www.nabble.com/Python-bundle---2-problems-tp22163059p22192985.html Sent from the textmate users mailing list archive at Nabble.com. From thorsten.hamann at crt.de Wed Feb 25 10:49:00 2009 From: thorsten.hamann at crt.de (Thorsten Hamann) Date: Wed, 25 Feb 2009 11:49:00 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> Message-ID: <49A5221C.8050005@crt.de> Philip v.Winterfeldt schrieb: > Control-Option-Command-K is the shortcut to the list of keyboard shortcuts. Yes, and like many other shortcuts, it doesn't work on my German keyboard. What comes up instead is Textmate's "Connect to Server" dialog. You know, I'm used to the shortcuts containing pipes, slashes and so on to not work on my "exotic" layout, but I'm completely at a loss concerning why such a "regular" shortcut doesn't work. I'm using version 1.5.8 (1498) under 10.5.6, and I haven't set any keyboard shortcut settings in OSX itself. I've tried the shortcut both with a RoR project open and with nothing whatsoever open, no success. I can open the window through Bundles -> Textmate -> Show Keyboard Shortcuts, but not via keyboard shortcut. If this isn't meta, I don't know. :-) If there's anyone else with a non-US keyboard who has ideas on how to make Textmate's shortcuts usable, I'm all ears. ;) Thorsten -- CRT ** Hansemannstr. 71 ** D-41468 Neuss Fon +49 2131 1511-119 ** Fax +49 2131 1511-150 E-Mail: info at crt.de ** Web http://www.crt.de/ Faster, cheaper, better, works: Choose any two. From adi at sieker.info Wed Feb 25 11:09:51 2009 From: adi at sieker.info (Adi Sieker) Date: Wed, 25 Feb 2009 12:09:51 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <49A5221C.8050005@crt.de> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> Message-ID: <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> Hi, On 25.02.2009, at 11:49, Thorsten Hamann wrote: > Philip v.Winterfeldt schrieb: >> Control-Option-Command-K is the shortcut to the list of keyboard >> shortcuts. > > Yes, and like many other shortcuts, it doesn't work on my German > keyboard. What comes up instead is Textmate's "Connect to Server" > dialog. Works fine here. On my german MBP. > > > You know, I'm used to the shortcuts containing pipes, slashes and so > on > to not work on my "exotic" layout, but I'm completely at a loss > concerning why such a "regular" shortcut doesn't work. > > I'm using version 1.5.8 (1498) under 10.5.6, and I haven't set any > keyboard shortcut settings in OSX itself. I've tried the shortcut both > with a RoR project open and with nothing whatsoever open, no > success. I > can open the window through Bundles -> Textmate -> Show Keyboard > Shortcuts, but not via keyboard shortcut. If this isn't meta, I don't > know. :-) Using the same TM and OSX version. > > If there's anyone else with a non-US keyboard who has ideas on how to > make Textmate's shortcuts usable, I'm all ears. ;) Have you defined some custom short cuts in the Systemsettings or do you have an application running in the background that catches the shortcut? adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultant web: http://www.sieker.info/profile openbc: https://www.openbc.com/hp/ AdiJoerg_Sieker/ From hoever at gmx.de Wed Feb 25 11:17:07 2009 From: hoever at gmx.de (Carsten Hoever) Date: Wed, 25 Feb 2009 12:17:07 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> Message-ID: Hi, > Hi, > > On 25.02.2009, at 11:49, Thorsten Hamann wrote: > >> Philip v.Winterfeldt schrieb: >>> Control-Option-Command-K is the shortcut to the list of keyboard >>> shortcuts. >> >> Yes, and like many other shortcuts, it doesn't work on my German >> keyboard. What comes up instead is Textmate's "Connect to Server" >> dialog. > > Works fine here. On my german MBP. Same for me. German MBP and OSX and no problems whatsoever. Bye, Carsten From bibiko at eva.mpg.de Wed Feb 25 11:38:34 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Wed, 25 Feb 2009 12:38:34 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> Message-ID: <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> >> On 25.02.2009, at 11:49, Thorsten Hamann wrote: >> >>> Philip v.Winterfeldt schrieb: >>>> Control-Option-Command-K is the shortcut to the list of keyboard >>>> shortcuts. >>> >>> Yes, and like many other shortcuts, it doesn't work on my German >>> keyboard. What comes up instead is Textmate's "Connect to Server" >>> dialog. >> As far as I know there is no "Connect to server" command in TM but in Finder if you press APPLE+K. Thus make sure that TextMate is active while pressing CTRL+OPT+APPLE+K and that you did not change the key bindings for metachars in System Preferences > Keyboard/Mouse > Modifier Keys. By myself, I'm German, I'm using an US-keyboard due to these conflicts and to learn how to type ? or ? is VERY easy. In other words if you use an US/GB keyboard instead make the life (on a Mac) much easier. --Hans From dave at frascone.com Wed Feb 25 11:51:04 2009 From: dave at frascone.com (David Frascone) Date: Wed, 25 Feb 2009 06:51:04 -0500 Subject: [TxMt] Best Project Bundle? Message-ID: <9cf5ced20902250351h5402eb7cs7c1b677a0e46c67d@mail.gmail.com> I've heard (from lurking on this list) that the default TextMate concept of projects is a bit lacking. Given that, which of the multitude of project bundles should I check out -- or -- should I just play with all of them? i.e. Is there any canonical "best" ? -Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From nilcolor at gmail.com Wed Feb 25 12:14:13 2009 From: nilcolor at gmail.com (Alexey Blinov) Date: Wed, 25 Feb 2009 15:14:13 +0300 Subject: [TxMt] Re: Best Project Bundle? In-Reply-To: <9cf5ced20902250351h5402eb7cs7c1b677a0e46c67d@mail.gmail.com> References: <9cf5ced20902250351h5402eb7cs7c1b677a0e46c67d@mail.gmail.com> Message-ID: <61450f630902250414x27ef907fl9db18139dfeba5d1@mail.gmail.com> TM concept of "project" is good enough to use it.Also you can spice it up with some plugins like Project+ (i use it, i like it). You will get some candy like SCM badges, customized sort order etc. But even w/o it TM "project" is fine. -- Alexey On Wed, Feb 25, 2009 at 14:51, David Frascone wrote: > > I've heard (from lurking on this list) that the default TextMate concept of > projects is a bit lacking. > > Given that, which of the multitude of project bundles should I check out -- > or -- should I just play with all of them? i.e. Is there > any canonical "best" ? > > -Dave > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adi at sieker.info Wed Feb 25 12:54:30 2009 From: adi at sieker.info (Adi Sieker) Date: Wed, 25 Feb 2009 13:54:30 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> Message-ID: On 25.02.2009, at 12:38, Hans-J?rg Bibiko wrote: > By myself, I'm German, I'm using an US-keyboard due to these conflicts > and to learn how to type ? or ? is VERY easy. In other words if you > use an US/GB keyboard instead make the life (on a Mac) much easier. > I found out how to type a ? but how do you type the rest ??????? adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultant web: http://www.sieker.info/profile openbc: https://www.openbc.com/hp/ AdiJoerg_Sieker/ From thorsten.hamann at crt.de Wed Feb 25 13:05:23 2009 From: thorsten.hamann at crt.de (Thorsten Hamann) Date: Wed, 25 Feb 2009 14:05:23 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> Message-ID: <49A54213.8000003@crt.de> Tach Adi, Adi Sieker schrieb: > Works fine here. On my german MBP. yes, MBP here, too, with one of those new-fangled Apple USB keyboards. > Have you defined some custom short cuts in the Systemsettings or > do you have an application running in the background that catches the > shortcut? No, I didn't set anything in the system settings; after reading your e-mail I even opened the keyboard mapping settings and pressed the "Standard" button to reset anything I might have set unintendedly. BUT. I thought the Connect To Server dialog was from Textmate because it was in English, but it turned out that it came from MacFusion (a front-end to MacFUSE). I've quit MacFusion, and now the shortcut works. Thanks for the hint! Thorsten -- CRT ** Hansemannstr. 71 ** D-41468 Neuss Fon +49 2131 1511-119 ** Fax +49 2131 1511-150 E-Mail: info at crt.de ** Web http://www.crt.de/ Faster, cheaper, better, works: Choose any two. From thorsten.hamann at crt.de Wed Feb 25 13:16:01 2009 From: thorsten.hamann at crt.de (Thorsten Hamann) Date: Wed, 25 Feb 2009 14:16:01 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> Message-ID: <49A54491.3060409@crt.de> Hans, Hans-J?rg Bibiko schrieb: > By myself, I'm German, I'm using an US-keyboard due to these conflicts > and to learn how to type ? or ? is VERY easy. In other words if you > use an US/GB keyboard instead make the life (on a Mac) much easier. wow, just wow. :) While you obviously like it that way, I'd say if I have to choose between some minor inconvenience in one or two applications and dealing with a foreign keyboard layout, having to learn shortcuts for common characters of my native language (and having to re-adapt every time I use another computer), I'll choose the inconvenience of sometimes having to use the mouse or remap some shortcut. :) It might have come over quite harsh, but actually I don't mind much that some shortcuts don't work (such as Ctrl-|). I can remap those which are of use to me. But I was just baffled by the fact that a simple Ctrl-Cmd-Alt-K wouldn't work as intended. :) Thorsten -- CRT ** Hansemannstr. 71 ** D-41468 Neuss Fon +49 2131 1511-119 ** Fax +49 2131 1511-150 E-Mail: info at crt.de ** Web http://www.crt.de/ Faster, cheaper, better, works: Choose any two. From bibiko at eva.mpg.de Wed Feb 25 13:19:36 2009 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Wed, 25 Feb 2009 14:19:36 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> Message-ID: <2F0DDF77-B7E3-4D34-A062-FC12FA2915FC@eva.mpg.de> On 25.02.2009, at 13:54, Adi Sieker wrote: > On 25.02.2009, at 12:38, Hans-J?rg Bibiko wrote: >> By myself, I'm German, I'm using an US-keyboard due to these >> conflicts >> and to learn how to type ? or ? is VERY easy. In other words if you >> use an US/GB keyboard instead make the life (on a Mac) much easier. >> > > I found out how to type a ? but how do you type the rest ??????? OPT+u for the diaeresis ? and then type aeiuoyAEIUOY etc. --Hans From sven.axelsson at gmail.com Wed Feb 25 18:20:32 2009 From: sven.axelsson at gmail.com (Sven Axelsson) Date: Wed, 25 Feb 2009 19:20:32 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <49A54491.3060409@crt.de> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> <49A54491.3060409@crt.de> Message-ID: 2009/2/25 Thorsten Hamann > Hans, > > Hans-J?rg Bibiko schrieb: > > By myself, I'm German, I'm using an US-keyboard due to these conflicts > > and to learn how to type ? or ? is VERY easy. In other words if you > > use an US/GB keyboard instead make the life (on a Mac) much easier. > > wow, just wow. :) While you obviously like it that way, I'd say if I > have to choose between some minor inconvenience in one or two > applications and dealing with a foreign keyboard layout, having to learn > shortcuts for common characters of my native language (and having to > re-adapt every time I use another computer), I'll choose the > inconvenience of sometimes having to use the mouse or remap some > shortcut. :) > Well, ymmv but I have switched from using Swedish keyboard layout to US together with a text expansion program, in my case Typinator, to make it easy to type the special characters I need. I think it works great to use e.g. ".ae" for ? and ".ue" for ?. And now all the shortcut in Textmate works as they should ... -- Sven Axelsson ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----. -------------- next part -------------- An HTML attachment was scrubbed... URL: From adi at sieker.info Wed Feb 25 20:07:16 2009 From: adi at sieker.info (Adi Sieker) Date: Wed, 25 Feb 2009 21:07:16 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: <2F0DDF77-B7E3-4D34-A062-FC12FA2915FC@eva.mpg.de> References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> <2F0DDF77-B7E3-4D34-A062-FC12FA2915FC@eva.mpg.de> Message-ID: On 25.02.2009, at 14:19, Hans-J?rg Bibiko wrote: > > On 25.02.2009, at 13:54, Adi Sieker wrote: > >> On 25.02.2009, at 12:38, Hans-J?rg Bibiko wrote: >>> By myself, I'm German, I'm using an US-keyboard due to these >>> conflicts >>> and to learn how to type ? or ? is VERY easy. In other words if you >>> use an US/GB keyboard instead make the life (on a Mac) much easier. >>> >> >> I found out how to type a ? but how do you type the rest ??????? > > OPT+u for the diaeresis ? and then type aeiuoyAEIUOY etc. > Neat, I've been mulling this over. I still have some english-keyboard muscle memory. I started with an english layout for 5 years. So switching shouldn't be to hard. The main problem I have is that I work a lot on my customers computers, so I'd have to switch back and forth between english and german layout. Carrying an english keyboard is also not always an option, currently I work on thin clients and I can't even change the layout. adi -- Adi J. Sieker mobile: +49 - 178 - 88 5 88 13 Freelance developer skype: adijsieker SAP-Consultant web: http://www.sieker.info/profile openbc: https://www.openbc.com/hp/ AdiJoerg_Sieker/ From m at mongers.org Wed Feb 25 20:15:42 2009 From: m at mongers.org (Morten Liebach) Date: Wed, 25 Feb 2009 21:15:42 +0100 Subject: [TxMt] Re: Some newbie questions . . . In-Reply-To: References: <9cf5ced20902240858t70c73e66rdaa642da2600a239@mail.gmail.com> <49A5221C.8050005@crt.de> <1D8E20D8-F2EB-4E3C-A8A0-E514B7AA2B2D@sieker.info> <962DC302-DE95-4976-AE68-26CD5F5FBB01@eva.mpg.de> <2F0DDF77-B7E3-4D34-A062-FC12FA2915FC@eva.mpg.de> Message-ID: On Feb 25, 2009, at 21:07, Adi Sieker wrote: > > On 25.02.2009, at 14:19, Hans-J?rg Bibiko wrote: > >> >> On 25.02.2009, at 13:54, Adi Sieker wrote: >> >>> On 25.02.2009, at 12:38, Hans-J?rg Bibiko wrote: >>>> By myself, I'm German, I'm using an US-keyboard due to these >>>> conflicts >>>> and to learn how to type ? or ? is VERY easy. In other words if you >>>> use an US/GB keyboard instead make the life (on a Mac) much >>>> easier. >>>> >>> >>> I found out how to type a ? but how do you type the rest ??????? >> >> OPT+u for the diaeresis ? and then type aeiuoyAEIUOY etc. >> > > Neat, I've been mulling this over. I still have some english-keyboard > muscle memory. > I started with an english layout for 5 years. So switching shouldn't > be to hard. > The main problem I have is that I work a lot on my customers > computers, so I'd > have to switch back and forth between english and german layout. > Carrying an english keyboard is also not always an option, currently I > work on > thin clients and I can't even change the layout. I've worked for years with mostly Danish keyboards, but using them with US layouts most of the time, an then when I needed the Danish ?, ? and ? I'd just use the Alt-Shift Windows shortcut to toggle between DK and US layouts. It can get a little confusing at times, but writing code with lots of []{}'s makes 856% more sense on a US layout than a Danish. You can define a shortcut in Mac OS X to do the same. Thankfully I only touch Mac and FreeBSD machines in my new job, it is so much nicer. And I just use Option- to type non-ascii characters, it's easy to learn. Regards Morten Liebach -- http://blog.zentience.org/ http://m.mongers.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1920 bytes Desc: not available URL: From gerti-textmate at bitart.com Thu Feb 26 17:32:15 2009 From: gerti-textmate at bitart.com (Gerd Knops) Date: Thu, 26 Feb 2009 11:32:15 -0600 Subject: [TxMt] ProjectPlus & git badges Message-ID: Love ProjectPlus, but: I have several projects within the same git tree. Only for one of them are the git badges displayed in ProjectPlus, not for the others. Interestingly the icon in the window title always properly reflects the git state. That is just a tad maddening, anyone found a workaround for this? It seems to be related to how the project is opened: via the tmproj it does not work. It seems to work when opened as folder, but I can't use that as I have some project-specific settings in the tmproj file which the build process needs. Has there been an update since the 1.2 version from 6 months ago? Thanks Gerd From mikedewar at gmail.com Thu Feb 26 18:01:43 2009 From: mikedewar at gmail.com (Michael Dewar) Date: Thu, 26 Feb 2009 18:01:43 +0000 Subject: [TxMt] support Message-ID: Hi, A problem that no-one's been able to help me with since the update still sits un-resolved. Is there anywhere else I can go to try and get support with this? It's weird because I feel that I've paid cash for Textmate (which is fine, I think Textmate is brilliant) and therefore I should expect actual tech-support. However if it's a problem with a bundle then maybe that's not Textmate's responsibility and hence I must resort to the open-source model of posting questions in places, which is fine until that model of support fails, as in this case. I guess I'm hoping that there's another forum somewhere that I should post to, or should I think about submitting a bug somewhere? Cheers, Mike Dewar From sven.axelsson at gmail.com Thu Feb 26 18:10:26 2009 From: sven.axelsson at gmail.com (Sven Axelsson) Date: Thu, 26 Feb 2009 19:10:26 +0100 Subject: [TxMt] Re: support In-Reply-To: References: Message-ID: 2009/2/26 Michael Dewar > Hi, > > A problem that no-one's been able to help me with since the update > still sits un-resolved. Is there anywhere else I can go to try and get > support with this? > > It's weird because I feel that I've paid cash for Textmate (which is > fine, I think Textmate is brilliant) and therefore I should expect > actual tech-support. However if it's a problem with a bundle then > maybe that's not Textmate's responsibility and hence I must resort to > the open-source model of posting questions in places, which is fine > until that model of support fails, as in this case. > So, what is the problem? -- Sven Axelsson ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedewar at gmail.com Thu Feb 26 18:16:04 2009 From: mikedewar at gmail.com (Michael Dewar) Date: Thu, 26 Feb 2009 18:16:04 +0000 Subject: [TxMt] Re: support In-Reply-To: References: Message-ID: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> Hi, It was a problem with the Python bundle, though the error I got was not a Python error, and the bundle seems to work fine in general... Here's the post http://www.nabble.com/Python-Bundle-Problem---uncaught-signal--11-after...-td22118564.html I should say that I'm not annoyed or anything by this - I just figured that no-one on the list could figure it out and thought that there might be another way to get some support. I'm going nuts with this error as it's the feature I use the most in Textmate, so I'd really like to figure it out! I think cmd-R is burned into some weird motor- cortex memory somewhere so I compulsively hit it every time I want to run my script. Cheers, Mike On 26 Feb 2009, at 18:10, Sven Axelsson wrote: > 2009/2/26 Michael Dewar > Hi, > > A problem that no-one's been able to help me with since the update > still sits un-resolved. Is there anywhere else I can go to try and get > support with this? > > It's weird because I feel that I've paid cash for Textmate (which is > fine, I think Textmate is brilliant) and therefore I should expect > actual tech-support. However if it's a problem with a bundle then > maybe that's not Textmate's responsibility and hence I must resort to > the open-source model of posting questions in places, which is fine > until that model of support fails, as in this case. > > So, what is the problem? > > -- > Sven Axelsson > ++++++++++[>++++++++++>+++++++++++>++++++++++>++++++ > >++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<. > +++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----. > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate -------------- next part -------------- An HTML attachment was scrubbed... URL: From tm-alex at rosiba.com Thu Feb 26 18:25:47 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Thu, 26 Feb 2009 10:25:47 -0800 Subject: [TxMt] Re: support In-Reply-To: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> References: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> Message-ID: <49B1434C-5038-4537-8861-B3C77470163F@rosiba.com> On Feb 26, 2009, at 10:16 AM, Michael Dewar wrote: > Hi, > > It was a problem with the Python bundle, though the error I got was > not a Python error, and the bundle seems to work fine in general... > Here's the post > > http://www.nabble.com/Python-Bundle-Problem---uncaught-signal--11-after...-td22118564.html > > I should say that I'm not annoyed or anything by this - I just > figured that no-one on the list could figure it out and thought that > there might be another way to get some support. I'm going nuts with > this error as it's the feature I use the most in Textmate, so I'd > really like to figure it out! I think cmd-R is burned into some > weird motor-cortex memory somewhere so I compulsively hit it every > time I want to run my script. How have you installed scipy? easy_install scipy does not work for me. From mikedewar at gmail.com Thu Feb 26 19:13:33 2009 From: mikedewar at gmail.com (mike dewar) Date: Thu, 26 Feb 2009 19:13:33 +0000 Subject: [TxMt] Re: support In-Reply-To: <49B1434C-5038-4537-8861-B3C77470163F@rosiba.com> References: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> <49B1434C-5038-4537-8861-B3C77470163F@rosiba.com> Message-ID: I actually use the enthought python distribution (http://www.enthought.com/products/epd.php ), which is sort of cheating, I know. Scipy itself is quite a big thing; here are the download instructions: http://www.scipy.org/Installing_SciPy/Mac_OS_X Um, I'm feeling sort of guilty for bringing this up again - installing scipy seems like a big job just to help me out with this error. Are there any other big modules that anyone knows of that are more standard? Maybe I could try and reproduce the error with a standard module. I'm pretty sure it's not a scipy problem as I don't get any errors running my script from the command line. Does anyone know what my Textmate error even means? Here it is again: Program terminated by uncaught signal #11 after 6.26 seconds. Cheers, Mike Dewar On 26 Feb 2009, at 18:25, Alex Ross wrote: > On Feb 26, 2009, at 10:16 AM, Michael Dewar wrote: > >> Hi, >> >> It was a problem with the Python bundle, though the error I got was >> not a Python error, and the bundle seems to work fine in general... >> Here's the post >> >> http://www.nabble.com/Python-Bundle-Problem---uncaught-signal--11-after...-td22118564.html >> >> I should say that I'm not annoyed or anything by this - I just >> figured that no-one on the list could figure it out and thought that >> there might be another way to get some support. I'm going nuts with >> this error as it's the feature I use the most in Textmate, so I'd >> really like to figure it out! I think cmd-R is burned into some >> weird motor-cortex memory somewhere so I compulsively hit it every >> time I want to run my script. > > How have you installed scipy? easy_install scipy does not work for > me. > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From tm-alex at rosiba.com Thu Feb 26 19:33:05 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Thu, 26 Feb 2009 11:33:05 -0800 Subject: [TxMt] Re: support In-Reply-To: References: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> <49B1434C-5038-4537-8861-B3C77470163F@rosiba.com> Message-ID: <1B477C50-D46F-4AEE-8398-D91FFB8B4E88@rosiba.com> On Feb 26, 2009, at 11:13 AM, mike dewar wrote: > I actually use the enthought python distribution (http://www.enthought.com/products/epd.php > ), which is sort of cheating, I know. > > Scipy itself is quite a big thing; here are the download instructions: > > http://www.scipy.org/Installing_SciPy/Mac_OS_X > > Um, I'm feeling sort of guilty for bringing this up again - installing > scipy seems like a big job just to help me out with this error. Are > there any other big modules that anyone knows of that are more > standard? Maybe I could try and reproduce the error with a standard > module. I'm pretty sure it's not a scipy problem as I don't get any > errors running my script from the command line. > > Does anyone know what my Textmate error even means? Here it is again: > > Program terminated by uncaught signal #11 after 6.26 seconds. Is there any other output? What do you see if you ?View Source? on the html output window. Can you pastie.org it? ?Alex From mikedewar at gmail.com Thu Feb 26 19:46:43 2009 From: mikedewar at gmail.com (mike dewar) Date: Thu, 26 Feb 2009 19:46:43 +0000 Subject: [TxMt] Re: support In-Reply-To: <1B477C50-D46F-4AEE-8398-D91FFB8B4E88@rosiba.com> References: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> <49B1434C-5038-4537-8861-B3C77470163F@rosiba.com> <1B477C50-D46F-4AEE-8398-D91FFB8B4E88@rosiba.com> Message-ID: <733003A0-CF53-4EBC-B908-8EEF61B0A8A7@gmail.com> On 26 Feb 2009, at 19:33, Alex Ross wrote: > On Feb 26, 2009, at 11:13 AM, mike dewar wrote: > >> I actually use the enthought python distribution (http://www.enthought.com/products/epd.php >> ), which is sort of cheating, I know. >> >> Scipy itself is quite a big thing; here are the download >> instructions: >> >> http://www.scipy.org/Installing_SciPy/Mac_OS_X >> >> Um, I'm feeling sort of guilty for bringing this up again - >> installing >> scipy seems like a big job just to help me out with this error. Are >> there any other big modules that anyone knows of that are more >> standard? Maybe I could try and reproduce the error with a standard >> module. I'm pretty sure it's not a scipy problem as I don't get any >> errors running my script from the command line. >> >> Does anyone know what my Textmate error even means? Here it is again: >> >> Program terminated by uncaught signal #11 after 6.26 seconds. > > Is there any other output? What do you see if you ?View Source? on > the html output window. Can you pastie.org it? There's no other output, though OS X does give me a "The application Python quit unexpectedly" dialogue. Here's the result of view source: http://pastie.org/401290 though I can't see anything in there that helps... Mike From tm-alex at rosiba.com Thu Feb 26 20:52:01 2009 From: tm-alex at rosiba.com (Alex Ross) Date: Thu, 26 Feb 2009 12:52:01 -0800 Subject: [TxMt] Re: support In-Reply-To: References: <43A1E19F-824D-44D1-9A04-E1DAB4FB2F2B@gmail.com> <49B1434C-5038-4537-8861-B3C77470163F@rosiba.com> Message-ID: On Feb 26, 2009, at 11:13 AM, mike dewar wrote: > I actually use the enthought python distribution (http://www.enthought.com/products/epd.php > ), which is sort of cheating, I know. Installing? I'll let you know how it goes. ?Alex From rblove_lists at comcast.net Fri Feb 27 03:34:29 2009 From: rblove_lists at comcast.net (Robert Love) Date: Thu, 26 Feb 2009 21:34:29 -0600 Subject: [TxMt] Another Newbie Quesion: Startup Beep Message-ID: <8A8E6876-7CC1-4748-A842-54F3548085A5@comcast.net> How do you shut off that annoying start up beep? I've tried the Wiki and the built in help searching for beep. Nothing found in the preferences either. It's got to be simple but where? -- Bob Love "Entropy ain't what it used to be." -------------- next part -------------- An HTML attachment was scrubbed... URL: From ParadoxQuine at gmail.com Fri Feb 27 03:55:18 2009 From: ParadoxQuine at gmail.com (Nick) Date: Thu, 26 Feb 2009 19:55:18 -0800 Subject: [TxMt] Re: Another Newbie Quesion: Startup Beep In-Reply-To: <8A8E6876-7CC1-4748-A842-54F3548085A5@comcast.net> References: <8A8E6876-7CC1-4748-A842-54F3548085A5@comcast.net> Message-ID: do you mean the os x startup beep? if so, i suggest you try a different place (except it's futile, there's no easy way to shut it off without a background app or something). if you mean a textmate startup sound - what startup sound? I don't think I've ever heard textmate make any sound, period, on anyone's computer. could you describe it more please? also, try turning off interface sound effects and/or muting the alert volume in the sound prefpane - perhaps an error is occurring when textmate starts up on your computer that is playing an alert sound? On Thu, Feb 26, 2009 at 7:34 PM, Robert Love wrote: > > How do you shut off that annoying start up beep? ?I've tried the Wiki and > the built in help searching for beep. ?Nothing found in the preferences > either. ?It's got to be simple but where? > -- > Bob Love > "Entropy ain't what it used to be." > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > > From mummer at whitefalls.org Fri Feb 27 05:22:09 2009 From: mummer at whitefalls.org (Michael Sheets) Date: Thu, 26 Feb 2009 23:22:09 -0600 Subject: [TxMt] Re: Another Newbie Quesion: Startup Beep In-Reply-To: <8A8E6876-7CC1-4748-A842-54F3548085A5@comcast.net> References: <8A8E6876-7CC1-4748-A842-54F3548085A5@comcast.net> Message-ID: <2D06708B-4B40-4EC2-848F-E10A0FA968C5@whitefalls.org> On Feb 26, 2009, at 9:34 PM, Robert Love wrote: > How do you shut off that annoying start up beep? I've tried the > Wiki and the built in help searching for beep. Nothing found in the > preferences either. It's got to be simple but where? Open the Console application, you likely have an error showing up there (look in system.log). Then paste the error message here. From armon.dadgar at gmail.com Fri Feb 27 07:35:46 2009 From: armon.dadgar at gmail.com (Armon Dadgar) Date: Thu, 26 Feb 2009 23:35:46 -0800 Subject: [TxMt] SVN bundle highlighting Message-ID: <269CC29C-C83B-42DF-AA79-8993EEE0647F@gmail.com> Hello, I recently installed TextMate on a new computer, and I was pleasantly surprised when I did Bundles->Subversion->Diff->Diff With Newest and the changes were color coded for add, remove, etc. So my question is, why does my old installation of Textmate not do this same highlighting? Both are version 1498. I actively use both computers, so this is a nice visual aid. Thanks. Best Regards, Armon Dadgar From mummer at whitefalls.org Fri Feb 27 08:13:14 2009 From: mummer at whitefalls.org (Michael Sheets) Date: Fri, 27 Feb 2009 02:13:14 -0600 Subject: [TxMt] Re: SVN bundle highlighting In-Reply-To: <269CC29C-C83B-42DF-AA79-8993EEE0647F@gmail.com> References: <269CC29C-C83B-42DF-AA79-8993EEE0647F@gmail.com> Message-ID: <9D98EC1E-AE9E-46B1-A0FC-3CC2379DA698@whitefalls.org> On Feb 27, 2009, at 1:35 AM, Armon Dadgar wrote: > I recently installed TextMate on a new computer, and I was pleasantly > surprised when I did Bundles->Subversion->Diff->Diff With Newest and > the changes were color coded for add, remove, etc. So my question is, > why does my old installation of Textmate not do this same > highlighting? Both are version 1498. > > I actively use both computers, so this is a nice visual aid. Thanks. You probably have the Diff bundle disabled on the first. Check in Bundles ? Bundle Editor ? Show Bundle Editor, filter button. From armon.dadgar at gmail.com Fri Feb 27 17:39:18 2009 From: armon.dadgar at gmail.com (Armon Dadgar) Date: Fri, 27 Feb 2009 09:39:18 -0800 Subject: [TxMt] Re: SVN bundle highlighting In-Reply-To: <9D98EC1E-AE9E-46B1-A0FC-3CC2379DA698@whitefalls.org> References: <269CC29C-C83B-42DF-AA79-8993EEE0647F@gmail.com> <9D98EC1E-AE9E-46B1-A0FC-3CC2379DA698@whitefalls.org> Message-ID: Thank you, that was the problem. Best Regards, Armon Dadgar On Feb 27, 2009, at 12:13 AM, Michael Sheets wrote: > On Feb 27, 2009, at 1:35 AM, Armon Dadgar wrote: > >> I recently installed TextMate on a new computer, and I was pleasantly >> surprised when I did Bundles->Subversion->Diff->Diff With Newest and >> the changes were color coded for add, remove, etc. So my question is, >> why does my old installation of Textmate not do this same >> highlighting? Both are version 1498. >> >> I actively use both computers, so this is a nice visual aid. Thanks. > > You probably have the Diff bundle disabled on the first. Check in > Bundles ? Bundle Editor ? Show Bundle Editor, filter button. > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From rblove_lists at comcast.net Fri Feb 27 18:11:08 2009 From: rblove_lists at comcast.net (Robert Love) Date: Fri, 27 Feb 2009 12:11:08 -0600 Subject: [TxMt] Re: Another Newbie Quesion: Startup Beep In-Reply-To: <2D06708B-4B40-4EC2-848F-E10A0FA968C5@whitefalls.org> References: <8A8E6876-7CC1-4748-A842-54F3548085A5@comcast.net> <2D06708B-4B40-4EC2-848F-E10A0FA968C5@whitefalls.org> Message-ID: On Feb 26, 2009, at 11:22 PM, Michael Sheets wrote: > On Feb 26, 2009, at 9:34 PM, Robert Love wrote: > >> How do you shut off that annoying start up beep? I've tried the >> Wiki and the built in help searching for beep. Nothing found in the >> preferences either. It's got to be simple but where? > > Open the Console application, you likely have an error showing up > there (look in system.log). Then paste the error message here. Strange, I never thought of an error since the editor seems to work OK. Here is what I see: 2/27/09 12:07:40 PM TextMate[12084] error reading file /Users/rlove/ Library/Application Support/TextMate/Themes/RubyBlue.tmTheme 2/27/09 12:07:40 PM TextMate[12084] loadPlugIn: ProjectPlus plug-in with same bundle identifier (sh.ciaranwal.projectplus) already loaded 2/27/09 12:07:40 PM TextMate[12084] Error loading /Users/rlove/Library/ Application Support/TextMate/PlugIns/TabMate.tmplugin/Contents/MacOS/ TabMate: dlopen(/Users/rlove/Library/Application Support/TextMate/ PlugIns/TabMate.tmplugin/Contents/MacOS/TabMate, 265): no suitable image found. Did find: /Users/rlove/Library/Application Support/TextMate/PlugIns/ TabMate.tmplugin/Contents/MacOS/TabMate: mach-o, but wrong architecture 2/27/09 12:07:40 PM TextMate[12084] instance TabMate plug-in has no principal class Let me see if I can clean these up. From horvat.johann at gmx.net Sat Feb 28 08:28:37 2009 From: horvat.johann at gmx.net (Johann Horvat) Date: Sat, 28 Feb 2009 09:28:37 +0100 Subject: [TxMt] Bundle for GNU autotools? Message-ID: <7D38E9D1-461A-40F8-BDAC-C42195B6C619@gmx.net> Dear list members, Does anyone know if there is a bundle supporting the GNU autotools in any way? http://www.lrde.epita.fr/~adl/autotools.html What I would like to have is some sort of textmate project, where you may generate the autotool chain... I found this link, but the screencast is dead ;-( http://blog.cyph.org/2007/09/textmate-autotools-bundle-screencast-1.html Best Regards, Johann From talklists at newgeo.com Sat Feb 28 10:13:15 2009 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 28 Feb 2009 02:13:15 -0800 Subject: [TxMt] Show differences Message-ID: <1998B5F8-4F2A-4327-B249-28082BE459D0@newgeo.com> Hello all, every day I shave a few percentage points off the time I spend in BBedit, and get closer to 100% in TM. Today, I am stuck on showing differences. TM has a lot of good tools to show the differences in a standard `diff`y kind of way. What I usually find useful, was in BBedit, I could compare the two most front files, a window would pop out below the files, sort of a left, right, and bottom frame display. I could then move through the line differences in the files. Any way to do this in TM? -- Scott * If you contact me off list replace talklists@ with scott@ * From ParadoxQuine at gmail.com Sat Feb 28 22:06:06 2009 From: ParadoxQuine at gmail.com (Nick) Date: Sat, 28 Feb 2009 14:06:06 -0800 Subject: [TxMt] Re: Show differences In-Reply-To: <1998B5F8-4F2A-4327-B249-28082BE459D0@newgeo.com> References: <1998B5F8-4F2A-4327-B249-28082BE459D0@newgeo.com> Message-ID: try the filemerge bundle. it can automatically diff svn revisions in filemerge, which offers a very nice gui for diffing and conflict resolution. hope that helps! -Nick On Sat, Feb 28, 2009 at 2:13 AM, Scott Haneda wrote: > Hello all, every day I shave a few percentage points off the time I > spend in BBedit, and get closer to 100% in TM. > > Today, I am stuck on showing differences. ?TM has a lot of good tools > to show the differences in a standard `diff`y kind of way. > > What I usually find useful, was in BBedit, I could compare the two > most front files, a window would pop out below the files, sort of a > left, right, and bottom frame display. ?I could then move through the > line differences in the files. > > Any way to do this in TM? > -- > Scott > > * If you contact me off list replace talklists@ with scott@ * > > > > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate >