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