Hi,
I just uploaded the new version 0.906
Download:
http://email.eva.mpg.de/~bibiko/downloads/textmate/TMTools.tmplugin.zip
Help:
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
or
"$TMTOOLS" help me
Changes:
added: show bundleMenu
#####
Regarding to the Ctrl+Esc issue:
For all those of you who don't want to edit a keybindings.dict or to
abandon to some 'global' Ctrl+Esc events,
now you can easily create a normal TM command with
"$TMTOOLS" show bundleMenu
bound to any key-combo;
input = none;
output = show tool tip
to invoke the gear menu. Of course, Ctrl+Esc doesn't work if this
combo is used by other applications.
If there is someone who really need the Ctrl+Esc combo to open the
gear menu regardless of other applications, I believe this should
work (if you have installed QuickSilver and TMTOOLS 0.906):
1)
write a bash script with the following content:
_____________________________
#!/bin/bash
~/Library/Application\ Support/TextMate/PlugIns/TMTools.tmplugin/
Contents/Resources/tm_tools show bundleMenu
_____________________________
Note: please verify the path to tm_tools!
2)
save it as - let's say -
~/TM_show_bundleMenu.sh
Note: be sure you set the "execute bit"!
3)
open QuickSilver Trigger pane
4)
go to 'Custom Triggers'
and add a new trigger by looking for the just created bash script
name "TM_show_bundleMenu" for an item; action = "Run [...]"; and set
the target to "dummy"
5)
assign to the just created trigger the hot-key Ctrl+Esc and for
activation 'On Press'; scope to "TextMate"
6)
close the QuickSilver window
7)
try the hot-key Ctrl+Esc in TM
I tried it out, and it works, even if I have Apple Remote running.
Cheers,
--Hans
Hi,
I don't know whether this was reported before.
The following Ruby Script has a misbehaviour (please consider [1] and
[2] as markers :):
puts "Here's 1 +[1] 1: #{ 1 +[2] 1}"
If the Caret is at position [1], Apple-R runs the program inside the
ruby interpreter. If the Caret is at position [2], the default Run-
command (Build in X-Code is used).
This is because #{...} is scoped as embedded Ruby source, which is
explicitely filtered for the Run-Command. I didn't patch it, as I
don't know which way to go (changing the scope or changing the scope
selector for the command). But I hope the bundle maintainer can sort
that out in a second :).
Greetings
Skade
I'm trying to define a scope for LaTeX subscript/superscript.
The language I have defined is as follows:
{ scopeName = 'text.tex.latex.guido';
fileTypes = ( 'tex' );
patterns = (
{ name = 'sscript.math.tex';
match = '(?<!\\)(?:_|\^)\{.*\}';
},
{ include = 'text.tex.latex'; },
{ include = 'text.tex.math'; },
);
}
The above language seems to work properly in LaTeX math and LaTeX
math environnments. However, the scope is not recognised in plain TeX
math, that is in cases like $X_{as}$ shift-ctrl-P does not show the
newly defined scope in the tooltip.
I have tried different includes to no avail.
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMatehttp://www.defeasible.org
Hi everyone,
This seems to be an ever-returning-problem and it finally happens to me…
I installed Leopard on my MBP and the Ctrl-Esc shortcut does not work. Is
there any voodoo which would solve this issue ?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Ctrl-Esc-on-Leopard-tf4784439.html#a13687499
Sent from the textmate users mailing list archive at Nabble.com.
I've decided to stop fighting against the current, and move form cvs
to svn ;-) , so I'm trying to set up an svn server.
Leopard ships with svnserve and apache2 - which option should I take?
Has anyone managed to get a svn server running on Leopard yet?
R
When I invoke "Run Script (PyMate)" from the Python bundle, I get:
/Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/lib/scriptmate.rb:128:in
`initialize': Permission denied -
/Users/darylspitzer/Programming/Altera/Perforce/miscellany/infrastructure/integration/integration_status.py
(Errno::EACCES) from
/Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/lib/scriptmate.rb:128:in
`open' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/Support/lib/scriptmate.rb:128:in
`initialize' from
/Applications/TextMate/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:24:in
`new' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:24
This started happening yesterday, and then went away. Now it's back.
How do I make it go away for good?
I'm running 1.5.6 (1405).
hi there :)
if i do "mate project-dir" i can use mercurial pretty fine. but if i
do "mate framework project-dir" it says this:
abort: There is no Mercurial repository here (.hg not found)!
i've tried it having a file open and marking a directory or a file in
the tree but it doesn't matter.
does anybody know why this happens or how i can fix this?
regards,
oktay.
On 11/11/2007, at 11:00 PM, textmate-request(a)lists.macromates.com wrote:
>
> Granted svn can be a pain to set up, but is Mercurial generally
> accepted by the Open Source community? Right now, if someone wants to
> pass around a new Textmate bundle or Rails plugin, they point to an
> svn repo and the deal is done. I haven't looked into Mercurial too
> carefully, but if it's better and can be accessed by svn users
> transparently (riiiigggt :) then it could be a godsend.
>
> Any thoughts on that?
Heh,
There are a bunch of different version control systems out there
vying to the be the distributed version control system of choice. I
like DARCS and Monotone myself - there is more theory behind their
handling of the distribution/merging. Having said that, Mercurial has
a lot of momentum behind it at the moment - it is known as being fast
and easy to use.
The point above is correct though, if you want to make something
available to the unwashed masses, svn is the way to go. You have to
ask yourself if it is worth your time to set up svn, or if you're
happier using one of the other systems and telling the unwashed masses
they'll have to use it if they want your latest source...
Be well,
Will :-}
Hello,
I am working a lot with source code written using Emacs on Linux. The
prevailing convention is that tabs are presented as 8 spaces, but
indents are only 4 spaces. Indenting will insert spaces, and Emacs
seems to swap groups of 8 spaces for a tab.
If I use a tab size of 8 in Textmate, the source files display
correctly. Sadly, there is no way to tell Textmate to use an indent
size of 4.
It would be very useful is it was possible to tell TextMate to:
1. Draw tabs as 8 spaces
2. Use spaces when indenting
3. Intend with 4 spaces, not the 8 spaces from a tab
Is there any way to do this with TextMate at the moment?
I'm using TextMate 1.5.3 (1215)
--
Kind regards,
James Milne
I have the default main template "template_in.txt" and additionally
several License.txt templates. Based on a environment variable, I want
to concatenate the license with the main template, but I don't know
how
this is the default command to insert a template:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
I tried to to turn it into somethng like this:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt << License.txt > "$TM_NEW_FILE"
fi
unfortunately this doesn't work.
Anybody an idea how I can make this work ?
regards
--
Roberto Saccon
http://rsaccon.com