Hello,
I just want to ask if anybody can confirm TM taking the 564MB physical
(1.3GB VM) with this simple test:
$ otool -tv /Applications/TextMate.app/Contents/MacOS/TextMate > /tmp/
tm.s
/tmp/tm.s is ~11MB
Close TM, and run:
$ mate /tmp/tm.s
Open Activity Monitor and check TM memory usage.
It means if I open 3 such files I'm out of my RAM. This is really
nothing good. I'd accept 1:5 filesize/mem usage ratio, but 1:50 is
kind too much.
Would it be any better in TM 2.0? I hope we can try some beta soon.
Regards,
--
Adam Strzelecki |: nanoant.com :|
Hi again,
I have added process.rb to Support/lib. It has a single method,
TextMate::Process.run() that can be used to gracefully handle opening
processes and capturing their output. I would encourage everyone to
use it if you are scripting processes. Especially if you want the
process to take advantage of the interactive input features which
should be released sometime in the near future. If processes are
opened with this method, then they should benefit from any other
features that are added for dealing with processes over time.
There is a blurb in the file on how to use it. Would be interested to
hear any comments you might have on it.
Just to clarify the implication of this…
In the next release of TM on (once the bundles have been updated to
use TextMate::Process.open()) whenever a process requests input, a
dialog will be presented to the user giving them a chance to enter
input. The classic use case for this is the Subversion bundle. No more
never ending commits while svn is waiting for you to enter your
credentials.
LD.
Hi
trying to have a dynamic dict inside TM, I have build the next command
dict "$TM_CURRENT_WORD" | enscript -Whtml -E -e --color -p -
with Input: sel text or word, output html
but I only get a window with the message:
enscript: malformed argument `html' for option -W, --option: no comma
found
while the same command in Terminal do fine
dict word | enscript -Whtml -E -e --color -p -
But if you put
dict "$TM_CURRENT_WORD" | enscript --language=html -E -e --color -p -
it works perfectly! I feel curious about it.
Juan Falgueras Cano
Profesor Titular de la Universidad de Málaga
Hi,
Anyone seen Chandler McWilliams, creator of the Processing bundle?
I've a patch attached for the Run command. It basically works the way
you think it should now.
Cheers,
yong
Hi, I’m trying to use ${5:helper text} variable in my regular expression
later in the code:
${5/(e)|(.*)/(?1:\te.preventDefault\(\);\n)(?2:)/}})
What I do here? I check if $5 equals "e" and if it does, I append
".preventDefault();" to my "e". But I’d like to write something like this:
${5/($5)|(.*)/(?1:\t$5.preventDefault\(\);\n)(?2:)/}})
Which simply means I’d like users to be able to change "e" into, for example
"event".
My whole snippet, for better understanding:
bind('${1:event name}'${2:, ${3:passed object}}, function(${4:e}) {
${0:$TM_SELECTED_TEXT}
${4/(e)|(.*)/(?1:\t\/$4.preventDefault\(\);\n)(?2:)/}})
--
View this message in context: http://www.nabble.com/Snippet%E2%80%99s-%24variables-in-RegExp-tp17302873p1…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all, I've tried searching for this, and my google-fu is weak.
Does anyone know how I would be able to change the indentation behavior for
just parenthesis in Javascript?
Basically, our code convention is so that when you have multiple arguments
on new lines (for instance, passing an anonymous function as a closure), the
closing parenthesis aligns to whatever the current tabbing level is.
Currently, the curly brackets do this now, and would like to mimic the
behavior, but can't make heads or tails of doing it with the current
indentation patterns.
Here's what I would like:
var xyz = (
\t
)
Here's how it actually currently is:
var xyz = (
\t)
Here are my current indenation rules, could anyone help me get what I'm
looking for, or have I been looking in the wrong place?
{ decreaseIndentPattern =
'^(.*\*/)?\s*(\}|\))([^{]*\{)?([;,]?\s*|\.[^{]*|\s*\)[;\s]*)$';
increaseIndentPattern = '^.*(\{[^}"'']*|\([^)"'']*)$';
}
Thanks in advance all!
--
View this message in context: http://www.nabble.com/Javascript-indentation-tp16985640p16985640.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I’ve been looking through the bundle help, but I haven’t been able to
find any information about my problem.
While I am usually using pdflatex to compile my files, I’m currently
working on a project containing a little pstricks. As we’re several
people working on the file, I’fd rather avoid using %! comments in the
beginning of the file. I was thus wondering if there was some way to
set a project-wise environment variable to override the default engine.
Thank you very much,
Édouard GILBERT
edouard.gilbert(a)gmail.com
On 15-May-08, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> On May 15, 2008, at 11:00 AM, Arcana wrote:
>
>> When I open Textmate, for some reason it opens X11 as well. I don't
>> know why this happens and I can't get it to stop. The X11 icon
>> appears in the dock.
>>
>> How can I stop Textmate from loading X11? Thanks.
>>
>> -- Arcana
>> Suikoden Interactive Fiction: http://suikoden.mine.nu
>
> Do you have any plugins or special bundles installed?
>
> If so, try to remove them one by one and to revert to default bundles.
>
> <http://wiki.macromates.com/Troubleshooting/RevertToDefaultBundles>
>
> Most likely, this is caused by some plugin/bundle that uses the X11-
> Libs. This causes X11 to start automatically (on Leopard).
How do I know what plugins I have installed, if the problem is
probably not bundles?
-- Arcana
Suikoden Interactive Fiction: http://suikoden.mine.nu
Hi,
what do I have to set up in the bundle editor to achieve the following:
- Word is selected, e.g. TextMate
- use a key equivalent to get: \ind{TextMate}
That all needs to work with the LaTeX-Bundle.
Thanks
Christian