Hi there :)
I seem to remember that this bug has already
been reported and if it's the case, it is still around
for me…
Quite ramdomly, TM simply crash when bringing
up the Find/Replace dialog window and tabbing
between the “Find:” field and the “Replace:” field.
Let me know if you need the Crash Report :)
TIA
So I finally upgraded to Leopard, but somehow my Multimarkdown bundle
got borked? I went to preview a document in XHTML and got this:
/bin/bash: line 2: cd: ~/Library/Application Support/MultiMarkdown: No
such file or directory
/bin/bash: line 3: cd: bin: No such file or directory
/bin/bash: line 4: ./multimarkdown2XHTML.pl: No such file or directory
I remembered having some difficulties with this a while ago, but I
couldn't remember what I had done to straighten it out. I went to the
bundle's help file, thinking it might jog my memory, but it too is
coming up with a similar error report. Is this a problem a re-install
will solve? It's late and I don't think I'm seeing the obvious.
john
Hi,
This is probably some stupid mistake on my part, but I'm having
problems with importing the objc package in Python. When I try to
import it, I get the following error:
ImportError: No module named objc
What's strange, is I can import objc from a terminal window, without
any problems. I made sure that Textmate is running the same install of
python, so that's not the problem. All other packages I've tried
import without problems.
In case you're interested, I'm running Python 2.5.1 (default Leopard
install) with Textmate build 1436.
Any help would be appreciated. Thanks,
-Tony
Hi Everyone,
What I want to do, is extend the css & js definitions to have
alternate start / end tags...
For javascript, I want to match the normal <script></script> tags, but
I also want to have it use
<?php $this->js()->start() ?> / <?php $this->js()->end() ?>
(Same for css, except using "css()")
How can I go about doing this?
Regards,
Eric
Hello all,
after searching the list archive for a while, I have hacked together a
short command to run Matlab straight from within textmate. The current
problem is (as has been discussed on the list previously) that Matlab
has to be launched from scratch every time (takes about 5s for simple
hello-world scripts to execute).
Is there a maintainer for the Matlab bundle? Is there anyone around
who knows how to access the current Matlab session?
Best,
Jonas
I just committed a new bundle for review, SecondLife LSL
http://macromates.com/svn/Bundles/trunk/Review/Bundles/SecondLife%20LSL.tmb…
I forget why I never shared it before. Seems pretty done. There's code
completion and everything.
There's even contextual help set to ⌃h (ctrl-h) which searches the
lsl wiki.
I think I used someone else's language bundle to start out with and
then modified it,
but I can't remember at this point, so I'll take all the credit ;)
It's been a long while since I've played with LSL. But I don't think
the language has changed much in the meantime.
Let me know if you have any issues.
—Thomas Aylott – subtleGradient—
Hi, my apologizes for asking probably the same question again.
I have loosed the Control-Escape (pop-up menu of bundles) shortcut
since Leopard and I can't even bind it again since it isn't in any
bundle nor menu, AFAIK
- Juan F.
El 18/12/2007, a las 13:00, textmate-request(a)lists.macromates.com
escribió:
> De: "Niels Kobschaetzki" <n.kobschaetzki(a)googlemail.com>
> Fecha: 18 de diciembre de 2007 12:00:28 GMT+01:00
> Para: "TextMate users" <textmate(a)lists.macromates.com>
> Asunto: Re: [TxMt] Control-Escape
> Responder a: TextMate users <textmate(a)lists.macromates.com>
>
>
> On Dec 18, 2007 10:02 AM, Juan Falgueras <jfalgueras(a)uma.es> wrote:
>>
>> Hi, my apologizes for asking probably the same question again.
>>
>> I have loosed the Control-Escape (pop-up menu of bundles) shortcut
>> since Leopard and I can't even bind it again since it isn't in any
>> bundle nor menu, AFAIK
>
> Did you switch off screen-sharing?
>
> Niels
Oooooooh!!!!! Then, must I have Screen Sharing Off all the time to
have my Bundles Pop Up menu accesible? :((
(Thanks Niels)
El 18/12/2007, a las 13:00, textmate-request(a)lists.macromates.com
escribió:
> De: Takaaki Kato <devlist(a)samuraicoder.net>
>
>
> On Dec 18, 2007, at 6:02 PM, Juan Falgueras wrote:
>
>> I have loosed the Control-Escape (pop-up menu of bundles) shortcut
>> since Leopard and I can't even bind it again since it isn't in any
>> bundle nor menu, AFAIK
>
> Did you check System Preferences > Keyboard and Mouse > Keyboard
> Shotcuts, and Control-Escape is not used?
yes, of course. Control-Escape is not used.
Hey,
I just got this message when compiling something that I used to compile
without any problem before. This causes me lots of trouble since it now
compiles with pdftex instead of latex... so my eps images don't work.
I searched on Google and I found something about the plist read and to
install Leopard... THIS IS NOT AN OPTION! I don't plan on installing
Leopard now and not before a few months.
Please tell me the fix for it. Is it possible to correct the plist file
so that it works ? I don't care if it's a temporary fix, I need my
compiler NOW.
Maxime Boissonneault
Étudiant chercheur à la maîtrise en physique
Président de l'AGLEBUS
--------------------------------------------
maxime.boissonneault(a)usherbrooke.ca
president.aglebus(a)usherbrooke.ca
(819) 821-8000 #63072 (jour)
(819) 823-1913 (soirs et fins de semaine)
It is really helpful. Thank you very much.
Wish Brad and all other guys merry christmas!
Frank
----- Original Message ----
From: Brad Miller <bonelake(a)gmail.com>
To: TextMate users <textmate(a)lists.macromates.com>
Sent: Tuesday, December 18, 2007 12:55:06 AM
Subject: Re: [TxMt] help pls! how to make comments for the current line?
Type command - /
This will comment the current or selected lines. Another command you
should learn is control-command-t This allows you to quickly and
easily search for commands that are releveant in the current textmate
scope. For example if you type control-command-t and type comment you
will see several commands related to comments including the one above.
Brad
On Dec 17, 2007, at 7:40 AM, Frank_f wrote:
>
> hi all,
>
> I am a new user and have the latest version of TextMate, using it to
> do some
> Python programming.
> I am wondering what hot-keys I can use to make and eliminate
> comments for
> the current line or for the selected lines?
> I am using TextMate with default setting. So, should I add some
> snippets or
> something else?
>
> I really appreciate if I can get any help from your guys.
>
> regards,
>
> Frank
> --
> View this message in context: http://www.nabble.com/help-pls%21-how-to-make-comments-for-the-current-line…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
______________________________________________________________________
For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
hi all,
I am a new user and have the latest version of TextMate, using it to do some
Python programming.
I am wondering what hot-keys I can use to make and eliminate comments for
the current line or for the selected lines?
I am using TextMate with default setting. So, should I add some snippets or
something else?
I really appreciate if I can get any help from your guys.
regards,
Frank
--
View this message in context: http://www.nabble.com/help-pls%21-how-to-make-comments-for-the-current-line…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I understand that "<% -%>" doesn't make a new line in output.
But what's "<%- -%>"?
According to http://wiki.rubyonrails.org/rails/pages/FAQ#other ,
> How is <%- different from <% ?
> Apparently nobody knows.
>
Would it better to use <%- ? What's the best practice?
Does anybody avoid the start tag and tweak "Toggle ERb Tags" command?
Takaaki
--
Takaaki Kato
http://samuraicoder.net
I now use Textmate for all my drafting, and when I need to share a
draft with someone I simply e-mail as plain text or export an RTF for
better printing. I'm using Multimarkdown so that I can link to
established style sheets hosted on my personal website.
I've tweaked the "Convert to RTF" command in the MMD bundle to export
to Nisus Writer Express -- I'm hoping to develop a script or command
which will automatically create an appropriate header (based on some
variable, I'm not sure yet) -- but I was having the same problem in
TextEdit.
What's that problem? Even though I've got "font-size: 12pt;"
literally littered everywhere in the CSS file (see below), I'm seeing
16pt type either on direct export or if I preview in Textmate's built-
in browser and then copy and paste out to an RTF editor.
The CSS involved is like this:
@page
{
size: auto;
margin: 1in 1.5in 1in 1.5in;
orphans: 2;
widows: 2;
}
body
{
font-family: "Gentium Basic";
orphans: 2;
widows: 2;
font-size: 12pt;
}
h1
{
letter-spacing: 2pt;
font-weight: bold;
font-variant: uppercase;
margin-top: 4em;
page-break-after: avoid;
font-size: 12pt;
}
etc.
What am I doing wrong?
Hi,
maybe this is a very old hut, but still...
I really would like to be able to open an HTML page/code as TM HTML
output window from inside of an already opened HTML output window
because I need the TextMate.system() command.
There're several ways in my mind:
1) Javascript [don't work]
window.open('adress')
2) HTML [don't work]
<a href='adress' target='_new'></a>
3) shell [don't work]
mate -html 'adress' or cat 'adress' | mate -html
4) shell + Dialog 1/2 [don't know whether this would be possible, how
can I set the URL, and does TextMate.system() work?]
Write a nib containing a single WebView object
Any advices, hints? Or is this a feature request? I only need this
simple HTML output window without any buttons etc. I believe -
technically seen - it shouldn't be a problem ( Or? )
Thanks,
--Hans
Hi,
I've happily used textmate for about 2 years now and I love it --
thank you macromates for a great tool.
Last night in the middle of a work session the font rendering of
textmate suddenly degraded. It now looks like this:
(I use QuickType mono)
http://img2.freeimagehosting.net/image.php?7d959429cb.gif
This is what it looked like before, more or less, and still looks like
in textedit (but without syntax coloring of course:
http://img2.freeimagehosting.net/image.php?42baf8bee8.gif
Has anyone encountered this issue before? What things can I try to get
back to normal?
All fonts are affected, not just QuickType mono
1. Running 10.5 on a macbook pro
2. Happened during a time machine backup. I mention this because I had
problems with ATS server and the font caches while getting Time
machine backups working, where ats would start consuming a whole core
for hours and have to be killed. This was a week ago, and that problem
seemed to go away after deleting all Cache folders, turning off
spotlight indexing & backing up of Cache folders etc.
3. I've already deleted the ATS caches & rebooted as per the wiki page
I'm in a bit of a panic -- have a lot of work to do in two projects
and doing it with my most important productivity tool crippled is a
terrifying prospect :/
(I'm sure there are going to be people who don't think the first text
is much harder to read than the second, but it is for me and the font
rendering is one of the top 5 reasons I use a mac, so this is not
intended to open that whole discussion. I just want to know how to get
back what I'm used to looking at 8 hours a day :))
Cheers,
Michael Johnston
lastobelus(a)mac.com
Hi!
I like a code folding but simce i write Python in TM - code folding doesn't
work right... Sometimes its ok but some - weird.
So just stop fold code. Its fine but... Some time ago i read one article
about Django and find some interesting idea in that article - code folding
markers for vim.
Here is a short description:
we need to add new folding rule to fold code based on that pair of markers
#{{{
def test
...
#}}}
add regexp for folding and some macros/snippets doesn't hard (i hope ;) and
we will have working solution for Python (or any other lang) right now. I
mean in 1.5+ version ;-)
Link to full story about folding in vim:
http://www.amitu.com/blog/2007/july/vim-python-code-folding-and-my-vimrc/
Any ideas? I can't do it myself yet but i hope someone will...
Alexey
I'm running Textmate build 1436. I realised earlier today that
something weird was going on - Textmate seemed to think I'd lost a $
somewhere, but no errors were coming up when I ran Typeset & View. I
tried an experiment and added in some more errors, none of which were
showing up. I then tried processing the same file in Texshop, which
found all the errors.
I wondered if this might be due to me not having the latest Latex
bundle installed. I searched for a while to find out how to update
the bundle, couldn't find anything (perhaps it updates
automatically?!) and then installed GetBundle and opted to update all
bundles. I then tried again, and found that on top of failing to show
any errors, whenever I try to pdflatex a file an error message pops
up from Skim saying "the document *.pdf could not be opened" (where
*=document name). I then tried opening the pdf file in Preview, which
said "File error. Could not open the file."
At the bottom of the typeset and view window I see the following:
Document 'prescribedlifts7.pdf' not open in application 133:228:
execution error: Skim got an error: NSReceiverEvaluationScriptError:
4 (-1728)
Any help would be appreciated!
Toby Gee
Hi all,
I've enjoyed using TextMate a great deal and don't want to use the other
Latex editors on my computer, but:
- after updating to Leopard all was okay
- I installed the latex Leopard fix and...
- TextMate doesn't find pdflatex and suggests that the path is not there or
Latex isn't installed
- I know that Latex is installed because Texshop continues to find it and
run it happily
- I've updated (via a complete re-install of Mactex) Latex, but it still
isn't found by Textmate and is by Texshop
- I've looked at the manual and see that I should update/modify the path,
but I'm not sure where to and how to update it.
Any help or suggestions greatly appreciated,
Thanks
Ben
--
Dr Ben Wooliscroft
Senior Lecturer, University of Otago
Marketing Department
Currently on sabbatical at the Wirtschaft Universität, Vienna
Postal address:
Dr Ben Wooliscroft
Marketing Scheuch 3.OG [C]
WU-Wien,
Augasse 2-6,
A-1090
Wien
Austria
I have a bunch of log files, some of which have been zipped with gzip. Is
there a way to search across these files with TextMate without unzipping all
of them first?
Thanks
Darryl
--
View this message in context: http://www.nabble.com/Gzip%27ped-text-files-in-%22Find-in-Project%22--tp142…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
sorry, I read something in the Change logs, but I didn't understand
this.
[TM 1.5.7 (1436) osx 10.4.11 ppc]
Is it true that TextMate.system(task) (in the HTML output window)
don't retrieve the entire data coming from the task?
Or in other words; is there a limit of 8kB?
If yes, is there a way to get the entire amount of data?
Many thanks in advance
--Hans
Hi,
I started using wxPython lately and am a little surprised by PyMate's
reaction to exceptions. Try this:
> #!/usr/bin/env python
> import wx
>
> def OnRaiseException(e):
> raise "See?"
>
> app = wx.PySimpleApp()
> frame = wx.Frame(None, wx.ID_ANY, "Hello World")
>
> button = wx.Button(frame, 100, "Raise Exception")
> wx.EVT_BUTTON(button, 100, OnRaiseException)
>
> frame.Show(True)
> app.MainLoop()
Only on the second button click the traceback reaches PyMate:
> Error in sys.excepthook:
> Traceback (most recent call last):
> method tm_excepthook in sitecustomize.py at line 66
> io = fdopen(error_fd, 'w')
> OSError: [Errno 9] Bad file descriptor
>
> Original exception was:
> Traceback (most recent call last):
> method OnRaiseException in test.py at line 5
> raise "See?"
> See?
Perhaps someone can tell me whether this is a bug or a feature.
Regards,
Daniel
I updated the Find Email Address in Address Book command from last year[1] to use RubyCocoa and the AddressBook framework. It seems a lot faster than using contacts or lbdb, and unlike AppleScript it works when the Address Book is closed.
I tried changing the menu to use TextMate::UI.menu, but tm_dialog just hangs... I guess there's some sort of OSX namespace conflict going on?
Haris, thanks for the offer to look at my .bib file. Through
elimination I have now established that the problem is caused by the
entry below. I don't normally add lots of custom fields, these were
automatically created when I imported the entry from a database. I
don't need any of the custom fields and deleting them solves my problem.
A question of general interest remains however.
Which of the following two holds:
- the exporting database and/or Bibdesk on import create non-standard/
invalid bibtex code,
or
- the TM latex bundle has a bug in that it hangs on valid custom
fields it should simply ignore?
In other words, who should I file a bug with?
Bilal.
@book{dfee:1998,
Author = {for Education, Department and Service, Employment;
Government Statistical},
Booktitle = {Teacher Supply and Demand Modelling : A Technical
Description},
Date-Added = {2007-12-03 20:32:33 +0000},
Date-Modified = {2007-12-03 20:33:32 +0000},
Dc.Creator = {BOPCAS team},
Dc.Creator.Address = {virginia.knight(a)bristol.ac.uk},
Dc.Date = {2007-06-02},
Dc.Date.Created = {2006-11-17},
Dc.Description = {BOPCAS record: Teacher Supply and Demand
Modelling : A Technical Description: 1998},
Dc.Format = {text/html},
Dc.Identifier = {http://www.bopcris.ac.uk/bopcas/bop1998/
ref10076.html},
Dc.Language = {en},
Dc.Publisher = {ILRT, University of Bristol},
Dc.Source = {ISBN: 0-11-271032-8},
Dc.Subject = {EDUCATION;},
Dc.Title = {Teacher Supply and Demand Modelling : A Technical
Description},
Dc.Type = {Data.Structured-Text},
Isbn = {0-11-271032-8},
Publisher = {The Stationery Office},
Series = {Departmental Publication},
Title = {Teacher Supply and Demand Modelling : A Technical
Description},
Year = {1998}}
> Can you send me your bibliography file? It seems that's were the
> function chokes.
> How large is your bibliography file?
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
Hi there,
I've just downloaded Ciaran's tmplugin+QLGenerator, and I'm very happy
with it.
If I got it right, the plugin generates a screenshot and then displays
it within QL. There's just a little downside to it:
The dimension and readability of the generated screenshots are implied
by the number of columns and rows of the documents, which sometimes
produce weird results.
I posted 2 screenshots to make it clearer. The first one is the most
significant, and the second one is to povide an example of acceptably-
readable scrrenshot.
Suggestion: Couldn't the screenshot be generated in a panel with a
fixed number of columns, and be of fixed width?
Thanks and congrats anyway, I was bored of black and white QLing my
source files!
Xavier Cambar
EDIT: And now with the files! ;-)
Hi there,
I've just downloaded Ciaran's tmplugin+QLGenerator, and I'm very happy
with it.
If I got it right, the plugin generates a screenshot and then displays
it within QL. There's just a little downside to it:
The dimension and readability of the generated screenshots are implied
by the number of columns and rows of the documents, which sometimes
produce weird results.
I posted 2 screenshots to make it clearer. The first one is the most
significant, and the second one is to povide an example of acceptably-
readable scrrenshot.
Suggestion: Couldn't the screenshot be generated in a panel with a
fixed number of columns, and be of fixed width?
Thanks and congrats anyway, I was bored of black and white QLing my
source files!
Xavier Cambar
Hi,
when I select 'Citation Based on Current Selection' I get a spinning
beach-ball. Activity Monitor shows a ruby process eating 99% CPU.
When I quit it, the following is inserted in my TM document:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:134:in `parse_bibfile':
Interrupt
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:115:in `map'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:115:in `parse_bibfile'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:250:in `cite_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:247:in `each'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:247:in `cite_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:246:in `call'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:215:in `recursive_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:214:in `each'
... 8 levels...
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:203:in `recursive_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:254:in `cite_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:63:in `get_citations'
from /tmp/temp_textmate.MQuf7X:8
I think it worked correctly at some point in the past.
Any ideas on what's going wrong here? Any help would be much
appreciated.
Bilal.
Hi all,
Apologies if this is an old query, but I've tried finding the answer in the archives and nothing seems to fit with what I need.
I have set up my blog and can post entries and edit entries just fine, but if I try and add a category (using the "tab-cat" snippet) then I get an error message:
"Received exception:Wrong type NilClass. Not allowed!
No categories are available!"
Does anyone know why this might happen with categories when I can access posts remotely?
Many thanks,
Nigel
Hi all,
I have recently been set up with Textmate at work and I want to export
all the settings I have created over time on my own version. IE, the
bundle and the themes.
I would like to know, do the "bundles" and "themes" folders in
/library contain all my customizations? I have installed a HTML bundle
a while back, but I have also added my own snippets and key commands
to this. Will this all be saved in the single bundle?
Thanks for any help.
Hi Textmate fellows,
I've always been slightly jealous of emacs' auctex
mode with previewing of images and equations in a TeX
document. I understand the issue of dealing with fancy
fonts in a source editor, but would it be possible to
create a preview of parts of the code in the form of
tooltips?
I've been thinking of that for a while, considering
the use of latex2html to generate images, or the sleek
LaTeXit freeware. These two would really slow down the
process, as they call latex and generate images.
Now I think I've just found the ultimate tool:
http://www.math.union.edu/~dpvc/jsMath/welcome.html
This is by far the best math publishing solution I've
seen on the web when it comes to including math on
html pages (MathML, although promising, is really
lacking support).
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
I searched the list and found a error with BlogMate, but I don't have it
installed. I do know that this error is local in nature. I can login
under admin and use mate from the command line. Under my account I get
this message:
2007-11-26 15:03:11.446 mate[2591:10b] Exception raised during posting
of notification. Ignored. exception: '[NOTE: this exception originated
in the server.]
*** Object does not implement or has different method signature'
invoked observer method: '*** -[OakLaunchHelper didLaunchTextMate:]'
observer: 0x121090 notification name:
'NSWorkspaceDidLaunchApplicationNotification'
I've removed the preferences.plist and removed bundles and other
possible solutions from the list but nothing.
Thanks for any help.
J
Hello,
I am relatively new to TextMate.
I am trying to figure out where the date format is defined in blogging
bundle. What I would like to do is have fetch command render the date in the
U.S. format (day/month/year).
Could someone point me in the direction of where to look.
Thanks,
Scott
Has anyone come up with a command or whatnot so that by holding down
a modifier key we can drag files from the Finder to an open document,
and have it insert the absolute path (instead of the file contents)?
Is this doable right now?
Thanks,
Eric
Hi everone.
I recently tried to make ruby folding work all through our rails
project and almost succeeded. Typical offenders are p.e. do... end
statements in one line (we just use {} now). But I have problems
with do... end blocks which directly get a method sent to:
blabla.collect do |whatever|
format(whatever)
end.join(',')
Here the folding stop working for everything that follows in the
document and in this case it's difficult to rewrite the code to make
folding work (suggestions highly appreciated). I tried to modify the
Ruby language grammar to no avail and it seems that folding should
work here:
| (^|;) \s*+ end \. .* $
Shouldn't this line within the foldingStopMarkers match? I'm
confused and would be grateful for any help.
Regards, Niko.
>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.
dear all,
all of a sudden the typeset & view window displays the message
"There was a problem reading the preferences file, continuing with
defaults"
have been working on a big projekt for hours, just editing tex files
and command-R all the time.
restart of textmate doesn't change anything. restart of the machine
is of no help either.
any ideas? or any ideas what might have caused this behavior?
christoph
Although I have used svn exclusively via the command line in the
past, I'm really enjoying the convenience of the svn bundle --
especially when working within a project. I did, however, notice one
minor problem which might be a bug. Say I have the following
(invisible) directory named .foo:
vampire-squid:~/Desktop/.foo pschumm$ svn status
? my-new-file
M foobar.tex
(note the period in the directory name, and the new file still
unknown to svn). If I open the file foobar.tex in TextMate and use
the status command from the svn bundle, the resulting output shows
only the modified file (i.e., the new file does not appear in the
output). However, if I remove the . from the directory name (i.e.,
change it from .foo to foo), then the output of the status command
shows both files (i.e., it is consistent with the output of "svn
status"). Thus, it would appear that when a period appears in the
path, new files are not shown in the status output.
This situation can arise if, say, you keep personal settings folders
(which often start with a period) under version control.
-- Phil
Hi,
I've got a question about the comments.
The normal comment cmd-/ comment's the current line / selection nice.
However when i comment a line with cmd-alt-/ (insert comment block)
while i'm standing in front of the line the output becomes
/*
*/My comments
Is it possible that the current line / (selected) lines are inside the
tag ?
Regards J.
Using the date picker results in the following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/date/format.rb:230:in /bin/bash: -c: line 0: unexpected EOF while
looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filestrftime'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/
lib/ruby/1.8/date/format.rb:201:in /bin/bash: -c: line 0: unexpected
EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filestrftime'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/
lib/ruby/1.8/date.rb:1343:in
I'm using TM Version 1.5.7 (1436) with the latest checkout from the
subversion repository on 10.5.1.
All the best, Mark