>From a quick look at the archives, it looks like at least a few people on
this list have been using Textmate on Leopard... has anyone had trouble with
spaces? I've noticed that sometimes when I have textmate windows on spaces
other than space 1, all the windows will become inaccessible. The only way I
can make them work again is to disable spaces. This is especially pronounced
if I launch textmate from another space. Has anyone noticed this or found a
work-around?
Thanks
Geoff
Hi,
here comes a suggestion for all R users.
I wrote a tiny R daemon bundle in order to run R 'inside' of TM.
There is no need to start RGUI etc.
I found a naive way to do it and it turns out, at least for me, it's
quite useful. So my question is whether this approach is also useful
for others. If yes, I/we can elaborte this bundle.
Demo Movie (4.3MB) http://www.bibiko.de/Rsession.mov
Up to now you can do the following:
-install this bundle R daemon
-open new document, set the language to R or R console, type 'start'
and press TAB
-R daemon will be installed into $HOME/Rdaemon (please check the
directory if you don't use it!)
-after some seconds you can type any command into that window and
press 'NUMPAD-ENTER'
-the result will be inserted into the current document
-if you want to execute a selection the output will be written into
the file r_res (useful if you write a script)
-errors/warnings will be output as tooltip (but not every error, then
you have to check 'geterrmessage()'!)
-there is a progress bar showing the progress of R's calculation
-the entire session you can find in r_out (the nice side-effect is
that even if the R daemon, or TM, or the Mac crashes you have at
least r_out to reconstruct the last session)
-the R daemon listens at the named pipe r_in
-errors/warnings are written to r_err
-if you know that the command will take some minutes you can execute
this command in the background (SHIFT+NUMPAD-ENTER); the result will
be written into r_res; by doing so you can send a task to R while
writing further stuff in TM (I used sink() for that)
-R daemon comes with its own persistant history list (i.e. if you
quit the R daemon and you start it again you also have all commands
from the last session (OPT+ARROWUP/DOWN CTRL+OPT+ARROWUP for a list
[last command comes first]))
-I rewrote the help for the current word as an HTML page using frames
-Autocomplete and command template now works case-sensitive meaning
if you look for 'mat' you won't get 'Math.'. Furthermore it also
works for functions defined in the current session!
-I included an example TM project Rsession ($HOME/Rdaemon).
-note 1: plot
R runs as normal session in a hidden Terminal. Thus one has to use
X11 for plotting into the null device.
If such a device is open and you quit X11 the R daemon will quit
immediately!! I cannot catch this yet.
CTRL+NUMPAD-ENTER can show the current plot as PDF. I set the the pdf
file to ~/Rdaemon/plots/Rplot.pdf
-note 2: quit
You can type 'q()', delete the prompt and answer the question, or
type kill TAB to kill it.
-known pitfall 1: readline
In principal readline("prompt") works, but if 'prompt' is prompted,
you have to delete it or press ENTER to insert a value. Otherwise R
will get the entire line a input (I work on it)
-known pitfall 2: synchronisation
One tricky point is the synchronisation of the output. I went the way
to look for R's CPU coverage. If this is zero I assume that R's
ready. One can test this if you execute 'c(1:200000)'. If you see the
last line mentioning you reached the max line etc. everything is OK,
if not one has to fine-tune it. It's done via a tiny sleep command.
As I already mentioned this is written very fast!! Esp. the daemon
which is written in Ruby needs some help from Ruby experts ;)
With R daemon one has the full control meaning you can do thousand of
nifty things ;)
Any comments?
Cheers,
--Hans
Hi,
There is now a FishEye <http://www.atlassian.com/software/fisheye/>
instance for the bundles repository <http://fisheye2.cenqua.com/
browse/textmate-bundles/>.
FishEye is a tool to give insight into a code repository. It allows
for complex searches of the code base and notifications of changes.
LD.
Hi,
When I have a project checked out of Subversion (svn) and want to change
a file's name, the TextMate rename appears to do a file system rename.
Doing that confuses svn and would require an svn add to the repository,
which throws away the history of the file under its old name.
Is there a way to have Rename do an svn mv instead of file system mv?
Thanks,
Oliver
--
Oliver Meyn
Senior Developer
TSOT, Inc.
151 Bloor Street West, Suite 601
Toronto, ON
M5S 1S4
(416) 524-2240
http://www.tsotinc.com
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify us at
info(a)tsotinc.com <mailto:info@tsotinc.com> and permanently delete the
entire communication from any computer, disk drive, or other storage
medium. Please note that any views or opinions presented in this email
are solely those of the author and do not necessarily represent those of
the company. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.
TSOT Legal
> On Dec 8, 2007, at 11:20 PM, Constantinos Kouloumbris wrote:
>
> >> Under review. http://macromates.com/svn/Bundles/trunk/Review/Bundles/
> >
> > Is there any specific reason...
>
> There are some pretty major issues with the bundle so it was moved to
> denote that in the hopes that someone would do some work on it. Most
> of the issues have been detailed in a comments file:
>
> http://macromates.com/svn/Bundles/trunk/Review/Bundles/PHP%20Cake.tmbundle/…
>
>
I've been hoping to work on it to get the cake bundle caught up to
cake 1.2 and get the issues that Michael has pointed out, but I've
been jammed with work recently.
Sam D
--
(the old fart) the advice is free, the lack of crankiness will cost you
- its a fine line between a real question and an idiot
http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
Hi people,
I am new to this list, and I apologize before hand if this topic has
been discussed before. I recently updated my system and I was looking
for the cake bundle that I use so much, but it wasn't in the svn repo.
Can anyone tell me what happened to it?
--
Regards,
CK (Constantinos Kouloumbris)
GPG: 0x2502604D
http://kouloumbris.com
"A bus station is where a bus stops. A train station is where a train
stops. On my desk, I have a workstation…go figure."
~ Steven Wright ~
Very recently, yank (C-y) as stopped working for me. Instead of
inserting text from the kill ring, it switches focus to the gear button
on the project drawer. I don't know what I've done to cause this
change. I thought it might have been TextExpander, but the problem
persists after uninstalling it. There is no mapping set for C-y in the
keyboard pref pane. C-y works in other Cocoa apps.
I would much appreciate any troubleshooting suggestions.
Mac OS X 10.5.1 Intel
TextMate 1.5.7 (1436)
Thanks.
After a reboot due to an update in Logitech's software mate has
stopped working, see trace below (I don't know whether the software
update is relevant). Any ideas?
-- fxn
2007-12-08 02:07:47.209 mate[470:10b] An uncaught exception was raised
2007-12-08 02:07:47.211 mate[470:10b] [NOTE: this exception originated
in the server.]
*** Object does not implement or has different method signature
2007-12-08 02:07:47.212 mate[470:10b] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '[NOTE: this
exception originated in the server.]
*** Object does not implement or has different method signature'
2007-12-08 02:07:47.212 mate[470:10b] Stack: (
2481635947,
2426728603,
2481634705,
2455251046,
2455248905,
2481658570,
2481658674,
10507,
14446,
9754,
9525
)
/Users/fxn/bin/update_reading.sh: line 4: 470 Trace/BPT
trap mate -w db/reading.yml
Hi,
I've just started using TM, previously I used emacs. When I typed a perl
line like:
my $p = Base::Sub->new
(id => 1234,
name => "test");
I would only have to hit tab on each new line to move the cursor to below
the appropriate place on the above line i.e. it auto formatted the code for
me. TM doesn't seem to do this, which is annoying the hell out of me. Can
someone help please?
--
View this message in context: http://www.nabble.com/Lining-up-code-automatically---perl-mainly-tf4958584.…
Sent from the textmate users mailing list archive at Nabble.com.
Hey guys.
got some questions:
I cant get std8 classes to work with mtasc. I thought that it should work
right out of the box?!?
I´m using actionscript bundle.
And to my other question is there anyone that can give med a dummy project
of actionscript/mtasc?
(i.e a as project thats uses main class och a coupul of other classes) Just
so that I can get a running start att this. I´ve been developing flash sens
flash 2. But never open scorce.
Thank you for your help and sorry for my spelling.
Martin
--
View this message in context: http://www.nabble.com/actionscript-mtasc-tf4949238.html#a14170392
Sent from the textmate users mailing list archive at Nabble.com.