From mailinglist at textmate.org Thu May 2 09:21:11 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Thu, 2 May 2013 16:21:11 +0700 Subject: [TxMt] Re: Jumping to wrong position? In-Reply-To: <631866D7-7C6C-4FD7-A0CB-CCBB8CD4596E@macvaerk.dtu.dk> References: <631866D7-7C6C-4FD7-A0CB-CCBB8CD4596E@macvaerk.dtu.dk> Message-ID: <39B6C24E-52EE-46B5-8AFD-8B6D7DF7AC57@textmate.org> On Apr 24, 2013, at 14:50, anr wrote: > For the longest time with the alpha Textmate have jumped to the wrong position when clicking e.g. a search result in the Find in project?, or clicking in my pdf and jump to the corresponding position in my LaTeX code. > The cursor is placed at the right position, but the window is not centered around the cursor. This means that ctrl+l works well but is necessary every time. Is this something there's a known fix for? The problem you are seeing has to do with soft-wrapped text. TextMate does lazy layout of that, which means it will first open the file, jump to the desired line (and center that) and then the (more expensive) layout kicks in, which may change document dimensions and ?push? the selection out of view. For now you can press ?J to re-center the selection in the window. From morleychalmers at icloud.com Fri May 3 23:55:45 2013 From: morleychalmers at icloud.com (Morley Chalmers) Date: Fri, 03 May 2013 19:55:45 -0400 Subject: [TxMt] Getting Started Questions Message-ID: Years ago I created websites, but I've been away from all forms of coding for several years. I purchased TextMate for because one of the screencasts at http://screencasts.textmate.org/html_text_transformations.mov was so impressive. However the speaker assumes some non-obvious fundamentals. When he types "html" suddenly appears on the screen nicely formatted. Doesn't for me. Hitting the tab key just jumps the cursor to the right. Hitting return or enter pushes the cursor to a new line. What has he done to effect the transformation? He doesn't say. I have figured out that when he typed "doctype" he then hits the tab key to present some options. That works. I'm on a Mac OS X 10.8.3 running TextMate Version 1.5.11 (1635) What basic assumptions am I missing? Appreciated. Morley Chalmers ? The highest result of education is tolerance. ? Helen Adams Keller, lecturer, author, first deaf-blind person to receive a Bachelor of Arts degree (1880?1968) -------------- next part -------------- An HTML attachment was scrubbed... URL: From bfavaretto at gmail.com Sat May 4 00:32:23 2013 From: bfavaretto at gmail.com (Bruno Favaretto) Date: Fri, 3 May 2013 21:32:23 -0300 Subject: [TxMt] Re: Getting Started Questions In-Reply-To: References: Message-ID: Morley, I'm using TextMate 2.0 (the alpha version), and completion doesn't work for me either. But you can just type CTRL+< (or CTRL+SHIFT+comma) for a generic open/close tag, then type "html", then tab to place the caret between the open/close tags. If you click the cog item in the footer, you can see all commands available for the selected language, including completions. I hope this helps. Bruno Favaretto On Fri, May 3, 2013 at 8:55 PM, Morley Chalmers wrote: > Years ago I created websites, but I've been away from all forms of coding > for several years. I purchased TextMate for because one of the screencasts > at http://screencasts.textmate.org/html_text_transformations.mov was so > impressive. However the speaker assumes some non-obvious fundamentals. > > When he types "html" suddenly appears on the screen nicely > formatted. Doesn't for me. Hitting the tab key just jumps the cursor to the > right. Hitting return or enter pushes the cursor to a new line. What has he > done to effect the transformation? He doesn't say. > > I have figured out that when he typed "doctype" he then hits the tab key > to present some options. That works. > > I'm on a Mac OS X 10.8.3 running TextMate Version 1.5.11 (1635) > > What basic assumptions am I missing? > > Appreciated. > > Morley Chalmers > ? > The highest result of education is tolerance. ? Helen Adams Keller, > lecturer, author, first deaf-blind person to receive a Bachelor of Arts > degree (1880?1968) > > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailinglist at textmate.org Sat May 4 05:49:34 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sat, 4 May 2013 12:49:34 +0700 Subject: [TxMt] Re: Getting Started Questions In-Reply-To: References: Message-ID: <9780F8E2-007D-425A-BD05-5B8D0DE4490A@textmate.org> On May 4, 2013, at 6:55, Morley Chalmers wrote: > [?] What basic assumptions am I missing? You may also like this screencast http://blog.macromates.com/2006/html-screencast-inserting-tags/ The feature in question is done as Bruno mentioned, you can however type the tag name prior to pressing control + ?less than? to use the current word as the tag name. From cloudsben at gmail.com Tue May 7 07:02:27 2013 From: cloudsben at gmail.com (cloudsben) Date: Tue, 7 May 2013 15:02:27 +0800 Subject: [TxMt] tab indent question Message-ID: <5313DC38-1C61-4BB7-922B-D7504544C1EA@gmail.com> I want use tab like this, but textmate display -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2013-05-07 at ??2.59.33.png Type: image/png Size: 10506 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2013-05-07 at ??2.59.59.png Type: image/png Size: 12132 bytes Desc: not available URL: From michael at michaelbain.co.za Tue May 7 13:21:17 2013 From: michael at michaelbain.co.za (michaelbain) Date: Tue, 7 May 2013 06:21:17 -0700 (PDT) Subject: [TxMt] Re: Indented soft-wrap In-Reply-To: <9C108C3C-74A5-4F76-B781-A062E0A0A5A1@gmail.com> References: <1367932877395-14224.post@n5.nabble.com> <121C222B-8D16-497C-A784-E70B79622D83@textmate.org> <72F4BC00-3B49-4E71-9F8D-B44185732DDE@textmate.org> <1367932877397-14228.post@n5.nabble.com> <9C108C3C-74A5-4F76-B781-A062E0A0A5A1@gmail.com> Message-ID: <1367932877386-26496.post@n5.nabble.com> *I've found that to make it work globally* ... just add it to a bundle that is always loaded, regardless of 'language' / 'grammar' / 'theme' e.g. when I add the setting to the 'TextMate' bundle, it works everywhere... *now matter what I'm doing* *I've also adjusted you setting code (with a simpler match value) to:* { indentedSoftWrap = { match = '\A[ ]*'; format = '$0\t'; }; } *This gives me indented soft wrap with 1 tab...* *This code:* { indentedSoftWrap = { match = '\A[ ]*'; format = '$0'; }; } *gives me indented soft wrap flush with the parent line...* *and this code:* { indentedSoftWrap = { match = '\A[ ]*'; format = '$0 '; }; } *gives me indented soft wrap with 1 space...* (my personal preference) I'm not familiar with the pattern items or rules related to the 'match' and 'format' argument values... where may I read more about that? -M -- View this message in context: http://textmate.1073791.n5.nabble.com/Indented-soft-wrap-tp14224p26496.html Sent from the textmate users mailing list archive at Nabble.com. From lists at webweaver.nu Wed May 8 08:11:29 2013 From: lists at webweaver.nu (Luna C) Date: Wed, 8 May 2013 01:11:29 -0700 (PDT) Subject: [TxMt] Re: Restore or completely uninstall TextMate 2 In-Reply-To: <1367966041656-26497.post@n5.nabble.com> References: <1367966041656-26497.post@n5.nabble.com> Message-ID: <1368000689915-26498.post@n5.nabble.com> Go to your user library -> application support Delete the Avian folder. I had the same problem a while ago ;) -- View this message in context: http://textmate.1073791.n5.nabble.com/Restore-or-completely-uninstall-TextMate-2-tp26497p26498.html Sent from the textmate users mailing list archive at Nabble.com. From patrick.mast at winfakt.com Wed May 8 11:22:21 2013 From: patrick.mast at winfakt.com (Patrick Mast) Date: Wed, 8 May 2013 13:22:21 +0200 Subject: [TxMt] How to auto-indent? Message-ID: Hello, I have Textmate Version 1.5.11 (1635). How can I configure Textmate that it Auto-Indents with IF THEN etc..? So, like this: IF lVariable=true Do This ENDIF How can I tell Textmate to add 3 spaces before the "Do this" command? Thanks! Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From textmate at jluis.com.ar Thu May 9 02:59:15 2013 From: textmate at jluis.com.ar (Jose Luis Canciani) Date: Wed, 8 May 2013 23:59:15 -0300 Subject: [TxMt] rmate custom commands? Message-ID: Hello, I'm interested in sending custom commands to the rmate session in the server. I think I can manage some ruby, but C is another story. In particular, I'm interested in sending commands to execute: for example I would want to be over a class name and with a key combination send something like "run\r\n"+ "/find/and/send/to/rmate MyClass", so rmate will run this as an OS command. I can manage getting rmate in the server to understand and run the command, but I don't know how to make Textmate to send such a command. Is this something that can be done today? Thanks! Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbhutton+tm at gmail.com Sat May 11 00:46:32 2013 From: mbhutton+tm at gmail.com (Matt Hutton) Date: Sat, 11 May 2013 12:46:32 +1200 Subject: [TxMt] Is it possible to make a TextMate window narrow? (less than 500 pixels across) Message-ID: The minimum width of a TextMate window seems quite wide, at over 500 pixels on my machine. This is over a third of the width of the screen on a MacBook Air. Is there a way to support windows narrower than 500 pixels? I can't see anything in the document or mailing lists or GitHub issues list, other than a mention that the status bar now has a minimum size: http://article.gmane.org/gmane.editors.textmate.general/35919/match=status+bar+minimum+width This pull request may also be related: https://github.com/textmate/textmate/pull/793 Is it possible to hide the status bar, or remove some of its components to make its minimum size smaller? If there's not a user configurable setting to support narrow windows, is there a hard coded setting in the code that I could override for my local build? My environment: TextMate: most recent alpha build from the website -- 2.0-alpha.9419. Same behaviour when built from the latest source (2.0-alpha.9420+git.e49504a). Mac OS X: 10.8.3 MacBook Air 13" -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailinglist at textmate.org Sun May 12 03:12:51 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 12 May 2013 10:12:51 +0700 Subject: [TxMt] Re: tab indent question In-Reply-To: <5313DC38-1C61-4BB7-922B-D7504544C1EA@gmail.com> References: <5313DC38-1C61-4BB7-922B-D7504544C1EA@gmail.com> Message-ID: On May 7, 2013, at 14:02, cloudsben wrote: > I want use tab like this, > > > > but textmate display > > If you mean that you want to indent with spaces instead of tabs then enable ?Soft Tabs? via the status bar tab size drop-down menu. From mailinglist at textmate.org Sun May 12 03:14:39 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 12 May 2013 10:14:39 +0700 Subject: [TxMt] Re: How to auto-indent? In-Reply-To: References: Message-ID: <3E7E257D-82B8-4970-B911-A67C8D67F33D@textmate.org> On May 8, 2013, at 18:22, Patrick Mast wrote: > I have Textmate Version 1.5.11 (1635). How can I configure Textmate that it Auto-Indents with IF THEN etc..? The indentation system is explained here http://manual.macromates.com/en/appendix#indentation_rules From mailinglist at textmate.org Sun May 12 03:17:09 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 12 May 2013 10:17:09 +0700 Subject: [TxMt] Re: rmate custom commands? In-Reply-To: References: Message-ID: <16C5F50C-7528-40F2-BF25-ADF3DCF50335@textmate.org> On May 9, 2013, at 9:59, Jose Luis Canciani wrote: > [?] I'm interested in sending commands to execute: for example I would want to be over a class name and with a key combination send something like "run\r\n"+ "/find/and/send/to/rmate MyClass", so rmate will run this as an OS command. I can manage getting rmate in the server to understand and run the command, but I don't know how to make Textmate to send such a command. > Is this something that can be done today? Not possible to do out-of-the-box. I don?t know how many differnet commands you wish to run on the server from which rmate is called, if it?s only a few, it might be easier to create new commands that use ?ssh ?server? ?command?? to execute ?command? on ?server?. From mailinglist at textmate.org Sun May 12 03:26:47 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 12 May 2013 10:26:47 +0700 Subject: [TxMt] Re: Is it possible to make a TextMate window narrow? (less than 500 pixels across) In-Reply-To: References: Message-ID: <49A8E5F4-1CF6-415A-A7F0-3F44579C78B4@textmate.org> On May 11, 2013, at 7:46, Matt Hutton wrote: > If there's not a user configurable setting to support narrow windows There isn?t. > is there a hard coded setting in the code that I could override for my local build? The main line responsible for the minimum widths is this: https://github.com/textmate/textmate/blob/master/Frameworks/OakTextView/src/OTVStatusBar.mm#L137 How much narrower do you need it to be? From mailinglist at textmate.org Sun May 12 14:51:51 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 12 May 2013 21:51:51 +0700 Subject: [TxMt] Re: rmate custom commands? In-Reply-To: <16C5F50C-7528-40F2-BF25-ADF3DCF50335@textmate.org> References: <16C5F50C-7528-40F2-BF25-ADF3DCF50335@textmate.org> Message-ID: <7B7340EA-61F0-4294-9E98-89DDFF29745B@textmate.org> On May 12, 2013, at 10:17, Allan Odgaard wrote: > On May 9, 2013, at 9:59, Jose Luis Canciani wrote: > >> [?] I'm interested in sending commands to execute: for example I would want to be over a class name and with a key combination send something like "run\r\n"+ "/find/and/send/to/rmate MyClass", so rmate will run this as an OS command. [?] > > [?] it might be easier to create new commands that use ?ssh ?server? ?command?? to execute ?command? on ?server?. Come to think of it, many of the standard bundle items will optionally read the command from an environment variable and we can set these for the (virtual) server path in ~/.tm_properties, for example if we add this: [ /home/** ] TM_RUBY = 'cat' Then opening a file on your server under /home (via rmate) will have TM_RUBY set to ?cat? meaning the ruby bundle will use ?cat? instead of ?ruby? for the various actions like Validate Syntax, Run, etc. Presently though we mostly treat variables as a single command, meaning if we set TM_RUBY to ?ssh ?server? ruby? then it will not be shell-expanded but instead treated as a single executable name. This is something I think should be changed, as I ran into same issue with the C/C++ bundle, where I changed the default TM_GCC variable to ?xcrun clang?. Escaping the variables was so the user wouldn?t care about special characters, but in retrospect, it limits the possibilities. I should add that in the current build it might not work to set variables for the virtual server path (in ~/.tm_properties). It will however work in next build. If this is a viable solution though then it might be better to introduce a custom scope for files opened via rmate, that?s more robust to target. From textmate at jluis.com.ar Mon May 13 10:29:23 2013 From: textmate at jluis.com.ar (Jose Luis Canciani) Date: Mon, 13 May 2013 07:29:23 -0300 Subject: [TxMt] Re: rmate custom commands? In-Reply-To: <7B7340EA-61F0-4294-9E98-89DDFF29745B@textmate.org> References: <16C5F50C-7528-40F2-BF25-ADF3DCF50335@textmate.org> <7B7340EA-61F0-4294-9E98-89DDFF29745B@textmate.org> Message-ID: > [?] it might be easier to create new commands that use ?ssh ?server? ?command?? to execute ?command? on ?server?. I thought of it, but since I want to use it to browse code and jump from one file to the next, the new ssh command was slow since it required a new connection (some seconds every time I wanted to avoid). So I thought that if Textmate already had a working connection, then why couldn't we take advantage of it. Thanks! Jose On Sun, May 12, 2013 at 11:51 AM, Allan Odgaard wrote: > On May 12, 2013, at 10:17, Allan Odgaard wrote: > > > On May 9, 2013, at 9:59, Jose Luis Canciani > wrote: > > > >> [?] I'm interested in sending commands to execute: for example I would > want to be over a class name and with a key combination send something like > "run\r\n"+ "/find/and/send/to/rmate MyClass", so rmate will run this as an > OS command. [?] > > > > [?] it might be easier to create new commands that use ?ssh ?server? > ?command?? to execute ?command? on ?server?. > > Come to think of it, many of the standard bundle items will optionally > read the command from an environment variable and we can set these for the > (virtual) server path in ~/.tm_properties, for example if we add this: > > [ /home/** ] > TM_RUBY = 'cat' > > Then opening a file on your server under /home (via rmate) will have > TM_RUBY set to ?cat? meaning the ruby bundle will use ?cat? instead of > ?ruby? for the various actions like Validate Syntax, Run, etc. > > Presently though we mostly treat variables as a single command, meaning if > we set TM_RUBY to ?ssh ?server? ruby? then it will not be shell-expanded > but instead treated as a single executable name. > > This is something I think should be changed, as I ran into same issue with > the C/C++ bundle, where I changed the default TM_GCC variable to ?xcrun > clang?. Escaping the variables was so the user wouldn?t care about special > characters, but in retrospect, it limits the possibilities. > > I should add that in the current build it might not work to set variables > for the virtual server path (in ~/.tm_properties). It will however work in > next build. > > If this is a viable solution though then it might be better to introduce a > custom scope for files opened via rmate, that?s more robust to target. > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rossahmed at googlemail.com Thu May 16 12:54:29 2013 From: rossahmed at googlemail.com (Ross Ahmed) Date: Thu, 16 May 2013 13:54:29 +0100 Subject: [TxMt] TextMate and github Message-ID: Using the same R script, I generally run the code in RStudio and edit the code in TextMate. I have been using version control in RStudio for quite some time. I would like to connect TextMate to the same repository. Therefore, I can can commit changes to the R script in both RStudio and TextMate. The repository is offline. How can I connect TextMate to the same repository? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From mskblackbelt at me.com Thu May 16 13:53:49 2013 From: mskblackbelt at me.com (Dustin Wheeler) Date: Thu, 16 May 2013 08:53:49 -0500 Subject: [TxMt] TM_SUPPORT_PATH, LaTeX scripts Message-ID: I posted this on the tex.stackexchange a few days ago, but figured this might be another path to consider. Here is my issue: This is a recent development, and I'm not sure what I've changed to make this happen? other than setting `TM_SUPPORT_PATH` to `~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared`. I had to do that a month ago to get LaTeX files to compile (another mystery, since it previously compiled without issue). They seem to work fine now, but when I try to create italics (or bold, underline, etc.), TextMate spits back the error: > Failure running ?Italic?. > > Italic: line 4: toggle_style.rb: command not found This same error occurs when I try to invoke other scripts contained in the LaTeX bundle (Tidy, anything invoking texMate.py). All of these seem to rely on `TM_SUPPORT_PATH` in the script, and yet none of these scripts resides within the shared directory? They're all in `~/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin`. I could solve this problem by changing the path in all of the scripts to a `TM_LATEX_SUPPORT` path, or by moving or linking all of the scripts to the shared directory? but this doesn't seem like it should be necessary. Any ideas on what I may have broken? Dustin Wheeler mskblackbelt at me.com From mailinglist at textmate.org Fri May 17 02:56:14 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Fri, 17 May 2013 09:56:14 +0700 Subject: [TxMt] Re: TM_SUPPORT_PATH, LaTeX scripts In-Reply-To: References: Message-ID: <4423F66F-F963-40BB-A4E0-B8F285EBA7B6@textmate.org> On May 16, 2013, at 20:53, Dustin Wheeler wrote: > [?] other than setting `TM_SUPPORT_PATH` to `~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared`. You should not set this variable yourself. If it is not set by TextMate then it is most likely because you uninstalled the ?Bundle Support? bundle (Preferences ? Bundles). > [?] I could solve this problem by changing the path in all of the scripts to a `TM_LATEX_SUPPORT` path, or by moving or linking all of the scripts to the shared directory? but this doesn't seem like it should be necessary. Any ideas on what I may have broken? Generally when things start to fail there is a very simple way to solve it: revert to defaults. With TextMate this is done by removing these two folders and relaunching it: ~/Library/Application Support/Avian ~/Library/Application Support/TextMate From mailinglist at textmate.org Fri May 17 03:06:33 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Fri, 17 May 2013 10:06:33 +0700 Subject: [TxMt] Re: TextMate and github In-Reply-To: References: Message-ID: On May 16, 2013, at 19:54, Ross Ahmed wrote: > Using the same R script, I generally run the code in RStudio and edit the code in TextMate. I have been using version control in RStudio for quite some time. I would like to connect TextMate to the same repository. Therefore, I can can commit changes to the R script in both RStudio and TextMate. The repository is offline. How can I connect TextMate to the same repository? As you say you have already been using version control with your files, it should be a simple matter of opening the containing folder in TextMate (e.g. drag it to TextMate?s application icon). You should find that files are badged with their SCM status and you can click the file browser?s fork icon (equivalent menu action is Go ? SCM Status bound to ??Y) to see only modified / untracked files. Use Bundles ? SCM to see a list of actions or press ?Y for a pop-up with these actions. Most actions will be limited to the file browser selection. Here it?s useful to know that ??R selects the current file, ??A clears the selection, and ??? moves focus between file browser and text view. From info at hlwebdesign.eu Thu May 23 12:58:24 2013 From: info at hlwebdesign.eu (atelier) Date: Thu, 23 May 2013 05:58:24 -0700 (PDT) Subject: [TxMt] one small question from a new user Message-ID: <1369313904013-26517.post@n5.nabble.com> Hi How do I activate completion of code in Textmate? I have the software as try out, downloaded and installed the EE bundle. The docs say I can complete tags by using tab. But tab just moves my text or cursor to the right, no autocompletion. When using the drop down menu in bundles the function works, so the bundle in itself works. Thanks for answering. -- View this message in context: http://textmate.1073791.n5.nabble.com/one-small-question-from-a-new-user-tp26517.html Sent from the textmate users mailing list archive at Nabble.com. From pmccann at gmail.com Thu May 23 13:10:42 2013 From: pmccann at gmail.com (Paul McCann) Date: Thu, 23 May 2013 22:40:42 +0930 Subject: [TxMt] Re: one small question from a new user In-Reply-To: <1369313904013-26517.post@n5.nabble.com> References: <1369313904013-26517.post@n5.nabble.com> Message-ID: Hi atelier, > How do I activate completion of code in Textmate? > I have the software as try out, downloaded and installed the EE bundle. > The docs say I can complete tags by using tab. > But tab just moves my text or cursor to the right, no autocompletion. > When using the drop down menu in bundles the function works, so the bundle > in itself works. Sounds like you need to select the language type from the pop-up at the bottom left of the window frame (just to the right of the line:column indicator). Set it to whatever language you're entering code for ("EE"?). After that all the bundle commands and completions should be in scope, so your tab completions etc should work. Cheers, Paul From info at hlwebdesign.eu Thu May 23 14:33:51 2013 From: info at hlwebdesign.eu (atelier) Date: Thu, 23 May 2013 07:33:51 -0700 (PDT) Subject: [TxMt] Re: one small question from a new user In-Reply-To: References: <1369313904013-26517.post@n5.nabble.com> Message-ID: <4E71DB8E-76A3-419B-81CE-25E6CECF2FB1@hlwebdesign.eu> Hi Paul Thanks a lot, that helped! kind regards Hans 23 maj 2013 kl. 15.12 skrev Paul McCann-3 [via TextMate]: > Hi atelier, > > > How do I activate completion of code in Textmate? > > I have the software as try out, downloaded and installed the EE bundle. > > The docs say I can complete tags by using tab. > > But tab just moves my text or cursor to the right, no autocompletion. > > When using the drop down menu in bundles the function works, so the bundle > > in itself works. > > Sounds like you need to select the language type from the pop-up at > the bottom left of the window frame (just to the right of the > line:column indicator). Set it to whatever language you're entering > code for ("EE"?). After that all the bundle commands and completions > should be in scope, so your tab completions etc should work. > > Cheers, > Paul > > _______________________________________________ > textmate mailing list > [hidden email] > http://lists.macromates.com/listinfo/textmate > > > If you reply to this email, your message will be added to the discussion below: > http://textmate.1073791.n5.nabble.com/one-small-question-from-a-new-user-tp26517p26518.html > To unsubscribe from one small question from a new user, click here. > NAML -- View this message in context: http://textmate.1073791.n5.nabble.com/one-small-question-from-a-new-user-tp26517p26519.html Sent from the textmate users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rossahmed at googlemail.com Fri May 24 20:42:17 2013 From: rossahmed at googlemail.com (Ross Ahmed) Date: Fri, 24 May 2013 21:42:17 +0100 Subject: [TxMt] Format bib file Message-ID: I have a .bib file with entries formatted like this: @Article{Calenge2006, title = {The package adehabitat for the R software: tool for the analysis of space and habitat use by animals}, journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year = {2006}, author = {C. Calenge}} Instead of manually clicking/hitting return, is there a more automated way to format the code. The result should be: @Article{Calenge2006, title = {The package adehabitat for the R software: tool for the analysis of space and habitat use by animals}, journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year = {2006}, author = {C. Calenge} } Thanks R -------------- next part -------------- An HTML attachment was scrubbed... URL: From gweltaz at ucsc.edu Fri May 24 21:07:03 2013 From: gweltaz at ucsc.edu (Gildas Hamel) Date: Fri, 24 May 2013 14:07:03 -0700 Subject: [TxMt] Re: Format bib file In-Reply-To: References: Message-ID: <20130524210703.GD1705@dhcp-181-24.ucsc.edu> * Skriv a reas Ross Ahmed (rossahmed at googlemail.com): |> I have a .bib file with entries formatted like this: |> |> @Article{Calenge2006, title = {The package adehabitat for the R software: |> tool for the analysis of space and habitat use by animals}, |> journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year |> = {2006}, author = {C. Calenge}} |> I would use regular expressions in Find and do ,\s* to find the commas followed by repeat white space, and replace with ,\n --gildas From rossahmed at googlemail.com Fri May 24 21:15:01 2013 From: rossahmed at googlemail.com (Ross Ahmed) Date: Fri, 24 May 2013 22:15:01 +0100 Subject: [TxMt] Re: Format bib file In-Reply-To: <20130524210703.GD1705@dhcp-181-24.ucsc.edu> References: <20130524210703.GD1705@dhcp-181-24.ucsc.edu> Message-ID: <8C8E4054-5B36-4AC8-8A1C-627C36BEBCA4@gmail.com> Works well thanks Ross On 24 May 2013, at 22:07, Gildas Hamel wrote: > * Skriv a reas Ross Ahmed (rossahmed at googlemail.com): > |> I have a .bib file with entries formatted like this: > |> > |> @Article{Calenge2006, title = {The package adehabitat for the R software: > |> tool for the analysis of space and habitat use by animals}, > |> journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year > |> = {2006}, author = {C. Calenge}} > |> > > I would use regular expressions in Find and do > ,\s* > to find the commas followed by repeat white space, > and replace with > ,\n > > --gildas > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From sudipb001 at gmail.com Sat May 25 05:43:54 2013 From: sudipb001 at gmail.com (Sudip Bhattacharyya) Date: Sat, 25 May 2013 11:13:54 +0530 Subject: [TxMt] How to restore a deleted language Message-ID: Hello, I am a novice user of TextMate. I accidentally deleted C Language settings with in the C Bundle. http://dl.dropbox.com/u/24534771/Screenshot/2013-05-25_1110.png Is there any way to restore it back? Thanks in advance. Regards. Sudip From sudipb001 at gmail.com Sat May 25 07:53:55 2013 From: sudipb001 at gmail.com (Sudip Bhattacharyya) Date: Sat, 25 May 2013 13:23:55 +0530 Subject: [TxMt] How to apply indentation rules Message-ID: <56E72AD3-8975-4420-AC1A-CC75A83BCAB3@gmail.com> Hello, I cannot apply indentation rules. I went thru this page : http://manual.macromates.com/en/appendix#indentation_rules But cannot apply indentation rules. Can anyone please help ? Thanks in advance. Regards. Sudip From sudipb001 at gmail.com Sat May 25 07:57:42 2013 From: sudipb001 at gmail.com (Sudip Bhattacharyya) Date: Sat, 25 May 2013 13:27:42 +0530 Subject: [TxMt] Re: How to apply indentation rules In-Reply-To: <56E72AD3-8975-4420-AC1A-CC75A83BCAB3@gmail.com> References: <56E72AD3-8975-4420-AC1A-CC75A83BCAB3@gmail.com> Message-ID: <56221410-217C-4CD6-A137-E1B142683E43@gmail.com> I tried in this way http://dl.dropbox.com/u/24534771/Screenshot/2013-05-25_1326.png Thanks On 25-May-2013, at 1:23 PM, Sudip Bhattacharyya wrote: > Hello, > > I cannot apply indentation rules. I went thru this page : http://manual.macromates.com/en/appendix#indentation_rules > > But cannot apply indentation rules. > > Can anyone please help ? > > Thanks in advance. > > Regards. > > Sudip From mailinglist at textmate.org Sat May 25 16:07:46 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 26 May 2013 00:07:46 +0800 Subject: [TxMt] Re: How to restore a deleted language In-Reply-To: References: Message-ID: On May 25, 2013, at 13:43, Sudip Bhattacharyya wrote: > I am a novice user of TextMate. I accidentally deleted C Language settings with in the C Bundle [?] Is there any way to restore it back? If you have no (other) customisations for the C bundle (that you wish to keep) then (this is for TM 1.x) delete ~/Library/Application Support/TextMate/Bundles/C.tmbundle and then afterward select ?Reload Bundles? from the ?Bundles? menu. From mailinglist at textmate.org Sat May 25 16:11:00 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Sun, 26 May 2013 00:11:00 +0800 Subject: [TxMt] Re: How to apply indentation rules In-Reply-To: <56221410-217C-4CD6-A137-E1B142683E43@gmail.com> References: <56E72AD3-8975-4420-AC1A-CC75A83BCAB3@gmail.com> <56221410-217C-4CD6-A137-E1B142683E43@gmail.com> Message-ID: <0F650886-8EAF-4F5C-9984-BED33599A96A@textmate.org> On May 25, 2013, at 15:57, Sudip Bhattacharyya wrote: > I tried in this way http://dl.dropbox.com/u/24534771/Screenshot/2013-05-25_1326.png The indentNextLine is (in 1.x) only used with Text ? Indent Line / Selection action. In 2.0 it is also used while typing. From sudipb001 at gmail.com Sat May 25 16:24:05 2013 From: sudipb001 at gmail.com (Sudip Bhattacharyya) Date: Sat, 25 May 2013 21:54:05 +0530 Subject: [TxMt] Re: How to restore a deleted language In-Reply-To: References: Message-ID: Hello Allan, It works. I got back C Language settings. Works like a magic. Thanks a lot. With best regards. Sudip On 25-May-2013, at 9:37 PM, Allan Odgaard wrote: > On May 25, 2013, at 13:43, Sudip Bhattacharyya wrote: > >> I am a novice user of TextMate. I accidentally deleted C Language settings with in the C Bundle [?] Is there any way to restore it back? > > If you have no (other) customisations for the C bundle (that you wish to keep) then (this is for TM 1.x) delete ~/Library/Application Support/TextMate/Bundles/C.tmbundle and then afterward select ?Reload Bundles? from the ?Bundles? menu. > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From sudipb001 at gmail.com Sat May 25 16:30:35 2013 From: sudipb001 at gmail.com (Sudip Bhattacharyya) Date: Sat, 25 May 2013 22:00:35 +0530 Subject: [TxMt] Re: How to apply indentation rules In-Reply-To: <0F650886-8EAF-4F5C-9984-BED33599A96A@textmate.org> References: <56E72AD3-8975-4420-AC1A-CC75A83BCAB3@gmail.com> <56221410-217C-4CD6-A137-E1B142683E43@gmail.com> <0F650886-8EAF-4F5C-9984-BED33599A96A@textmate.org> Message-ID: <719DB5A6-DF87-4387-AF7F-3A671F6FA1D9@gmail.com> Thanks a lot Allan. I think I should upgrade from my easing version 1.5.11 (1635) to ver 2. With best regards. Sudip On 25-May-2013, at 9:41 PM, Allan Odgaard wrote: > On May 25, 2013, at 15:57, Sudip Bhattacharyya wrote: > >> I tried in this way http://dl.dropbox.com/u/24534771/Screenshot/2013-05-25_1326.png > > The indentNextLine is (in 1.x) only used with Text ? Indent Line / Selection action. > > In 2.0 it is also used while typing. > > > _______________________________________________ > textmate mailing list > textmate at lists.macromates.com > http://lists.macromates.com/listinfo/textmate From rossahmed at googlemail.com Mon May 27 08:21:10 2013 From: rossahmed at googlemail.com (Ross Ahmed) Date: Mon, 27 May 2013 09:21:10 +0100 Subject: [TxMt] Auto completion of Pandoc-style citations in markdown Message-ID: Hi all I?m trying to enable auto completion of Pandoc-style citations, see unresolved question on stack overflow: http://stackoverflow.com/questions/16406624/auto-completion-of-pandoc-style- citations-in-markdown-using-textmate/16759930?noredirect=1#comment24154750_1 6759930 How can I enable auto completion of Pandoc-style citations? Thanks Ross -------------- next part -------------- An HTML attachment was scrubbed... URL: From gvdgdo at gmail.com Mon May 27 11:44:58 2013 From: gvdgdo at gmail.com (Guido Governatori) Date: Mon, 27 May 2013 21:44:58 +1000 Subject: [TxMt] Problems with LaTeX bundle Message-ID: <7A986AE4-5DF3-4448-A8A4-09C069461BF3@gmail.com> Suddenly some commands stopped working, Specifically Label Based on Current Word / Selection? and "Citation (Ref-TeX Style)" In both cases I get the following error message (off course with different header). Failure running ?Label Based on Current Word / Selection??. /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `initialize': No such file or directory - JUR11-Permission.tex (Errno::ENOENT) from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `open' from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `options' from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:39:in `master' from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:56:in `get_labels' from Label Based on Current Word / Selection?:8 Also I have noticed a different behaviour when clicking the button in the output window. The commands are executed but no message appears in the output window. All the best Guido From Paul.Bessell at roslin.ed.ac.uk Wed May 29 14:58:49 2013 From: Paul.Bessell at roslin.ed.ac.uk (Paul Bessell) Date: Wed, 29 May 2013 15:58:49 +0100 Subject: [TxMt] Spinning beach ball Message-ID: <51A617A9.6080006@roslin.ed.ac.uk> Whenever I return to TextMate from a different application I am having to spend minutes watching a beach ball spinning whilst TextMate is frozen. Various posts have suggested installing something called ReMate and enabling "Disable refresh on regaining focus" however this has made no difference and if anything the problem just gets worse. I am using light text (usually R or SQL) files (two or three opened at a time) stored locally and am not working with projects, just individual files. Is there a solution in TextMate or should I find a better editor? Thanks Paul -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. From kmichael.aye at gmail.com Wed May 29 15:56:14 2013 From: kmichael.aye at gmail.com (K.-Michael Aye) Date: Wed, 29 May 2013 08:56:14 -0700 Subject: [TxMt] Python-aware theme? Message-ID: Hi! Is there a theme that can distinguish between Python docstrings and literal string elements? Ideally, I would like to have """docstring""" look different from 'mystring' in a= 'mystring'. Super-ideally, they even would look different to # these kind of comments If it doesn't exist, could anybody show me what and how to tweak to make this possible? I never created a TMx before. Cheers, Michael From mailinglist at textmate.org Fri May 31 01:21:06 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Fri, 31 May 2013 09:21:06 +0800 Subject: [TxMt] Re: Auto completion of Pandoc-style citations in markdown In-Reply-To: References: Message-ID: On May 27, 2013, at 16:21, Ross Ahmed wrote: > I?m trying to enable auto completion of Pandoc-style citations, see unresolved question on stack overflow: http://stackoverflow.com/questions/16406624/auto-completion-of-pandoc-style-citations-in-markdown-using-textmate/16759930?noredirect=1#comment24154750_16759930 Looking at this now, it seems that this is merely a setup issue, unsure if you?re the last commenter, but the last comment indicates that it works. FYI in 2.0 you can use $HOME and you can also set TM_PANDOC_BIB in a .tm_properties file located in your project (presumably using $CWD as path prefix to get the project folder). From mailinglist at textmate.org Fri May 31 01:26:47 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Fri, 31 May 2013 09:26:47 +0800 Subject: [TxMt] Re: Problems with LaTeX bundle In-Reply-To: <7A986AE4-5DF3-4448-A8A4-09C069461BF3@gmail.com> References: <7A986AE4-5DF3-4448-A8A4-09C069461BF3@gmail.com> Message-ID: On May 27, 2013, at 19:44, Guido Governatori wrote: > Suddenly some commands stopped working [?] Failure running ?Label Based on Current Word / Selection??. > > /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `initialize': No such file or directory - JUR11-Permission.tex (Errno::ENOENT) Could it be that you have TM_LATEX_MASTER set to ?JUR11-Permission.tex?? Does this master file exist? If it does, is it set via a relative or absolute path? If the former, that might be what changed, since the command?s working directory has changed (I haven?t looked closer at the LaTeX bundle to see if it resolves relative paths via the project directory or current working directory). Also, what version of TM (nightly builds)? > Also I have noticed a different behaviour when clicking the button in the output window. The commands are executed but no message appears in the output window. A more detailed step-by-step would be appreciated here. From mailinglist at textmate.org Fri May 31 01:35:22 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Fri, 31 May 2013 09:35:22 +0800 Subject: [TxMt] Re: Spinning beach ball In-Reply-To: <51A617A9.6080006@roslin.ed.ac.uk> References: <51A617A9.6080006@roslin.ed.ac.uk> Message-ID: <5EF3CBBB-814B-4E91-A3C3-A56C9BB743DE@textmate.org> On May 29, 2013, at 22:58, Paul Bessell wrote: > Whenever I return to TextMate from a different application I am having to spend minutes watching a beach ball spinning whilst TextMate is frozen [?] Is there a solution in TextMate or should I find a better editor? If you?re considering another editor, why not give 2.0 a try? While still work-in-progress / alpha, it has seen many improvements: http://macromates.com/download From mailinglist at textmate.org Fri May 31 01:38:35 2013 From: mailinglist at textmate.org (Allan Odgaard) Date: Fri, 31 May 2013 09:38:35 +0800 Subject: [TxMt] Re: Python-aware theme? In-Reply-To: References: Message-ID: On May 29, 2013, at 23:56, K.-Michael Aye wrote: > [?] If it doesn't exist, could anybody show me what and how to tweak to make this possible? I never created a TMx before. Themes are explained here: http://manual.macromates.com/en/themes (although the theme editor depicted only exist for TM 1.x). In Python, doc-strings are scoped as string.quoted.double.block.python, so you would add a new rule using this as scope selector and assigning it the style you want. From gvdgdo at gmail.com Fri May 31 04:36:30 2013 From: gvdgdo at gmail.com (Guido Governatori) Date: Fri, 31 May 2013 14:36:30 +1000 Subject: [TxMt] Re: Problems with LaTeX bundle In-Reply-To: References: <7A986AE4-5DF3-4448-A8A4-09C069461BF3@gmail.com> Message-ID: <4AB5B315-2EF6-485F-8C25-647BB6575D23@gmail.com> On 31/05/2013, at 11:26 AM, Allan Odgaard wrote: > On May 27, 2013, at 19:44, Guido Governatori wrote: > >> Suddenly some commands stopped working [?] Failure running ?Label Based on Current Word / Selection??. >> >> /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `initialize': No such file or directory - JUR11-Permission.tex (Errno::ENOENT) > > Could it be that you have TM_LATEX_MASTER set to ?JUR11-Permission.tex?? Does this master file exist? If it does, is it set via a relative or absolute path? If the former, that might be what changed, since the command?s working directory has changed (I haven?t looked closer at the LaTeX bundle to see if it resolves relative paths via the project directory or current working directory). I have TM_LATEX_MASTER is set to a master file with relative path. If I use an absolute path (or the variable is not set) the problem disappears. There is another difference. If I use \ref{} and then call the command (with the caret between the curly brackets), then I get the following error: Label Based on Current Word / Selection?:9: invalid regular expression; there's no previous pattern, to which '{' would define cardinality at 1: /{}/ (RegexpError) It used to work with previous versions, Similarly if I call the command with \ref{s} I get the full list of labels not only those one starting with "s". > Also, what version of TM (nightly builds)? 2.0-alpha.9427 > >> Also I have noticed a different behaviour when clicking the button in the output window. The commands are executed but no message appears in the output window. > > A more detailed step-by-step would be appreciated here. > Compile a latex file with cmd-r (the output window appears the log of the compilation (as usual) click the "Run bib" button at the bottom of the output window. Nothing visible happens (however the related bibtex/biber command is executed) click the "Re-Run pdflatex" button at the bottom of the output window. Nothing visible happens (however, the latex file is compiled). The problem with the "Rub bib" is that one does not know when the process terminates (to re-run pdflatex), and whether it is successful or not. The problem with the "Re-run pdflatex" is that one does not see the warning of the compilation. All the best Guido