Just so you know:
Today I noticed TM didn't send the file back to Fugu anymore on save.
(It can be weird when you think you saved files when, in fact, you
didn't!)
After reinstalling TM, rebooting, repairing permission, etc., I
remembered I had enabled "atomic save" earlier.
This was the problem, everything back to normal when it's unchecked.
I don't know if the problem is in Fugu or TM.
Shouldn't TM falls back to normal writes?
Anyway, here is a log entry in case it helps:
-------------
2005-02-09 03:51:15.255 TextMate[555] initWithOptions: {
auxiliaryFileInfo = {
customPath = "sftp://fatal@10.0.0.115/temp/test.txt";
fsref = <NSAppleEventDescriptor:
fsrf($FF9C80000013A3280013A3270000000000000000000000000000000000000000…
$)
2005-02-09 03:51:19.086 Fugu[528] coerceToDescriptorType typeFileURL
failed.
2005-02-09 03:51:20.822 Fugu[528] Couldn't coerce descriptor to typeFSS
--------------
I know, it's late here. Must sleep! ;)
--
Fred
The "Find in Project..." feature has been acting oddly when searching
for strings with "special" characters in them. I have the "Regular
Expression" box unchecked and the "Ignore Case" box checked.
I have a project with ~100 files in it. About 75 of those contain the
variable $ROOT_DIR. When I do a "Find in Project..." and search for
$ROOT_DIR I get three results back. I really can't figure out what is
special about the three that are returned. Is the "$" causing a
problem? I would think that if you are not using regular expressions
that all special characters would be automatically escaped.
That's my first problem. Here's the second:
I then tried "*\$ROOT_DIR*" with the regular expression box checked
just to see what would happen. I realize that this doesn't make much
sense as a regular expression. I know next to nothing about them.
TextMate proceeded to give me the spinning beach ball for about five
minutes. My system became unresponsive. TextMate eventually bombed.
I opened TextMate again and repeated the search. Same results.
Should there be error checking on the regular expression before it is
executed to prevent things like this?
Bryce
Hi all,
I couldn't help but chime in here.
As noted, Yummy FTP supports remote editing via SFTP and FTP, and supports TextMate
directly using the ODB editor suite. It will also make a transfer completion sound of your
choice.
Yummy FTP also allows additional editors to be defined other than the standard TexMate/
BBEdit/etc. Additional editors can be selected by using the Edit With option, so this might be
what you're looking for in order to edit with jEdit, for example.
We've also recently implemented the ability to specify remote editors per file name extension,
but that is only in the beta we're working on right now. This will allow you to just double-
click a file and edit it with the remote editor you have previously chosen.
Of course, Yummy FTP isn't free but $25 isn't too painful :-)
Sorry for the advertisement. I hope the information is helpful.
Best regards,
Jason
Jason Downing
----------------------------------
Yummy Software
Software so good you could eat it. Yum!
www.yummysoftware.com
----------------------------------
That is a basic Apple concept, like cmd+left/right to go to the
beginning/end of a line. Try dragging an active selection in Mail.app,
if you hold opt while dragging it copies instead of moves.
My brain can't let go of the instinct to drag text. Is there a way to
make it work?
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
What is atomic saving?
How can I tell TextMate to save as soon as it loses focus? Due to I compile
some Xcode apps inside Xcode, and use textmate to do all my editing and I
keep forgeting to hit Command-S. (unless someone has a more effient way)
Thanks :)
Paul
Hello. I'm a new TextMate user, still trying to get the hang of using
an automation heavy editor. I've run into a few questions as I'm
getting use to the program and even managed to answer most of them
myself, with a little playing around. One is still tripping me up
though, so I thought I would ask.
I have Smart Typing turned on and am trying to figure out if I like it.
Most of the time, it's fine, but there are times when I don't want the
pair, like the apostrophes in this sentence. Is there any way to get
it not the add the closing marker for a single keystroke?
Thanks.
James Edward Gray II
Allan,
Here's a suggestion that came to me this morning. How about applying
the wonderful logic in the file chooser to commands and macros? I was
thinking of it being very much like Quicksilver for TextMate commands.
I love it that the number of Bundles for TextMate is growing so
quickly! What I don't like is that there is very little structure to
the allocation of keyboard shortcuts. Its very quickly becoming
emacs-like in the number of option-command-control-foo key-combos one
must remember. I know they are all there in the menu system, but I
prefer to not use the mouse very much when I'm writing and programming.
One thing I always like about emacs, was that I could type Meta-x and
type in the the beginning of a command, hit space for auto-complete,
maybe a couple more characters, and I would have the command I was
looking for. I used this technique for a whole host of commands that I
used fairly often, but not often enough to remember the keyboard
shortcut. I think you could easily go one better by applying your
matching algorithm to macros and commands. Another thing that I liked
was that emacs was self-teaching in that it would often tell me the
keystroke needed to activate the command I just typed, so that after
seeing it a bunch of times I would just start to remember.
Brad
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp(a)jabber.org
Woah, quick response! Thanks.
I would like to be able to preview latex equations as I'm writing. I
really like writing latex, but can't wrap my mind around all the
brackets in latex equations. There is a service called "equation
service". In the text editor, you highlight the text you would like
previewed and call the equation service. It cuts the highlighted text
into the clipboard, turns it into a pdf, and then copies this into the
clipboard and pastes it into your document. The result is that you
see a typset equation rather than a mess of latex code. When it
creates the pdf, it stores the latex code you orignially typed in the
pdf. This way, equation service can be recalled on the pdf preview,
this time replacing it with the orignal latex code so you can edit it.
Under emacs this functionality is provided by an addon called
preview-latex which is brilliant (
http://preview-latex.sourceforge.net/ ). However, I'm fed up with
emacs and would like to try a cocoa based editor, as they are way more
easily applescripted.
The webpage for equation service is
http://www.esm.psu.edu/mac-tex/EquationService/
- Rob
P.S. (I may have imagined PDF Replacement Services. The equation
service home page talks of a program either supporing or not "text ->
PDF services". I have looked on apples developer site and found no
reference of this.)
Hi Allan,
I know, you probably have to do other things concerning
TM development but I have one thing which I would like to
see because it now very often annoyed me:
Opening a Folder via the Open-Menu.
It happens very often that I want so open several files at
once but the only way to do this is to mark them all in the
open-dialog via Command-A, but then I can't browse the sub-folders.
So my request is that I can fire up the open-dialog via
Command-O (like ATM) and then also can select folders
and start a new project this way.
--
Torsten Becker
(novaa on freenode)
I know this is probably on Allan's To Do list, and was mentioned not
too long ago by others, but I haven't found the actual implementation
discussed anywhere. So here goes my 2 cent worth of ideas.
I think the ideal implementation of this feature is just like the Apple
implementation in the Apple Menu's - Recent Items. The applications (=
projects) and the files (= TM single non-project files opened) are
separated as sub-menus of the menu item. Nice, clean and easy to use.
The settings for the number of items stored in each sub-menu should
then be set in the Preferences window, something along the line of what
is in System Preferences - Appearance -> Number of Recent Items:
For the past month or so I've been working with 3 projects opened at
all times. Then over the weekend I closed them down and looked through
some new code from a friend. As a result, I now have to 'go hunting'
for the .tmproj files through the Finder. I know, it doesn't stop me
from working, but this is just some basic 'spit & polish' to correct a
minor workflow problem in an otherwise fantastic app.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hello all,
I started using TextMate 1.1b4 and really like it so far. I'm just
beginning to learn about Ruby and TextMate is much better than BBEdit
with it.
I was looking around the Web for some example code, and saw on
someone's blog that they had colorized Ruby code examples with line
numbers. I emailed them to ask them how they did it, and they told me
they used Vim. They said in Vim, you open the file you want colorized
and type ":runtime! syntax/2html.vim". Vim will then split the window
with the original in the upper half and the colorized HTML version in
the bottom half. He then copies what he needs out of that and pastes
it into his blog entry. He says it will work with any language Vim
understands.
What I'm wanting to know is if there's a way to do something like this
in TextMate? Perhaps a command? I'm not familiar with the inner
workings or power toys in TextMate, so any help would be appreciated.
Thanks,
Chris
With the recent introduction of Apple's Pages software I have been
reading a slew of reviews that point out it's short-comings however
this has also prompted people to write in solutions for them. I have
discovered some very nice services (that will of course work in
Textmate as well) so I wanted to start a discussion on what services do
you use (perhaps not use do to stability issues) and can not live
without.
Here is one that I think I will be using quite often:
http://www.nisus.com/Thesaurus/
Looking forward to some new toy : )
Eric C
I have not found any documentation on how folding works. From what I
can tell it is a combination of character pairs and indentation. I'm
have great stress trying to make sense of a PHP class which I did not
write. I cannot make sense of it in BBEdit which I have always used
for code. (I stumbled on TextMate today.) TM would help greatly with
it's folding feature, if I could properly fold functions. However the
class author used inconsistant indentation (for which he should be
tortured) which is causing folds to begin with the { of a function
declaration and the } of an if clause. I have checked using BBEdit's
Text>Balance feature (which is very cool and should be added to TM) and
the {'s and }'s are properly balanced. But, since the indentation
sucks, I can't fold.
Please correct the folding behavior.
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
For those of you who have not used it, BBEdit amid all bloat actually
has a few useful features. One extremely useful feature is the
"Balance" command. It simple creates a selection that extends from the
beginning of a markup tag (ie. "<div>"), brace (ie "{"), or bracket (ie
"[") to the closing markup tag, brace, or bracket. The most important
part is that it accurately accounts for nesting. This feature seems
expendable on perfected code, but it is a life saver when you have
several nested control structures and you have forgotten a closing
brace. It is also very useful when trying to make sense of
Microsoft-proofed HTML with several nested divs and no whitespace.
The balance command can be call from the "Text" menu item, or by double
clicking an opening or closing brace, bracket or the GT/LT of a markup
tag.
Please add this simple feature.
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
I noticed that my hand automatically went to the enter key on the
numeric key pad to start renaming a file in the drawer. I have a
feeling that I could probably map that key to the function although I
am not sure how to do it. Any Ideas?
The suggestion would be do have the above as a default behavior if it
can be done.
Sincerely,
Eric C
I have arranged for an IRC channel to be set up for TextMate
discussions of any sort. I created it on freenode.net, which is usually
for open-source projects, but the requirements fit the purpose I had in
mind well enough.
A list of IRC servers for this network can be found here:
http://freenode.net/irc_servers.shtml
..and the channel is called, of course, #textmate
Hope to see some people there soon :-).
--
Sune.
:: the Cottage of Lost Play.
:: http://cyanite.org
I have been writing feature requests to the mailing list. As an
application developer and project manager I have had to read, write,
revise, and follow hundreds of functionality specs. I write my
requests with functionality spec verbiage.
Is this a proper use of this mailing list?
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
When any selection is made, the left margin should gain a "begin fold"
icon similar to the ones that appear next to the start of a foldable
chunk of code. It would differ in appearance by replacing the dark
gray color with the highlight color. Clicking this icon would fold the
entire selection into a single fold. Unfolding the chunk of code would
reselect that chunk of code only if another selection did not exist.
Please add this feature.
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
Hi to all,
I finally took 2 minutes to make the yet unreleased 0.7 version of svnX
available to you (not public yet).
You can download it here :
http://www.lachoseinteractive.net/_files/svnX0.7.zip
It has a new feature : you can invoke it from TextMate (via
AppleScript) and be presented with a window with the different
revisions of the edited file.
Here is an excerpt from the help file (Help menu).
Invoking svnX's diff window with Applescript
It allows you to use svnX's diff window from another application.
Usage :
tell application "svnX" to diff /absolute/path/to/the/file
TextMate example :
osascript -e 'set TM_FILEPATH to get system attribute "TM_FILEPATH"' -e
'tell application "svnX" to diff TM_FILEPATH'
You can also invoke FileMerge to compare the file with the pristine
copy (without displaying svnX's diff window, actually without even
opening svnX) :
/usr/local/bin/svn diff --diff-cmd
"/Applications/svnX.app/Contents/Resources/svndiff.sh" $TM_FILEPATH >
/dev/null
More info about svnX here :
http://www.lachoseinteractive.net/en/community/subversion/svnx/features/
Dominique PERETTI
http://www.lachoseinteractive.net
How can automate the process of:
piping a Markdown through markdown.pl
having it open in an external browser of my choice (preferably Opera 8
beta as it does the best job of honoring print related CSS)
grabbing the X/HTML source
putting the source into a new TM document
Is that even possible. I'm open to other suggestions about going from
Markdown to PDF.
-t
Having just tried out the new 1.1b4 version, I just have to share a few
thoughts.
1. The Search field in the File Chooser window should contain a number
of options a la Finder & Mail for how the search algorithm should work.
Although it's cool to just type 'td' to get the 'todo.txt' file, but
sometimes I want to be able to just use 'str' to find the files that
have "string" in them for example. Or doing a find on 'class.' to just
have my various classes show up as another example. There are many
more.
2. HTML Output Options. The new Bundle Editor is really cool,
especially the resizing when switching from "Show as HTML" to "Show in
separate window".
Although I assume Allan have already thought about this, I just have to
ask. Is there any chance that we could have a few options there as well
? Such as
Default Format: None - <pre> - <code> - <p> - (??) (if it's not
obvious what I mean, just let me know)
Default HTML File: 'Choose file field' / path
If we could have a default HTML file that the command output could be
replaced into. Sort of like this:
<html>
<stylesheet>
<body>
$TM_COMMAND_OUTPUT
</body>
</html>
I know that we could create files and code in our commands to do most
of this, but it won't be as elegant.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hello,
This is my first post to this list, so I hope it's ok. been using
Texmate for web site development with PHP for a while now and love it.
However, I always preview pages in Safari because of the limitations of
the included web preview. With the new html output of the latest beta I
was reminded again of it, but found the same problems.
I think the issue of it closing when you change tabs has already been
brought up, which is really annoying if you want to edit a css file,
for example. Could its behaviour be that it always stays open. If you
want to preview another page, it could then open as separate tab in the
preview window. Only the selected tab need be automatically refreshed,
but you could easily switch to your other previewed pages.
Another thing that I'm not sure if any one has mentioned is that when
you pipe it through the PHP binary, require() and include() don't work
when the files have a relative path to the script.
Any apache server env variables are also bypassed so you can't
reference 'SCRIPT_URI' etc.
I don't really want to change every script to have absolute paths, as
that becomes rather inflexible.
would be glad to hear any solutions anyone might have.
thanks, max