I was getting errors (Ruby errors, I believe) when trying to use the
TODO List bundle, so, finding the "TODO Bundle Broken" thread in this
list and trying to follow the advice there, I deleted some bundles (and
some unused plugins I discovered in the process) from
"~/Library/Application Support/Textmate" and also updated all the
bundles in my "/Users/mjg/Library/Application Support/TextMate/Bundles/"
directory from subversion.
Now the TODO List bundle is working beautifully (for the first time!),
but when I try to use PyMate "Run Script" command to run a Python file I
get this error: "-e:2:in `require': No such file to load --
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor
(LoadError) from -e:2". It's true that there is no such file--in fact,
the "/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/"
directory does not exist. Why is this error happening and what should I
do about it?
For what it's worth: other PyMate commands (such as "Run Script
(Terminal)" still appear to work correctly.
I'm running the latest "Cutting-Edge" TextMate, Version 1.5.7 (1464).
Thanks,
Mike
Hi,
while developing the Rdaemon I had one single question in my mind. How
can you integrate Rdaemon in documents like LaTeX, HTML, Markdown etc.
Up to now I fiddled around with automatically copy&pasting R stuff,
thought about modifying Sweave etc.
But I believe I found hopefully a very easy solution.
One only has to use TextMate's wondrous facilities. ;P
Everybody knows, e.g. if one writes an HTML doc you have the HTML
scope with all commands behind it. Then one inserts a new CSS
declaration. If you are inside of such a CSS tag you have all CSS
features available. This is done in the Language setting for HTML.
This led me to an idea.
E.g. LaTeX:
If I'm writing an article or paper about my analyses of a topic, and I
did this by using R; then I usually explain how I did this with R.
Or if you give a R course and you want to document it, or if you write
a book about R, ...
One can use Sweave to typeset it. Fine.
BUT, my idea was to combine LaTeX and Rdaemon. I wrote a new Language
for LaTeX called "LaTeX Rdaemon". The only thing I did is to insert an
include statement
include = 'source.rd.console'
within the 'verbatim' environment.
OK. How does this work now?
You can start the Rdaemon and close that window. Then you open a LaTeX
file, set the language to "LaTeX Rdaemon".
Now you can write your LaTeX stuff, but if you declare a
\begin{verbatim} block AND within that block a line begins with "> "
then you are talking with the Rdaemon with all features coming from R
and Rdaemon. Press RETURN and the line will be executed and the result
will be written into the TeX document. (Remember the Rdaemon runs
further in the background)
I recorded a very tiny movie to illustrate that.
http://www.bibiko.de/TM_Rdaemon_Latex.mov
And this is only a test without fine-tuning! One can think about to
write some code to automate some things like:
- if a line starts with "> " within a tex document this line and the
output will wrapped automatically by a verbatim block after pressing
RETURN
- if one plots something and the Rdaemon recognizes that the command
is coming from a tex document which is saved in a certain folder then
the Rdaemon will plot this image using a Quartz device, dev.copy2eps(/
TEX_FOLDER/THE_NAME) [the Quartz is still open for further stuff!],
and return something like:
\begin{figure}
\begin{center}
\includegraphics{THE_NAME}
\end{center}
\caption{Scatter Plot with Regression Line}
\label{fig:FOO}
\end{figure}
[FOO could be calcualted, I guess]
etc...
By using this approach one could do this also with Markdown or HTML
etc. The only thing is to expand the Language syntax, and to fine-tune
the Rdaemon.
Are there any comments about my approach? What kind of side-effects
could be expected?
Would this be useful at all?
Kind regards,
--Hans
Hello all,
I am wondering if there is a way to automatically convert a VIM
colorscheme to a TextMate "Fonts & Colors" file.
The colorscheme in question is the ever-popular Zenburn
(http://slinky.imukuppi.org/zenburn/).
Thank you,
Brian
Hi, I tryied to install textmate on my new computer, but it does not
run, everytime I start it, it says my serial number is invalid,
probably due to credit card issues, but I didn't ever registered in
first place, I tryied to unregister the app thru menu => registration,
but it's not available, is there anyway I can "undo" this
registration? I really hope so, cause I'm looking forward to
registering TM,
thanks in advance
Igor Ranieri
hi, I'm just answering myself.. :P
I really have no ideia of how it happened, but the lock disapeared,
now I can register it with my own key.
Thanks anyway =D
Igor Ranieri
Hi,
I've just purchased a new computer which has
enabled me to switch over to using
Changes.app for my diff uses. Unfortunately,
the TextMate integration assumes Subversion
for version control whereas I use Mercurial.
I've made the suggested additions as mentioned
on the Changes Wiki and everything works great
from the command line, but the TextMate integration
is failing me. I'm not familiar enough with either
the Changes or the Mercurial bundle to make the
changes, so I'm appealing to the TextMate community
for help.
Is there some way I can either switch the Changes
bundle to use Mercurial or alternatively, switch the
Mercurial bundle to use chdiff and my merge script
instead of just diff?
Thanks,
Tim Lahey
Hi,
I cant no longer invoke the project drawer.
I have installed 'missing project drawer plugin' weeks ago, working
under Leopard 1.5.3.
During the last session working with textmate, I have closen the
project drawer and just quit the programm when I was finished.
Now I cant open the drawer again, no matter if I open a recent project
or a new one.
Please can you help?
thanks + cheers!
----------------------------
dennis
Hello,
I've been seeing a weird issue with non-ASCII characters appearing
messed up when QuickLooking a utf-8 file saved from TextMate. Here is
a screenshot:
http://vnoel.files.wordpress.com/2008/06/ql-bug.png
The same problem appears when opening the file with TextEdit --
non-ASCII characters are messed up. Unix tools (file, cat) show the
file correctly. After digging around I found a thread [1] on the vim
mailing list that says it is related to extended attributes that are
set by TextEdit and that need to be present for QL to correctly
recognize the utf8 encoding.
If you set the extended attribute manually on the utf8 file, non-ASCII
characters appear fine in QL. This looks like a bug in QL which, given
its lack of publicity, is rarely triggered and probably due to
something specific to my setup. I'm not sure what to do next, apart
from applying 'xattr' to every text file I save with TextMate :-) Does
anyone has advice ?
I'm sorry if this issue has already been discussed previously on this
list or elsewhere, but I couldn't find any other reference using
Google.
Thanks !
[1] http://www.nabble.com/MacVim-file-encoding-and-Quicklook-td17289501.html
Cheers,
Vincent Noel
in the attachment you will find a quick-and-dirty Relax NG bundle. it
doesn't do much, apart from syntax highlighting for .rnc files (the
cool "compact" version of Relas NG) and a few snippets for attributes,
elements and common datatypes (the ones I was using, actually :).
afaik nobody else worked on this stuff, so it might come in handy if
you end up working on huge rnc files (beats xml schema by a HUGE
margin). the little I've done is in the public domain, so use it as
you see fit.
cheers,
d.