Hi TM users,
I've never done revision control before, and I don't know where to
start. I need something I can use on OS X, and works well with TM. If
I Google for "OS X revesion control" I get many suggestions including
Mercurial, CVS, GIT, Subversion, Bazaar.
I really have no idea where to start. I'd welcome some suggestions, or
links to documentation I should perhaps read.
Thank you for any help you can give.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
Hi, I am using Mr. Knops' excellent TM CodeBrowser plugin. It doesn't seem
to work right out of the box with my Haskell code. I know it uses the CTags
program to generate the tags, what is the best way to get the tags working
with Haskell?
Thanks for your help,
Brandon
>
> Is MAMP relatively similar to XAMPP?
MAMP stands for Mac, Apache, MySQL, PHP
It is an adaptation of the phrase "LAMP stack" which is Linux, Apache,
MySQL, PHP.
OS X has Apache and PHP built in. To turn on Apache, check Web Sharing in
the Sharing panel of System Preferences.
To turn on PHP, uncomment a line in the file /etc/apache2/httpd.conf
Change:
#LoadModule php5_module libexec/apache2/libphp5.so
To:
LoadModule php5_module libexec/apache2/libphp5.so
For MySQL, install the package manager
Homebrew<http://mxcl.github.com/homebrew/>,
and then at the terminal type:
brew install mysql
It's that easy!
>
>On 4 Oct 2011, at 13:46, Davide Rambaldi wrote:
>
>> * free open source hub: github.com , there is also a GUI for OSX
>>(personally I prefer to use the Terminal: git is simple!)
>
>Github has a ton of mindshare - and its a good place to work against.
>However Mercurial has BitBucket - not as well known, but its a rough
>equivalent - https://bitbucket.org/ (also appears to be a little less
>locked to one VCS).
Interesting thing with Bitbucket is they just announced Git support as
well :)
Not a real announcement, so will appreciate if you refrain from linking to this, but requests for info about the future have been plenty, so I figured I should let you know that there will be a public alpha of Avian before christmas.
Hi, in Lion 10.7 seems there is no way to resize the preference panel, that is a problem for the Advanced --> Shell Variables TAB (I have a very long PATH)….
Best Regards
Davide
> Hi, in Lion 10.7 seems there is no way to resize the preference panel,
that is a problem for the Advanced --> Shell Variables TAB (I have a very
long PATH)?.
When I click on the path to edit the variable, I can scroll my cursor from
the beginning to the end. It isn't incredibly convenient being so small,
but you could probably do it with no problem. Alternatively, you could edit
the path somewhere else and paste it in there rather than mess with it
within the preferences dialog itself.
Brandon
On Wed, Sep 28, 2011 at 5:00 AM, <textmate-request(a)lists.macromates.com>wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. R bundle have a BUG? (Davide Rambaldi)
> 2. Re: R bundle have a BUG? (Hans-J?rg Bibiko)
> 3. Re: R bundle have a BUG? (Davide Rambaldi)
> 4. Re: R bundle have a BUG? (Hans-J?rg Bibiko)
> 5. Lion Preferences: no resize (Davide Rambaldi)
> 6. Re: Lion Preferences: no resize (Daniel Dettlaff)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Sep 2011 17:06:49 +0200
> From: Davide Rambaldi <davide.rambaldi(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] R bundle have a BUG?
> Message-ID: <6C0E9953-03A6-44C4-9A0E-A3172DD05253(a)gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hi, first of all, congrats for your editor: is the best.
>
> Not sure where to post this problem (R devel, here, mailing list for the
> bundles?)
>
> Anyway: I am trying to use the R bundle (R statistical language).
>
> I have the following problem:
>
> - I have a script that generate a PDF multiline using plot?
>
> pdf(merge.fitting.file.path)
> print(plot(parent.fitting))
> print(plot(my.fit))
> dev.off()
>
> everything is working ok from R console or R CMD BATCH : I get back my
> multiline PDF
>
> When I run the scripts inside textMate (with cmd-R) only THE LAST PAGE of
> the pdf is recorder in the file!
>
> Can you please suggest me where to post this BUG?
>
> Thanks
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 27 Sep 2011 20:40:46 +0200
> From: Hans-J?rg Bibiko <bibiko(a)eva.mpg.de>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R bundle have a BUG?
> Message-ID: <E2B5D226-64C4-4E60-BEA3-7DE4EBE571D6(a)eva.mpg.de>
> Content-Type: text/plain; charset=windows-1252
>
>
> On 27 Sep 2011, at 17:06, Davide Rambaldi wrote:
>
> > Not sure where to post this problem (R devel, here, mailing list for the
> bundles?)
> Here's the right place :)
>
> > I have the following problem:
> >
> > - I have a script that generate a PDF multiline using plot?
> >
> > pdf(merge.fitting.file.path)
> > print(plot(parent.fitting))
> > print(plot(my.fit))
> > dev.off()
>
>
> The easiest to check the default parameter settings for "pdf()" in a
> software environment execute:
>
> > args(pdf)
> function (file = "/tmp/TM_R/Rplot%03d.pdf", width = 8, height = 8,
> onefile = FALSE, family, title, fonts, version, paper, encoding,
> bg, fg, pointsize, pagecentre, colormodel, useDingbats, useKerning,
> fillOddEven, maxRasters)
>
>
> Here you see that the parameter "onefile" is set to FALSE which means that
> each plot will go in a separate pdf file.
>
> Please try:
>
> pdf(merge.fitting.file.path, onefile = TRUE)
>
> Kind regards,
> Hans
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 27 Sep 2011 21:41:06 +0200
> From: Davide Rambaldi <davide.rambaldi(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R bundle have a BUG?
> Message-ID:
> <CAEn6bVKKTz=B-yuK2LAMA+9zvM20mwgJPn-GhHALVX6Qk7S=Hw(a)mail.gmail.com
> >
> Content-Type: text/plain; charset=windows-1252
>
> Ok it's working with onefile = TRUE (I look at my result trough a web
> page and I did not notice the split of pdf :-)
>
> many thanks
>
> Davide
>
> 2011/9/27 Hans-J?rg Bibiko <bibiko(a)eva.mpg.de>:
> >
> > On 27 Sep 2011, at 17:06, Davide Rambaldi wrote:
> >
> >> Not sure where to post this problem (R devel, here, mailing list for the
> bundles?)
> > Here's the right place :)
> >
> >> I have the following problem:
> >>
> >> - I have a script that generate a PDF multiline using plot?
> >>
> >> pdf(merge.fitting.file.path)
> >> print(plot(parent.fitting))
> >> print(plot(my.fit))
> >> dev.off()
> >
> >
> > The easiest to check the default parameter settings for "pdf()" in a
> software environment execute:
> >
> >> args(pdf)
> > function (file = "/tmp/TM_R/Rplot%03d.pdf", width = 8, height = 8,
> > ? ?onefile = FALSE, family, title, fonts, version, paper, encoding,
> > ? ?bg, fg, pointsize, pagecentre, colormodel, useDingbats, useKerning,
> > ? ?fillOddEven, maxRasters)
> >
> >
> > Here you see that the parameter "onefile" is set to FALSE which means
> that each plot will go in a separate pdf file.
> >
> > Please try:
> >
> > pdf(merge.fitting.file.path, onefile = TRUE)
> >
> > Kind regards,
> > Hans
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 27 Sep 2011 22:42:54 +0200
> From: Hans-J?rg Bibiko <bibiko(a)eva.mpg.de>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R bundle have a BUG?
> Message-ID: <F1675BAF-B906-42AC-BC5F-D311979745D7(a)eva.mpg.de>
> Content-Type: text/plain; charset=us-ascii
>
>
> On 27 Sep 2011, at 21:41, Davide Rambaldi wrote:
>
> > Ok it's working with onefile = TRUE (I look at my result trough a web
> > page and I did not notice the split of pdf :-)
>
>
> ... and please note the following approach which is implemented in the R
> bundle:
>
> - each plot command will write its result into ONE pdf file (located in
> /tmp/TM_R/) automatically WITHOUT a preceding pdf() command; all generated
> pdf files (in /tmp/TM_R/) will be inserted as linked image in the HTML
> output window; that's why the parameter 'onefile' is set to FALSE as default
> - if you're using the command pdf() explicitly then the result will not be
> displayed in the HTML output window
>
> As an example one could write the following code to come up with resulting
> pdf in Preview:
>
> pdf(file='~/Desktop/x1.pdf', onefile=T)
> plot(10:1)
> plot(1:10)
> dev.off()
> system('open ~/Desktop/x1.pdf')
>
>
> or
>
>
> plot(1:3)
> plot(3:1)
> pdf(file='/tmp/TM_R/x1.pdf', onefile=T)
> plot(100:1)
> plot(1:100)
> dev.off()
>
>
>
> and click at third image to open it in Preview [third one due sorting
> Rplot00x.pdf, x1.pdf]
>
>
> Best,
> --Hans
>
> ------------------------------
>
> Message: 5
> Date: Wed, 28 Sep 2011 10:21:33 +0200
> From: Davide Rambaldi <davide.rambaldi(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Lion Preferences: no resize
> Message-ID: <A2CE293C-2442-4136-9686-6B9792803656(a)gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hi, in Lion 10.7 seems there is no way to resize the preference panel, that
> is a problem for the Advanced --> Shell Variables TAB (I have a very long
> PATH)?.
>
>
> Best Regards
>
> Davide
>
> ------------------------------
>
> Message: 6
> Date: Wed, 28 Sep 2011 12:23:40 +0200
> From: Daniel Dettlaff <dmilith(a)verknowsys.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Lion Preferences: no resize
> Message-ID: <1976920.346201317205421742.JavaMail.root@draCore>
> Content-Type: text/plain; charset="windows-1252"
>
>
> On Sep 28, 2011, at 10:21 , Davide Rambaldi wrote:
>
> > Hi, in Lion 10.7 seems there is no way to resize the preference panel,
> that is a problem for the Advanced --> Shell Variables TAB (I have a very
> long PATH)?.
>
>
> +1
>
Hi, first of all, congrats for your editor: is the best.
Not sure where to post this problem (R devel, here, mailing list for the bundles?)
Anyway: I am trying to use the R bundle (R statistical language).
I have the following problem:
- I have a script that generate a PDF multiline using plot…
pdf(merge.fitting.file.path)
print(plot(parent.fitting))
print(plot(my.fit))
dev.off()
everything is working ok from R console or R CMD BATCH : I get back my multiline PDF
When I run the scripts inside textMate (with cmd-R) only THE LAST PAGE of the pdf is recorder in the file!
Can you please suggest me where to post this BUG?
Thanks
Since I started using biblatex, hitting alt-esc to choose from a list of available citations in my .bib file stopped working. Is there a way to get this handy shortcut to work with biblatex?
- JW
>
> Hello,
>
> Thanks for all your help,
>
> I have installed xcode which installed g++ and now textmate works. I run
> into another problem which I have read somewhere though.
>
> Now if I have a program that requests user input with cin >> textmate after
> a Command-R does not ask for any input from the user...
>
> Any ideas on why that is and how to fix it?
>
> Thank you.
>
Like Thor said it was removed some time ago. Here is an article on how to
put it back, but I can only assume it's even less compatible with Lion. It
may be worth a shot though.
http://blog.macromates.com/2009/interactive-input/
Brandon
Tvist was something they removed because of incompatabilities with snow leopard.
Sent from Samsung tablet
John Relosa <john.relosa(a)yahoo.com> wrote:
Hello,
Thanks for all your help,
I have installed xcode which installed g++ and now textmate works. I run into another problem which I have read somewhere though.
Now if I have a program that requests user input with cin >> textmate after a Command-R does not ask for any input from the user...
Any ideas on why that is and how to fix it?
Thank you.
Best,
John
Hello,
Thanks for all your help,
I have installed xcode which installed g++ and now textmate works. I run into another problem which I have read somewhere though.
Now if I have a program that requests user input with cin >> textmate after a Command-R does not ask for any input from the user...
Any ideas on why that is and how to fix it?
Thank you.
Best,
John
>
> Just trying to manage expectations. Mostly my own, I suppose... I
> remember back in the day when it was announced that TM2 would require
> Leopard, and I hoped that my company would upgrade from Tiger in time
> for me to run it. I also note that your announcement yesterday
> specifically started with the words "Not a real announcement", so I hope
> I can be forgiven for being skeptical.
> Still, I love TM and I'm very eager to see TM2! It will be a very merry
> Christmas indeed if I can actually play with it by then!
>
Shhhh.....everyone just act naturally and stay calm, we don't want to spook
it. :)
(I get the feeling that that's a common sentiment judging by the somewhat
blithe responses)
Hi!
I've been playing with the blogging bundle earlier on, got it working
with Wordpress.
But the Wordpress installation lacked a Markdown plugin, so it wasn't
all that smooth.
Anyway, I'm currently working on a Joomla installation.
GetBundles didn't reveal anything, but Google showed traces of an
alpha version or something.
Anything usable out there now? Anything any of you guys use/recommend? :)
--
Phil :)
Hi!
I just wondered if it's possible to work in TextMate utilizing
Simplenote in a sensible way.
Notational Velocity/Nottingham is ok, but it would be nice to have
something more integrated into TextMate.
(I realize SimpleNote has a different aim than a powerful programmer's
editor, but having done weird stuff with good results in both Vim and
Emacs over the years, I thought I should ask if somebody used TextMate
in a sensible way with simplenote.)
I tried searching in GetBundles, but found nothing.
Again: Thanks for making this great editor and great bundles! :)
--
Phil
> TextMate commands are only guaranteed to work with 1.8.7 (or whatever ships
> with OS X).
> But commands use the ruby from your PATH where TM_RUBY is for user scripts,
> script validation and such.
> So it should be safe to set TM_RUBY to a different ruby.
> I don?t see any use of TM_RUBY in the GetBundles (which you mention had
> issues) found here:
> http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/ ? I
> believe an older version may have wrongly used TM_RUBY.
OK that makes sense.
For people referencing the archives: unchecking the TM_RUBY checkbox in the
TextMate env settings got it working.
Relaunching TextMate doesn?t change the command environment, so wouldn?t
> think so, but I don?t know what ?using RVM to switch Rubies? conveys.
Gotcha, good to know. AFAIK RVM just switches out some symlinks similar to
python_select & others, nothing that would mess with TM.
Thanks for all your help, Allan!
Is there any known way to force TM not to cache the CSS loaded into an HTML page when constructing the Web Preview? I find that unless I do something drastic, like rename the file entirely, changes don't update much or at all within a single editing session. Clicking the reload button does nothing. I just had it happen again, this time with a new page (referencing the same CSS as a previously-edited page) and none of the latter changes are showing up.
Thanks,
Walter
Now, on to the reason I’m here: is there any way I can get expandable
directory aliases in the project drawer? At the moment, when you
create an alias to a directory it just appears as a file in the
TextMate project drawer. The only useful thing you can do with it is
to right-click and view it in finder.
Also I can’t actually move directories into other directories in the
project drawer but that bug has been there for ages so I guess you all
already know about it.
Ollie
I just did a "git pull" and now it works with #relative#, too.
Your command is a lot faster than my AppleScript. I don't have mach experience with AppleScript and to make sure, that the file is opened, before I tell TextMate to Update it, I had to insert a 1 second-Delay each. So your fix made my hack obsolete.
Thank you!
Jan
>
> OK, I think I fixed that. Thanks for catching that; I forgot to test #relative#.
>
> https://github.com/bradchoate/html.tmbundle/commit/53490e60df073836b55407a9…
>
> So how does this compare to processing the tree of files with AppleScript? Gotta be a little faster, no?
>
> -Brad
>
>
> On Sep 19, 2011, at 1:53 AM, Jan L?bke wrote:
>
>> Hi Brad,
>>
>> I was too quick with my praise. Your script did not parse the #relative# argument correctly. If the file is in /subfolder/subsubfolder, the link to the main-page #relative#index.html should parse into ../../index.html but it turns into index.html
>>
>> Jan
>>
I'm having some issues with indentation. I'm trying to tweak the indentation for my code, but the rules I'm applying are having some odd effects.
If I manually type in the code, everything indents as expected. It works perfectly.
However, if I use the "Indent Selection" command (Opt+Cmd+[), it messes up all of the indentation. Looking through the indentation rules stack, I could not find a regex that might be causing it to behave like it is.
The indentation centers around some basic array syntax in PHP:
$bla = array(
array(
1 => 2,
array(
),
),
);
This is the output if I type in the code manually. However, if I auto-indent the code, it turns out like this:
$bla = array(
array(
1 => 2,
array(
),
),
);
Thanks for any help.
-Andrew
Hi all, I recently updated some Ruby settings on my computer which resulted
in TM_RUBY being set to my RVM version (1.9.2). Now in some bundles
(GetBundles most recently) I am getting console errors that cause the
commands to crash. Stuff like this:
/Users/bmf/Library/Application
Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb:214:
syntax error, unexpected keyword_end, expecting $end
I fixed one or two commands by hand (I'm newish to ruby so not intimately
familiar with syntax differences between versions) but that is kind of a
PITA.
So, does TextMate require a specific Ruby version? When using RVM to switch
Rubies, does that require a TextMate relaunch? Trying to quickly fix this
stuff so I can get back to work, thanks for your help.
Brandon
Why isn’t there a forum for TextMate so I don’t have to be subscribed
to an entire mailing list just to talk about one thing?
Every time I want to ask something about TextMate I have to subscribe,
and then when I’m done, unsubscribe, and it’s a real pain in the ass.
Just filtering the email isn’t really an acceptable solution because I
prefer not to amass vast quantities of email I don’t care about. (I
backup my email among other things).
Sorry to be so moany but I find this really inconvenient. I guess
there must be a reason why you have it this way.
Ollie
Hi Brad,
thanks a lot! I just cloned your fork and it works as advertised.
Yes, it is very useful. I run a little website for our lions club (http://www.lions-werne.de/ - German-language only). Persistent includes help me keep the code manageable without using server side scripts like php or a complete CMS. I started the project with a windows-program called phase5.
Over the years, the site has grown to more than 100 html-files. With your update project-command, I can quickly propagate changes to the site-menu. I can imagine this is useful to other users, so the core bundle is the place to put it.
Jan
>
> Hi Jan,
>
> Hard to believe that I wrote that little bundle 5 years ago now. Glad to see some people still find it useful! I've committed a new "Update Project / Selected Files" command for it. It doesn't use AppleScript, so hopefully that will make it a little faster. And it only processes files that has the "tminclude" tag in them. Hopefully it will make it's way to the core TextMate bundle soonish. Until then, if you want to pull from my fork to try it out, you'll find it here:
>
> https://github.com/bradchoate/html.tmbundle
>
> -Brad
Hi,
I am new to Textmate. Great tool!
I love the persistent includes in the html-bundle. However I miss a method to update all files of a project at once. This topic was discussed earlier on this mailing list in 2007, but I could not find any follow up.
To work around this, I whipped up an apple script like this:
-- Update all persistent includes in Textmate
-- allow Apple Script to execute keystrokes
tell application "System Events" to set UI elements enabled to true
-- choose the textmate-project-file
set ProjectFile to (choose file with prompt "please choose Textmate-Project")
-- TODO: check, if a valid projectfile was chosen
tell application "TextMate" to open ProjectFile
tell application "TextMate" to activate
tell application "Finder" to set sourceFolder to folder of ProjectFile as alias
tell application "Finder" to set Subfolders to every folder of folder sourceFolder
-- TODO: iterate through root folder and sub-sub-folders
repeat with EachSubDir in Subfolders
tell application "Finder" to set filesList to (every file in EachSubDir whose name ends with ".html")
repeat with htmldatei in filesList
tell application "TextMate" to open htmldatei as text
-- Wait one second to make sure the file is loaded
delay 1
tell application "System Events" to keystroke "u" using {command down, control down}
-- Wait one second to make sure the update is finished
delay 1
end repeat
end repeat
-- End of Apple Script
When you run it, it prompts you for the tmproject-file and opens all html-Files in the subfolders.
Has anyone a less ugly solution or any suggestion?
Thanks
Jan
Every so often I'll be going about my business in TextMate when all of the sudden, TextMate decides to "donk" (the error sound effect) every single time a TextMate window loses focus. There seems to be no other ill effects to accompany the "donk" but it is rather annoying to listen to as I may lose focus, switching back forth between apps, several times in a matter of a minute.
The only thing that cures the "donk" issue is to restart TextMate.
Anyhow, here is the console output when the window gains focus while the "donking" is going on.
##################
9/16/11 1:11:59.819 PM TextMate: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
9/16/11 1:11:59.824 PM TextMate: (
0 CoreFoundation 0x91865e77 __raiseError + 231
1 libobjc.A.dylib 0x98447149 objc_exception_throw + 155
2 CoreFoundation 0x9176f7e6 -[__NSArrayM insertObject:atIndex:] + 150
3 CoreFoundation 0x9176f740 -[__NSArrayM addObject:] + 64
4 TextMate 0x0005c46e -[NSOutlineView(OakOutlineView) selectedItems] + 172
5 TextMate 0x000bdbb1 -[OakProjectController applicationDidBecomeActiveNotification:] + 223
6 Foundation 0x9084d51d __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
7 CoreFoundation 0x917a6843 ___CFXNotificationPost_block_invoke_1 + 275
8 CoreFoundation 0x91771658 _CFXNotificationPost + 2776
9 Foundation 0x9083870a -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
10 Foundation 0x9084d99e -[NSNotificationCenter postNotificationName:object:] + 55
11 AppKit 0x9713d41f -[NSApplication sendEvent:] + 3140
12 TextMate 0x000447ed -[OakApplication sendEvent:] + 159
13 AppKit 0x971d339d _NXFinishActivation + 211
14 AppKit 0x971dbfd5 _NXDoDeferredWindowOrdering + 187
15 AppKit 0x971a4cf4 -[NSWindow sendEvent:] + 4676
16 AppKit 0x9713db23 -[NSApplication sendEvent:] + 4936
17 TextMate 0x000447ed -[OakApplication sendEvent:] + 159
18 AppKit 0x970cf52b -[NSApplication run] + 1000
19 AppKit 0x97362b54 NSApplicationMain + 1054
20 TextMate 0x0012e4f2 main + 168
21 TextMate 0x0000610e _start + 216
22 TextMate 0x00006035 start + 41
)
##################
Adam Merrifield
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Office: 519-489-6033
Cell: 519-574-9788
I had to delete and re-post this because I wasn't subscribed to the list when
I originally posted this. Sorry for any confusion.
***
Hey, I'm new to textmate (neatbeans borked itself on me), and am hoping
someone can help me. I'm working on a very large codebase, but only a small
portion of it is relevant to my project. So I have opened the root folder of
the codebase, and then highlighted files I *don't* need and then used
right-click->"Remove Selected Files"->"Delete References". By doing this, I
can limit the list of files to only the ones relevant to me, making it a ton
easier to navigate from file to file.
The problem is, even if I use the File->"Save Project" command, this
filtering of files seems to be temporary. The next time I open that project,
all of the files I filtered out are visible again in the file-view. I have
the ProjectPlus plugin installed.
Is this expected behavior? Or is there a setting I'm missing or different
workflow I should follow in order to get textmate to remember what should be
visible in my project?
Thanks!
--
View this message in context: http://old.nabble.com/remembering-files-in-projects-tp32449259p32449259.html
Sent from the textmate users mailing list archive at Nabble.com.
This is a TextMate Bundle for viewing and editing LLVM (Low Level Virtual
Machine) assembly files (.ll). Pretty basic: language file and some
snippets.
https://github.com/hansstimer/llvm.tmbundle
>
> Even when I try to retrieve the PATH from Terminal, I still get this error.
> Has any one run into this kind of problem before??
Which error are you getting? Please post the output from these two
commands:
echo $PATH # Remember you need a $ to access shell variables
which g++
Your path should be separated by : (colons), not new lines. If you get a
valid answer to "which g++" add that to your path by appending a colon and
then that directory to the path. For example, my path (in TM) is
/Users/bmf/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
When I enter "which g++" into terminal I might get (for example)
/opt/extra/stuff/bin/g++
So my I would change my path in TM to
/Users/bmf/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/extra/stuff/bin
Note: my g++ is in /usr/bin. That is by default in the path. Rather than
muck with your PATH, I would go with Allan's advice and make sure you have
it installed correctly. If 'which' doesn't find it and you didn't purposely
install it into some weird place, it probably isn't installed.
Brandon
>
> Is this expected behavior? Or is there a setting I'm missing or different
> workflow I should follow in order to get textmate to remember what should
> be
> visible in my project?
Yes, this is expected behavior. It rescans the directories and adds files
whenever you open the project or command+tab back to TextMate*.
The way to change which files are discovered is to right click on the root
folder and choose "Show Information..." (or select the folder and hit
command+i). Where it says "Recursively Include Contents Matching..." you
can define "regular expressions" to include/exclude files and folders. I'm
not sure which syntax that box is using for the patterns but exclamation
point (!) acts as negation so you can easily exclude stuff from your
directories.
*You can use the plugin ReMate to disable this behavior if you don't want to
exclude the files but rescanning them is slow.
Hope that helps! Enjoy using TextMate! :)
Brandon
Hello everyone,
I first want to apologize to anyone who thought the subject said
"TextMate2." I promise I wasn't trying to deceive you. :-)
I'm not sure if this is the best place to post this, but I have created an
improved version of TabMate and wanted to share it with those of you who
have been frustrated by a lack of an update to such a useful plugin.
TabMate2 <https://bitbucket.org/tweekmonster/tabmate2/overview> brings
improvements that include refreshing windows with your modeline settings
when you:
- Switch between windows (not just tabbing in and out of TextMate)
- Switch between tabs
- Save your file (editing then saving the modeline will immediately
update your window settings)
- Reload Bundles
A bonus feature has also been added: You can also keep your modeline at the
bottom of your files!
TabMate2 also has a companion bundle that helps you create and manage a
modeline in your files. Install it and simply press ^M and a modeline will
be added to the top of your file. If you already have a modeline in your
file, the bundle will simply update the existing modeline with your selected
language and tab settings.
You can download the PlugIn (be sure to remove TabMate first) and Bundle
here: https://bitbucket.org/tweekmonster/tabmate2/downloads
I would also like to make this disclaimer: I'm new to Objective-C
programming. This was my first real-ish project involving Objective-C and I
welcome any comments or pointers about the code
itself<https://bitbucket.org/tweekmonster/tabmate2/src>.
I also was only able to test this plugin in Snow Leopard and Lion, but I
assume that building it with the 10.5 SDK would make it usable on Leopard,
right?
Please let me know what you think!
-Tommy
First off, I'm new at this Mac stuff. Got my first ever Mac yesterday, and
I've been trying to get it all to work.
I'm studying Software Engineering at University, and the current (first)
language we're working with will be C going to C++. I've installed xCode,
which I've got working, however I would like to use TextMate for the actual
writing as the snippets just makes it awesome.
I have a problem though, when I compile a simple code like this:
int main(void){ printf("Hello World\n"); return 0; }
it works fine, I get the compiled output from gcc (I believe it's GCC in
xCode), however if I run this:
int main(void){ int number; printf("Give number: "); scanf("%d", &number);
printf("Number provided was %d", number); }
What happens is I get the said console output window, however it does not
allow me to actually input stuff, it merely slaps 0 in the scanf.
I used 5 hours last night trying to get everything to work, and I may have
been searching on the wrong things, but I'm new at all this so please beare
with me, and if there's a specific answer somewhere (thread here,
stackoverflow etc) then a link would be awesome.
Hope someone can help me, as TextMate is just....awesome.
Best Regards
Dennis
--
View this message in context: http://old.nabble.com/compiling-code-but-not-inputs-tp32422353p32422353.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I have been trying to do C++ in textmate but I keep getting this error:
The current PATH is:
"/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
Please add the directory containing “g++” to PATH in TextMate's Shell Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch: "
Even when I try to retrieve the PATH from Terminal, I still get this error. Has any one run into this kind of problem before?
I apologize if this has been covered before but i couldn't find any answers searching (none I could understand at least)
Thank you
John
richiesta di rimozione immediata dell'indirizzo info(a)scrivilo.it, inserimento in mailing list mai richiesto :-/
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. R Console (Rdaemon) bundle ? how to edit / prevent long
> function descriptions? (Martin Batholdy)
> 2. Re: R Console (Rdaemon) bundle ? how to edit / prevent long
> function descriptions? (Hans-J?rg Bibiko)
> 3. Re: R Console (Rdaemon) bundle ? how to edit / prevent long
> function descriptions? (Martin Batholdy)
> 4. C++ not compiling in text mate (John Relosa)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 8 Sep 2011 15:20:43 +0200
> From: Martin Batholdy <batholdy(a)googlemail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] R Console (Rdaemon) bundle ? how to edit / prevent
> long function descriptions?
> Message-ID: <82E1C12C-A88C-4786-BC4C-5842A8730A02(a)googlemail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I am currently using the Rdaemon bundle to run R from inside a textMate document.
> It works great and I am really excited about having the power and flexibility of a text editor like textmate combined with the possibility to execute R-code within the text editor.
>
> However there is one minor issue, so I thought perhaps someone here found a solution for that.
>
>
> When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
> That is a great feature.
>
> However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
>
> If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
> (same for starting an if-statement)
>
> Does someone know if it is possible to edit this help-text or disable it for some functions?
>
>
>
>
> thanks!
>
> ------------------------------
>
> Message: 2
> Date: Thu, 8 Sep 2011 16:26:49 +0200
> From: Hans-J?rg Bibiko <bibiko(a)eva.mpg.de>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R Console (Rdaemon) bundle ? how to edit / prevent
> long function descriptions?
> Message-ID: <F8C9902C-C49C-4605-8CAF-E315570CC325(a)eva.mpg.de>
> Content-Type: text/plain; charset=us-ascii
>
>
> On 8 Sep 2011, at 15:20, Martin Batholdy wrote:
>
>> When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
>> That is a great feature.
>>
>> However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
>>
>> If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
>> (same for starting an if-statement)
>
> Hi Martin,
>
> thanks to bringing me back to that issue ;) I've just uploaded a new version of the R bundle which now parses the function parameter hint correctly.
>
> Best,
> --Hans
>
> ------------------------------
>
> Message: 3
> Date: Thu, 8 Sep 2011 20:19:20 +0200
> From: Martin Batholdy <batholdy(a)googlemail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: R Console (Rdaemon) bundle ? how to edit / prevent
> long function descriptions?
> Message-ID: <B41B5F7B-FE57-478C-98C6-23D9CAABE921(a)googlemail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Hi Hans,
>
>
>> I've just uploaded a new version of the R bundle which now parses the function parameter hint correctly.
>
>
> Great, thank you ? I just updated the package.
>
>
> And thank you so much for building and maintaining this textMate bundle!
> It makes working with R so much more fun on the mac ;).
>
>
> best,
> Martin
>
>
> On 08.09.2011, at 16:26, Hans-J?rg Bibiko wrote:
>
>>
>> On 8 Sep 2011, at 15:20, Martin Batholdy wrote:
>>
>>> When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
>>> That is a great feature.
>>>
>>> However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
>>>
>>> If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
>>> (same for starting an if-statement)
>>
>> Hi Martin,
>>
>> thanks to bringing me back to that issue ;) I've just uploaded a new version of the R bundle which now parses the function parameter hint correctly.
>>
>> Best,
>> --Hans
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 8 Sep 2011 15:16:07 -0700 (PDT)
> From: John Relosa <john.relosa(a)yahoo.com>
> To: "textmate(a)lists.macromates.com" <textmate(a)lists.macromates.com>
> Subject: [TxMt] C++ not compiling in text mate
> Message-ID:
> <1315520167.99620.YahooMailNeo(a)web121916.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> I have been trying to do C++ in textmate but I keep getting this error:
>
> The current PATH is:
>
> "/usr/bin
> /bin
> /usr/sbin
> /sbin
> /usr/local/bin
> /usr/X11/bin
>
> Please add the directory containing ?g++? to PATH in TextMate's Shell Variables preferences.
>
> Alternatively, the PATH can be retrieved from Terminal but this requires a relaunch: "
>
> Even when I try to retrieve the PATH from Terminal, I still get this error. Has any one run into this kind of problem before??
>
> I apologize if this has been covered before but i couldn't find any answers searching (none I could understand at least)
>
> Thank you
>
>
> John
>
Hi,
I am currently using the Rdaemon bundle to run R from inside a textMate document.
It works great and I am really excited about having the power and flexibility of a text editor like textmate combined with the possibility to execute R-code within the text editor.
However there is one minor issue, so I thought perhaps someone here found a solution for that.
When you use Rdaemon and type a function you automatically get a small yellow overlay window that gives you some information about this function.
That is a great feature.
However this yellow overlay window for some reason gets huge if you want to set up for example a for-loop.
If I type "for(" my whole screen is covered with a huge yellow overlay window showing a lot of html-code (I think it is the html-code of the corresponding help page).
(same for starting an if-statement)
Does someone know if it is possible to edit this help-text or disable it for some functions?
thanks!
Hi, I am using Find / Replace to remove the word 'function' from comments in
some code I am working on (it causes the next word to appear as a function
in CodeBrowser when editing PHP code).
I am using this Regex:
/(?<=\*)([\w\s]*?) function/
I am attempting to match 'function' on any line after a * and the minimum
number of word & space characters. I added the / / to delimit the regex in
this email but am not using those characters in the TextMate dialog.
It seems to match correctly and highlights the characters I would expect,
but when I do Replace in Current Selection (shortcut or menu) nothing is
replaced. This is regardless of what I have the in replace field, whether
it is a capture reference ($1), any string of characters, or empty. My
hunch says it has something to do with the negative lookbehind but I don't
see any way in which I've used it incorrectly so I am stumped.
Anyone have any suggestions or is this a bug?
Thanks
Brandon
Hi,
Sorry if I'm asking a very stupid question, but I'm a bit stuck on this one. I've recently started to use TextMate for Python (was mainly using it for LaTeX), and I can't take full advantage of the documentation features of the python bundle.
- When selecting the Documentation for Current Word command (Cmd-H), I get a window showing an "Index of Modules". I can reach from there was I was looking for, but I would expect the command to bring directly there. Is this what it is supposed to do, or am I getting the intended behaviour? (Looking at the code, this looks to be a fallback case, so there should be something else happening.)
- When selecting the Documentation in Browser command (Cmd-Shift-H), I get the following error message:
Traceback (most recent call last):
File "/Users/xxxx/Library/Application Support/TextMate/Pristine Copy/Bundles/Python.tmbundle/Support/browse_pydocs.py", line 125, in
main()
File "/Users/xxxx/Library/Application Support/TextMate/Pristine Copy/Bundles/Python.tmbundle/Support/browse_pydocs.py", line 96, in main
wait_for_server(onserve)
File "/Users/xxxx/Library/Application Support/TextMate/Pristine Copy/Bundles/Python.tmbundle/Support/browse_pydocs.py", line 78, in wait_for_server
raise RuntimeError('timed out waiting for server!')
RuntimeError: timed out waiting for server!
Is there any setting I'm missing? From my experience with the LaTeX bundle, there were a few environment variables that had to be set in order to have everything working properly - would there be anything similar I should do here too? Is the bundle maintained at all and supposed to work with my setup (Snow Leopard, python 2.6.1)?
Thanks for your help, and again, apologies if this has been already covered or available on the web, I did my best before sending this.
--enas
>
> In a clean user account all these editors behave and none of the funny
> stuff happens.
> I have removed login items, preferences, my keybindings from my account to
> no avail.
>
> I have been advised by the reseller where I bought my Air to contact
> AppleCare to see if they can help.
> I'm still thinking about it.
Did you upgrade your user account from Snow Leopard? Even though Apple
allows you to upgrade the OS, it is never a good idea (in my experience). A
clean install with a new user account is always the way to go for maximum
stability. With a little shell scripting you can easily copy select .plists
and other config files from your old ~/Application Support/Library to the
new one and it makes migrating to the new account pretty painless.
Brandon
Dear all,
when using the inline dictionary function (ctrl-cmd-D) the corresponding window appears but does not disappear. When trying to close TM it crashes.
Can anyone replicate this? I'm on Lion 10.7.1 on TM 1631.
cheers,
Daniel
--
Daniel Stegmueller
1 New Road
Oxford OX1 1NF
United Kingdom
phone: +44 1865 278685
mobile: +44 7794 909349
Hey All,
I’m modifying someone else’s bundle:
https://github.com/desandro/CSS3.tmbundle
to extend it, with the intention of submitting changes to the original
author. I removed the original bundle from App
Support/TextMate/Bundles, checked it wasn’t in Pristine Bundles,
forked
https://github.com/oli/CSS3.tmbundle
and cloned into App Support/TextMate/Bundles, then I went about extending it.
However for snippets which share a tab trigger, instead of getting a
menu with options, I get the menu but with no text [screenshot
attached]. I’m also unable to use the snippet, even by typing “1” for
the first one etc. Other bundles work fine, and if I use unique
trigger names this bundle’s snippets work fine. I’ve attached the
bundle just in case.
Can anyone tell me what I’m doing wrong?
peace - oli studholme
PS is there a reference on bundles you could recommend? I found
http://wiki.macromates.com/Bundles/StyleGuide, but it didn’t mention
needing to have e.g. border after border-style to get the -style part
scoped properly, and I couldn’t find the validate_bundle.rb script it
mentioned…
I am running the following R code in TextMate
sessionInfo()
x <- 1:20
y <- 2*x+runif(length(x), min=-2, max=2)
mean(y)
plot(x,y)
on Mac OS X 10.6.8 with R2.13.1 in TextMate 1.5.10 (1631) and the R.tmbundle.
The plot is not being refreshed every time I run the file with Command R (leaving the html window open).
When I close the output html window before doing Command R the plot does refresh.
Ideas? Fixes?
Berend Hasselman
Hi there,
I would like to create a new file from template by command line call, e.g.
$ mate -w foobar.c
then a new C source file is created from my C template if there is no
such file exist in the current path.
Is there any suggestions? I appreciate any help.
Regards,
Hao
Hi, I am wondering what is the 'correct' way to update GetBundles itself?
It appears on my GetBundles menu, but it says it is installed through svn
and to update it manually. What is the preferred way to do that?
Also, why are there so many seemingly identical bundles on GetBundles? If
they have the same name and same date, or same name and same author with no
date, can I just assume they are the same bundle?
One more thing: with GetBundles, is the date scheme Year-Month-Day? Is to
throw off both Europeans and Americans? I kid...but I want to make sure I'm
installing the newest versions of the bundles so I'd like to make sure.
Thanks guys (and ladies?)
Brandon
Again I stumbled across something....
Apparently, when the path (folder oder filename) contains one of the "umlaute" (üÜ, öÖ or äÄ) watching the TeX-file fails.
Even though compiling using the usual + R works fine. Systemwide encoding is (supposed to be) UTF8.
Is that meant to be that way? - and - is there a simple way to fix or work around that? (Besides not using these letters in the path... ;)
thanx in advance and kind regards,
Patric
I got it sorted out a few days ago. I'm embarrassed to admit it, but it was an errant bit of code, which I finally weeded out. Thanks for the suggestion, though!
On Aug 31, 2011, at 6:00 AM, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: Syntax highlighting problem with .rnw file (SWeave
> bundle) (Peter Cowan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 Aug 2011 09:39:38 -0700
> From: Peter Cowan <cowan.pd(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Syntax highlighting problem with .rnw file (SWeave
> bundle)
> Message-ID:
> <CAM4gt+5FOdZzG-Umm7ALd1xuOiFbYX_vAa8jL_UOhcRvSr8JYg(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Aug 24, 2011 at 7:23 AM, Gregory Penn <gregory.penn(a)gmail.com> wrote:
>> Thanks to Eric Cheng, I was able to update my SWeave bundle from github and it's commands seem to be working correctly. So on to the next problem . . .
>>
>> TextMate's syntax highlighting in foo.rnw isn't recognizing R code between the "<<>>=" and "@" tags that delimit it, instead it is treated as LaTeX code. This is a problem because R makes frequent use of the "$" symbol, which toggles math-mode in LaTeX. As a result, where I have an odd number of "$"s in a chunk of R code, any LaTeX following that R code will appear highlighted green, as though it were in math mode.
>>
>> I've read the documentation for scopes and languages, but didn't understand it well enough to figure out where this is going wrong and how to fix it.
>>
>
> I assume that you have the R bundle installed? Are you sure that the
> language is set to SWeave when you open .Rnw file? Have you tried
> putting empty lines before and after both "<<>>=" and "@" tags? I
> seem to remember a small issue with that in the SWeave bundle, if that
> is the issue I might have a fix I can dig out.
>
> HTH
>
> Peter
>
>> Thanks in advance,
>> Gregory Penn
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 39, Issue 25
> ****************************************