I have tm set up as my default editor with the following line in
~/.subversion/config:
[helpers]
editor-cmd = tm
tm and tm_wait are installed in /usr/local/bin and the path is set in
the bashrc. When I enter
svn commit .
Textmate opens up the temp file svn.commit, however when I save svn
doesn't seem to recognize the file status, still saying the file is
unchanged. What am I doing wrong here? Thanks,
Ben
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
If you have TextMate 1.1b11 installed and is coding with PHP, then
please visit [ http://www.imediatec.co.uk/tm/phpcc/ ] and help out
testing a new PHP Code Completion solution for TM.
All 3653 php functions supported with completions, snippets, tooltip
information and full PHP Online documentation inside TM.
Please note! This bundle is still in development, so please let me
know what you would like to have added, changed, etc. etc.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
So I'm trying and trying and just can't seem to get .rxml files to
open (in Version 1.1b11)... not at all! I checked the file
association and I've set it to TextMate, but it won't let me drop the
files on its icon nor click to open them from the drawer. It's very
strange.
By the way, the .rxml files are for Rails, so they're basically Ruby
code. I did eventually get ONE .rxml to open in tm (but only one!)
and it didn't take on the right formatting, so maybe the program
isn't aware of them at all? Just kinda weird.
Any ideas on how to get these files to open?
Best,
Raymond
--
Raymond Brigleb, Needmore Designs
Website http://needmoredesigns.com/
Email ray(a)needmoredesigns.com
Phone 503.490.4595
Hi, I'm an avid user of the PHP-Smarty bundle that was included in
Textmate 1.0 and is one of the main reasons I'm using TextMate. This
bundle worked fine in the 1.1 betas until beta5 when the new "theme"
system was introduced.
As such I was wondering how much trouble it would be to convert this
bundle to the new system and if there's a guide of some sort. If given
permission from the original author I could probably add it to the
bundle repository as well if I get it working.
Regards, Joakim Bodin
--
Joakim Bodin <joakim.bodin(a)gmail.com>
http://www.ripley.se
"That's what comes with yellow cross on blue."
Still experimenting with the new theme system, I came across this
problem in the default PHP bundle : I want to hilight "->" operator,
like in :
$smarty->template_dir
Tried to add my own, no success (the ctrl-shift T tooltip says the
scope is source.php).
Then I realized the right syntax existed in the Bundle :
<dict>
<key>match</key>
<string>(::|->)|\b(abstract|cl(ass|one)|extends|function|i
(mplements|nterface)|new|parent|self|__(autoload|c(all|lone|onstruct)|
destruct|get|s(et|leep)|toString|wakeup))\b</string>
<key>name</key>
<string>keyword.construct.php</string>
</dict>
(note the -> )
It seems correct, but it turns out that "->" is not matched in the
string "$smarty->template" but it is when it's surrounded by spaces :
"$smarty -> template".
Am I wrong to say it looks like a parsing bug ?
Dominique.
Hi to all,
I'm finally moving to TextMate ß11 and I'm experimenting with some
personal customization.
I like to keep variables black and make language related very
contrasted with blue and red colors, ... including "equal" variable
affectation symbol, like in :
$a = 2;
Question : what scope the "equal" symbol should belong to ?
Same question with the "->" symbol like in: $this->property .
Thanks.
Dominique PERETTI
http://www.lachoseinteractive.net/
SvnX, a GUI for svn on Mac OS X (http://www.lachoseinteractive.net/en/
community/subversion/svnx)
Hi all,
I gave TextMate a try, I absolutely love it's feel. I'd definetly buy
it, if only it would support more text encodings besides Unicode and
iso-latin-1. Specifically, as a hungarian I'd need iso-latin-2
(iso-8859-2), but I assume there other people from other parts of the
world with similar concerns, needing different encodings.
I think SubEthaEdit solves this right, with an editable encodings list,
and an option to either convert the current text to the new encoding,
or "reopen" the text with a new encoding.
I'd be glad to help out with testing or coding or whatever to make this
work.
cheers,
Zoltan Varady
I tried dragging an image into the release notes (after setting the
theme to Markdown>Markdown) and got a bunch of binary data. Is this a
bug or did I not misunderstand the release notes? ;
Something that has been driving me crazy is that only when I am on an
XHTML page I could use XHTML snippet and only when I am on Rails
pages can I use Rails snippets. I should be able to use Rails
snippets in XHTML pages.
How can I got about doing that?
I was wondering if anyone had got the built-in HTML drag commands for
<img> and <css> to work in Textmate 1b5?
Currently if I drag a html or PDF file from the project window into a
HTML file I'm working on it will create a <a href=""> link, but if I
drag an image file or css file onto the HTML file, Textmate will insert
the raw source of the dragged file.
Any ideas where I am going wrong? I am using the following drag
commands (built-in):
<img>
File Types: png, PNG, jpeg, JPEG, jpg, JPG, gif, GIF
Commands: img=$TM_DROPPED_FILE alt=`echo $img | perl -pe
's/^(.*\/)?(.*?)(\..*)?$/$2/g' | tr '_-' ' '` sips -g pixelWidth -g
pixelHeight $img | awk '/pixelWidth/ { w=$2 } /pixelHeight/ { h=$2 }
END { printf("<img src=\"'"$img"'\" width=\"%d\" height=\"%d\"
alt=\"${0:'"$alt"'}\" />", w, h) }'
<css>
File Types: css
echo "<link href=\"$TM_DROPPED_FILE\" rel=\"stylesheet\"
type=\"text/css\" />"
Apologies if this has already been covered.
Mike
On running command "Markdown Preview" I get the following error:
/bin/bash: line 1: /lib/html.sh: No such file or directory /bin/bash:
line 20: htmlHeader: command not found
/bin/bash: line 22: /bin/Markdown.pl: No such file or directory
/bin/bash: line 24: htmlFooter: command not found
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi,
Would it be possible to have included files in code-completion
settings in the theme editor.
I'm thinking of making property-specific completions for the css
syntax, and it would be helpful if frequently used sets of keywords
could be included as often as necessary to avoid it being really
massive. (things like colours, units, top left right etc.)
Also, on a similar note, would it be possible to block general
completions for a specific scope, ie. have a property such as
"use_general_comps" which could be set to 0. I find that pressing
escape often brings up options that shouldn't be present in the
particular scope, but are in other parts of the document.
eg:
.blah {
font-color: black;
}
#foo {
display: b<esc>
}
Pressing escape after "display: b" would offer "block", as part of
the 'display' property's completions, but would not suggest "blah"
from the class of the other selector, or even "black" from the font-
color's value. In a big file you can end up going through loads of
unnecessary stuff when one press is all that's necessary. (I know i
could type "blo" and then esc, but that's more typing).
In my opinion, for the way I work, this would be a very fast system
of coding.
Thanks,
Max
This is a lazy request.
Hoping towards moving more of my information into text files, I would
like a way of directly launching resources from URLs in a text file.
Imagine that I copy a bit of email that includes a web URL or a mailto
link to an inbox.txt file. When I go through inbox.txt, I would like
to just hit a key combination when the cursor is on the URL and have
it send to my browser or my mail program.
emacs-wiki/planner does this well (it even highlights clickable URLs).
Outside TextMate, one can also use ICeCoffEE
(http://web.sabi.net/nriley/software/), but that doesn't work in
TextMate.
So, how hard would it be for someone to write a command thingy to make
such functionality available in TextMate? I suppose one would have to
identify the beginning and end of the URL that the cursor is on and
send it to the system's "open" command. I don't have the time to
investigate this myself.
-- Kai (http://semantics-online.org/geek)
It's been a while, but I've finally got some free time to improve the
Markdown bundle. I see brad and duff have done most of the hard work
of getting the bundle to work with the new syntax selection (thanks
guys!), so what I'm looking for is requests for further improvement.
What are you guys using it for? What snippets, commands, etc would be useful?
I'm also going to put some time into improving the regular expressions
(esp. with the new regexp toolkit) and hopefully will be able to do a
better job of matching some of markdown's more complicated structures
(eg. lists and code blocks).
Hadley
hi there,
I use tm as editor for subversion commits from the commandline (as
opposed to from within TextMate) and as of lately, the messages I
edit in tm somehow aren't saved for the svn command... after saving
and closing the document window svn prints:
tomster@Burroughs# svn ci
Log message unchanged or not specified
a)bort, c)ontinue, e)dit
any idas?
thanks,
tom
--
Tom Lazar
http://tomster.org
In the HMTL bundle, and in the XHTML bundle as well, there are snippets
like this:
<h1>${1:`echo $TM_SELECTED_TEXT`}$0</h1>
activated via a tab trigger, "h1" in this case. I am completely missing
the point here. Why is the echo command there? How can there possibly
be a selected text when activating through a tab trigger?
The way it is right now, if I type h1, press tab, type my heading, and
press tab again, the heading is selected. Was that the intended
behavior? If so, could someone give me an example of how this is
usefull? I haven't played much with html, so I might just be missing
something obvious here.
If this is not the intended behavior, should we change all those
snippets to simply <h1>${1:heading}</h1>$0, or <h1>$0</h1> ? Are these
snippets redundant in the presence of Ctrl-space, and if so would it
make sense to have them have a slightly richer outcome, like <h1
class"$1">... ?
Ok, enough questions for now,
Haris
Folder exclude patterns stopped working in beta9 for me.
!(.*/\.[^/]*|\_darcs|vendor\/rails|CVS|~\.nib|\.(framework|app|pbproj|pbxproj|xcode|bundle))$
but both
_darcs and vendor/rails show up and are included with command-t
--
Tobi
http://www.snowdevil.ca - Snowboards that don't suck
http://www.hieraki.org - Open source book authoring
http://blog.leetsoft.com - Technical weblog
Hi,
I've just upgraded to b9. In project mode (otherwise it does not
occur) if I type a ~ or ´ TextMate offers to delete the file with
the "Would you like to move the selected files to the Trash?" dialog
box.
I did an update svn checkout, trashed TextMate preferences, and tried
in two different machines (running Tiger). I had to go back to b8.
Any hints?
Regards,
Rui
Whenever a LaTeX document has sectioning commands, I get the following
in the console:
TextMate regex error: undefined group option
pattern: \{[^{}\n]*(?R)?[^{}\n]*\}
Don't know if it's the expected behavior or not, thought I'd report it.
( I also get various messages of the form "TextMate debug: $1 bits
used" upon exit, where $1 is a number depending on what bundles have
been loaded, but somehow I don't feel that worried about that. )
Haris
So I wanted to open souce in Safari in TextMate even after javascript html
injection, if any one is interested you can add this to the scripts menu, I
pipe it through tidy though one wouldn't need to.
sam d
--start
tell application "Safari" to do JavaScript "document.body.outerHTML;" in
first document
set s to the result
set filename to random number from 1 to 10000
set the temp_file to ((path to the temporary items folder) as string) &
filename & ".html"
open for access temp_file with write permission
write s to (temp_file as alias) as string
close temp_file
set f to POSIX path of temp_file
do shell script "tidy -i '" & f & "' '" & f & "'| ~/bin/tm -a"
--end
Suppose you have two snippets, like:
\\begin{${1:name}}
$2
\\end{${1:name}}
and
\\emph{${1:emphasized text...}}
and suppose we want to insert the second snippet while editing $2 of
the first snippet. Then the snippet will not expand. On the other hand,
working only with the first snippet, once we are done editing $2 and
press tab, we will conveniently move out of the snippet.
One the other hand, we could have the first snippet as:
\\begin{${1:name}}
$0
\\end{${1:name}}
This has the advantage that the second snippet will work while editing
$0, but the disadvantage that tabbing will no longer take us out of the
first snippet.
Questions:
1) Is there a workaround to make both things possible?
2) More generally is it possible, or planned in the future, to support
activating a new snippet while in the process of completing another
snippet?
3) If there is no workaround, do people have a preference on which of
the two situations is more useful?
thanks,
Haris
Hi,
I'm setting up my environment on Tiger from scratch and TM is giving
me lip with the "Pipe text through" in the Web Preview. Markdown.pl
lives in:
~/usr/local/bin/Markdown.pl
which i what I've placed in the Pipe through field. Permissions on
the script are correct: chmod +x /usr/local/bin/markdown.pl
TM tells me: "/bin/bash: line 1: /Users/tim/usr/local/bin/
Markdown.pl: No such file or directory"
by .bash_profile has: export PATH=$PATH:/usr/local/bin:/usr/local/
php5/bin:/usr/sbin
in it. Any ideas. I probably missing something really basic.
Thanks,
-t
On 20 mai 05, at 03:53, Allan Odgaard wrote:
> this is one of the reasons I keep these betas as unofficial,
> beacause these things are more work in progress than usual!
I just wonder if it's a good thing to have Beta 9 as the "official"
download on MacUpdate with no explanation at all...
Maybe it is just me and not the software. These are the problems
that I am encountering. I am running latest version that came out
yesterday and I checked out bundles.
1) Tab completion is not working for me any longer. I am coding a
index.rhtml file and typing h1 followed by a tab and it does not
complete the tag. This is the case for everything that uses a tab.
Non-tab auto completes work.
2) my html comments is making for some ugly code in-between the begin
and end comment tag. It was fixed in an earlier version.
3) color coding in my .css files is inexistent
Can someone shed some light on the subject. I find this very
annoying and slowing down my productivity.
Thanks :-)
I removed all files in Applicaiton Support/TextMate and performed a
checkout. XML still does not work. It's styled by some other theme,
but not the XML theme. If it were the XML theme, namespaces would be
a different color than the tag itself. I can assert this by trying to
customize the XML theme but having no changes take place. My XML
files are styled according to the SimpleTheme, and unstyled if i
uncheck the SimpleTheme.
Todd
I am using 1.1b8 and the Python bundle is not showing up in the view
language selection menu, accordingly no syntax highlighting when
opening python files. I have the complete set of bundles from svn,
Python is there in the bundles folder. Any ideas. This was not
working in b7 too.
Hiya,
Is there any way to have a tabbed interface without having to create
a new project? The practical use is for people that use an external
ftp client. Since ftp is not built into TM, we have to open each
document independently with an ftp client. It gets really messy when
working on a big project!
Justin
hullo. it seem the ruby syntax parser has issues with the legal
"#{("and" + " like '%#{@mimetype}%'") unless @mimetype.nil?}"
I've used "#{("and" + " like '%" + @mimetype +"%'") unless @mimetype.nil?}"
instead. but thought i would pass along this bit.
--
this morning i breathed down a hill,
last night i breathed into the sound of warm blankets
today i tango to El Cholulo
TextMate Version 1.1b5
Hello
I would like to know if it is possible to print with colors (like
syntaxe) and if i can choose the size of the font for the impression
(the size in the prefs...) .
Thanks
Alain Matthes
Hi.
I'm using TextMate v1.1b8 (2005-05-07) on Tiger.
I just spent 30 mins or so customising my themes with the built in
theme editor, and since it was running very slowly I quit and
restarted TM, only to discover none of my changes had 'stuck'.
Is there something I'm missing? Is persistence of these changes not
yet implemented, or do i have a bug on m hands?
cheers
D
I'm probably daft and just not finding it, but what I cannot find is a
way to navigate inside of a columnar selection. There are several
situations in which I want to make a change in the middle of a column
selection, instead of the edge, or even more likely more than one
change in said selection. Simple arrow movement certainly isn't the
way as that undoes the selection. What is the obvious thing that I'm
missing?
Regards,
Robert
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I downloaded the following css file:
http://www.opengroup.org/onlinepubs/009695399/utilities/style.css
and tried opening it with TextMate (b8), and both times I got a
spinning ball and had to force quite TM. It first appeared to load
fine, and then started coloring the file. One second later, it was not
responding any more. Any ideas what the problem might be?
Haris
A small bug(?) with bundles:
When you make changes to a bundle, a local copy is created in your
own library. That changes the TM_BUNDLE_PATH variable, which is used
by some commands to access scripts. Since these aren't copied along,
those commands stop working.
--
Sune.
Hello:)
Sorry for my bad english. I hope that you can understand my question.
I've some difficulties to use pdftricks with TextMate and TeXniscope
Example : graphe.tex
\documentclass[a4paper,10pt]{article}
\usepackage{ifpdf}
\ifpdf
\usepackage{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\usepackage{pstricks-add}
\usepackage{pst-plot}
\end{psinputs}
\else
\usepackage{pstricks}
\usepackage{pstricks-add}
\usepackage{pst-plot}
\fi
\begin{document}
\begin{pdfdisplay}
\[\psset{xunit=0.75,yunit=0.75}
\begin{pspicture}(-2,-2)(8,2)
\psset{griddots=0,gridlabels=10pt,subgriddiv=5}
\psset{shortput=nab,nodesep=3pt,arrows=->,labelsep=3pt}
\cnodeput(1,0){A}{A}
\cnodeput(5,0){B}{B}
\nccircle[angleA=90]{A}{0.6cm}_{0,75}
\ncarc[arcangle=40]{A}{B}^{0,25}
\ncarc[arcangle=40]{B}{A}^{0,5}
\nccircle[angleA=-90]{B}{0.6cm}_{0,5}
\end{pspicture}\]
\end{pdfdisplay}
\end{document}
i've no problem with Texshop but with TextMate...
In Command Output i've :
1: latex : command not found
and in the log
sh: line 1: latex: command not found
rm: graphe-fig1.aux: No such file or directory
rm: graphe-fig1.dvi: No such file or directory
rm: graphe-fig1.log: No such file or directory
rm: graphe-fig1.eps: No such file or directory
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) \write18
enabled. etc...
Thanks Alain Matthes
Hey,
I'm running TM 1.1b8 on a 400Mhz iMac DV/SE with 512MB of ram
(running Tiger). Text rendering seems to be very slow... to the point
where it really isn't usable. It's most noticeable when you're
scrolling, or when you first open a document. It's slowest when
syntax highlighting is on... otherwise it's not so bad.
The iMac does perfectly fine in other text editors, web browsers, and
such.
Anyways, I just figured I'd get the word out, just in case nobody's
noticed :)
Justin
Hi all,
I have a bizarre problem with the fonts in the recent betas. | have
attached a capture
of 1.1b5 (the grey background) and 1.1b8 (the white background) that
shows for
the same settings and font, the difference between these two
versions. In 1.1b8 the font appears to be strongly smoothed.
Does anyone have any idea why this is happening?
I am running 10.4
Thanks,
Georgos
Hello all;
I'm new to the list; I just wanted to say thank you to Rob for adding
the actionscript bundle funcitonality to textmate; there's a real
need for it since flash mx 2004 lacks an external script editor.
--
-Nicklaus Deyring
Designer
ndeyring(a)dmna.com
(650)614-0730 - work
(650)773-7932 - cell
I know that you're working on b9 or something already, but until
bundles are fixed (sorry, I got burned on b6 so now I'm waiting until
it's a one-click download for everything...)... anyway, I found what
appears to be a pretty nasty bug.
Picture this: I have two projects and one happens to contain the files
of the other project like so:
Project 1: project1.tmproj contains /project1/*
Project 2: project2.tmproj contains /project1/files/project2/*
Now if I open up both projects simultaneously, makes changes in
Project 2 and then switch to Project 1, my Undo command will undo the
changes that I made in Project 2!
So say I edit /project1/files/project2/test.html in Project 2 and then
switch to Project 1, hitting cmd-z will undo the changes I made in
Project 2!
This is bad, yes? Any thoughts?
Chris
Just out of curiosity, I fail to understand, why do the LaTeX bundle
snippet tab triggers almost all start with a capital letter? I really
frustrates me, because I always forget to capitalize the first letter,
and each time I wonder why they are this way. Of course I can redefine
them, and probably will do so real soon, just wondering if anyone can
shed some light into the original -to my eyes not so clear- choice of
tab trigger.
Also, is anyone planning to implement more snippets for LaTeX?
Would there be interest in some, and if so, which?
Haris
I'm currently using TextMate v1.1b8. Here are my suggestions:
o In the project list, i would like folders to appear above files
o The project list should react in the same way as the finder. i.e.
when i click, then wait a second, then click again, i should be able
to rename a file.
o double clicking a file in the project list should open it in a tab,
not single click.
o TextMate should remember the horizontal scroll position when
navigating between tabs (VERY ANNOYING)
o The line numbers/gutter should always be visible and not scroll
when horizontally scrolling.
o Soft wrap should not default to on after setting it no off.
And here's some things that I love:
o The progress that's been made in such a short amount of time
o The steady flow of betas
o The community surrounding TextMate
o The work that's being done to the syntax highlighting
Thanks Allan & others.
Todd
When I try to use the TM command line tool, I get the following error:
RegisterProcess failed (error = -50)
Abort trap
I've tried deleting the launch services cache (as detailed in the
release notes) but that doesn't seem to make any difference. Using
the growlnotify command line tool gives me the same error, so I wonder
if there's something wrong at my end.
Any help would be much appreicated,
Hadley
Hi,
I'm a bit of a security freak and would like to know when I'm editing
files and exercising my administrative rights when saving them.
TextMate uses the normal channels to gain permission to do that, but the
thing is that it caches this authorization because that's the way OS X
authorization is configured.
Now I don't want to change that, but I do want to change TM's behavior
and this is possible.
Add the following bit into the file /etc/authorization:
<key>com.macromates.textmate.openfile.readwritecreate.</key>
<dict>
<key>class</key>
<string>user</string>
<key>comment</key>
<string>require the user to allow TextMate to save a file as
admin</string>
<key>group</key>
<string>admin</string>
<key>shared</key>
<false/>
<key>timeout</key>
<integer>0</integer>
</dict>
It must be inside the:
</string>
<key>rights</key>
<dict>
dictionary. I placed it below the default rule's ending </dict> tag.
It means that from the moment you saved that file, all authorized saves
ask you for your password, without any caching.
Jeroen.
--
<http://www.je-ju.net/~jeroen/blog/>
hi there,
I'd like some advice on how to best change the default language
for .txt to markdown (90% of my plaintext is in markdown and i find
that in the other 10% the markdown language doesn't break anything
really, either - try it out on TextMate's README, for example...)
at the same time i like to stay current with the svn repository, so
simply making a copy of the markdown bundle in ~/Application Support/
TextMate/ wouldn't be viable either.
any suggestions?
best regards,
tom
btw. b8 looks really good! methinks it should be announced on
versiontracker and such places!
--
Tom Lazar
http://tomster.org