This really just happened to me. Really. I know I produced some April Fools
jokes yesterday, but that was yesterday. This is real.
I created this Ruby script in TextMate:
s = "wackamole"
puts s
I ran it, and the RubyMate output window displayed:
woe
Weird, eh? And it is part of a longer story; the string "wag wag" was being
displayed as "w w", and the string "ruff ruff" was being displayed as empty.
(Never mind why I was testing those strings.)
I quit TextMate, restarted my computer, and everything is back to normal.
But would anyone like to suggest a cause for what happened? Cosmic rays?
Belated April Fools day easter-egg-type joke?? The conficker virus??? Has
anyone else ever seen anything like this? m.
PS The problem was presumably with TextMate, not with ruby, because using
the Terminal to run the same script (as a saved text file) using the "ruby"
command worked just fine.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
Hello, I find that TM has too many keyboard shortcuts for my brain to
be able to retain and be useful to me. I have developed a habit that
I use in all apps, which is to use apple help, command-Shift-? will
bring up the help menu in the app. I can type a few words, and it
will show me the menu item I need. Return and it is executed. Or I
can traverse the real menu structure.
I use this in all apps, it is handy to me.
TM apparently crashes a lot when I do this.
I am now looking to use the "Select Bundle Item", but it is too
aggressive about what it finds. Enter in the single letter "E" and it
finds all bundle items that contain a singe E. I am looking to limit
it to contains characters of at least three characters for a match.
In the help search method, if I type "br" it brings up 6 items to pick
from. In the "Select Bundle Item" it beings up about 25 or so.
Any suggestions? Over time, I am sure this is going to force me to
learn more of these, but the apple help method was gread for those one
time uses where you will not use the command again for a long time.
It also goes beyond the bundle items, and I could toggle freehand edit
mode, for example, something I rarely do, and just do not want to
bother committing to memory.
--
Scott * If you contact me off list replace talklists@ with scott@ *
Hello,
I'm working on a "matlab console" bundle, à la "R console bundle". The
goal is to emulate a matlab console in a textmate window, which is
much more practical than the terminal to edit long commands. This is
so far working quite well, running matlab in the background and
sending/receiving messages via text files.
However, when I have a matlab script opened in a textmate window, I
want to be able to execute it in the textmate window where the matlab
console lies. I thought of doing that with applescript, but the
dictionary of textmate seems pretty poor, there is no way of handling
tabs for example.
So what I want to be able to do is a run a command from a window that
write its results in a different textmate window or tab (which has a
specific name, something like "Console.Mcon"). Is this possible ? and
how ?
Thanks
Pierre
Hello,
With the actual code of LateXCommandCompletions.rb, it's impossible
to use
"alt esc" in a general context ( other than \ref{} or \cite{} )
example
\documentclass{article}
\begin{document}
\input{essai}
\in .... alt esc nothing !
\end{document}
I need to add fileExt = "" at the beginning of the file
LateXCommandCompletions.rb
But I lost LateXCommandCompletions.rb after the recent update 1.5.8
and today after the install of GetBundles and an update of the Latex
Bundle.
I would like to know if my solution is fine and how to manage my files
to avoid problem after any updates
Thanks
Best Regards
Alain Matthes
I have made a new html snippet called "href", it works, and shows up
as Bundles -> html -> href
I would rather it be in Bundles -> html -> insert tag -> href
How can I move this item?
--
Scott * If you contact me off list replace talklists@ with scott@ *
Hi everyone,
I need to bring some XML files (CellML) into textmate; problem is that
the formatting is all on one line without wrapping/indents.
Is there any way to get textmate to automatically format the one line,
and auto-indent it?
Thanks in advance,
MP
I am very intrigued by the TM SQL features, namely, running a
arbitrary SQL command in the editor, as well as the browser. So far,
reading the help, I see I have a small connection window in which I
can enter in the usual host, user, pass, and database name.
The trouble is, I do not want to open my databases up to remote
connections. Almost always they are allowed access from localhost.
Most ISP's are not going to allow access from some other host as well,
not to mention, if you do not have a static IP, you are going to be a
moving target anyway.
What are my options at this point? I have a ssh/ftp/sftp type
connection in which TM is opened against it, and I can save right back
to the server. The sql stuff happens locally on the server.
Any way to integrate that type of connection with TM's sql tools?
--
Scott * If you contact me off list replace talklists@ with scott@ *
Why do I sometimes get xcode messages when using cmd R to run ruby code? If I
click somewhere else in the document and then use cmd R, then it usually
runs the code in the file without the xcode error.
Right now though, nothing I do is working. I'm getting
xcodebuild: Error: the directory /Users/xxxx/Desktop does not contain an
Xcode project.
every time I try cmd R.
--
View this message in context: http://www.nabble.com/xcode-message-when-running-ruby-tp22820086p22820086.h…
Sent from the textmate users mailing list archive at Nabble.com.
One last question for tonight. ;-)
According to the doc, the environment variable TM_PROJECT_DIRECTORY
may not be set. But in which cases? The doc is not very precise on
that point.
Thanks.
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________