Dear all,
I'm hacking on a little project that is somewhat abusing the
'Pipe text through' feature of TextMate's Web Preview window
(''abusing'' in the sense that I do not want to preview HTML text).
If you open the Web Preview and uncheck the 'Pipe text through'
option you can observe how rapidly TextMate can update the
preview (set the 'Refresh after change delay' to 0.00s and type
away in some plain text -- the update seems almost immediate and
you'll have immediate typing response in the editor window).
Enabling 'Pipe text through' makes TextMate pipe the current
editor window contents into the specified command. Even if you
only specify 'cat >/dev/null' as that command, you will notice
that text editing will become sluggish. I assume that this
delay is all due to the overhead of *forking* the specified
command -- executing 'cat >/dev/null' itself takes no noticable
time on files of size <100k on my Powerbook G4.
I've got two questions here:
(1) Is there a smarter way to receive live updates of the
current editor window contents? Maybe via the plugin API?
(2) How about a comptabile change in 'Pipe text through's
behavior? If the file specified in 'Pipe text through' is a
named pipe (mkfifo(1)) do not fork any command but simply
write the editor window contents into that named pipe.
Otherwise, behave as before.
Item (2) sounds like a moderate change that could get us rid
of the forking overhead for at least some applications that
need live update. What are the chances that Allan has open
ears for such things?
Thanks and all the best for the New Year,
--Torsten
1-open a new TM window
2-write a line containing " \\\a" (some spaces, some slashes, smthng else)
3-move the cursor back in the middle of the spaces
4-double click
Result: the spaces AND the slashes are selected.
Am I the only one to hate this? I expect the spaces
only to be selected.
Regards,
Piero
On Jan 8, 2007, at 10:23 AM, textmate-request(a)lists.macromates.com
wrote:
> As a Textmate user on multiple Macs, I totally support the idea of
> keeping my stuff in a Subversion repository :)
>
> Makes life so much easier when syncing, and helps me fix things fast
> when I break my own stuff (something that happens quite a lot :)
>
> Just my .02
Alex,
I'm with you all the way, but as a SVN noob, I haven't been able to
figure out how to set up ssh + svn so that I could use something like
ZigVersion on my various macs. If you know of a good guide, I'd be
much obliged. (And the one that comes with SVN leaves me in the dark.)
Darkly yours,
john
I'm switching from Zends IDE to textmate and have encountered
something i would like to enable but have the foggiest how to or even
if it is possible.
In Zend if you double click a php variable, ie $variable_name; then
the whole variable word including the $ would be selected and not
just the word text. Is there anyway to code this via the bundle
editor. I haven't really got a clue about it myself.
K, so I just started using TextMate. I am not a huge coder but let me
say that this software rocks.
So I am wondering if any of you can tell me how to fix this error
that I am having with the blogging bundle?
When I fetch posts I get this error
/usr/lib/ruby/1.8/net/protocol.rb:83:in `initialize': getaddrinfo: No
address associated with nodename (SocketError)
from /usr/lib/ruby/1.8/net/protocol.rb:83:in `new'
from /usr/lib/ruby/1.8/net/protocol.rb:83:in `connect'
from /usr/lib/ruby/1.8/net/protocol.rb:82:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:55:in `timeout'
from /usr/lib/ruby/1.8/net/protocol.rb:82:in `connect'
from /usr/lib/ruby/1.8/net/protocol.rb:64:in `initialize'
from /usr/lib/ruby/1.8/net/http.rb:430:in `open'
from /usr/lib/ruby/1.8/net/http.rb:430:in `do_start'
... 8 levels...
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:546:in `popen'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:11:in `call_with_progress'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:546:in `fetch'
from /tmp/temp_textmate.vF4NMJ:3
I am using a Wordpress Blog
I am behind a linksys router. Is there some settings or something
that I should do? Not really sure. The site prompts me for my
password and I am 99% sure that I am putting in all the right settings.
thanks,
Matthew Wallace
Web Development
http://mswallace.comhttp://flashalisious.com
Office: 615-261-8149
Is it possible to re-bind Cmd+J and Shift+Cmd+J? Or are they consumed
by the menu system? I was unable to locate the appropriate command
TextMate uses for these keys.
Also, is there a complete list of commands TextMate supports for key
bindings. The default KeyBindings.dict does not list everything
(e.g., movePageUp, movePageDown).
Thanks.
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
Hi,
has someone experiences with RubyOSA – a Ruby/AppleEvent Bridge (esp.
whether it is faster than osascript running in BASH)?
http://rubyosa.rubyforge.org/
-Hans
Is there an equivalent in TextMate to C-x C-f in Emacs, where you can
specify the path and name of a file to open using the keyboard? I know
about CMD-O but that brings up the GUI File/Open dialog.
Been using TM for about 2 weeks now, I'd like to know bundles others find
useful.
Thanks
--
---------------------------------------
The Code Ninja is swift with his tool, precise in his delivery, and deadly
accurate in his execution.