Hi all,
This may have been mentioned before somewhere, but before you tell me
to RTFM or look at the Wiki let me say that: I have, and I couldn't
find what i was looking for. So, here goes....
In his Ruby on Rails demonstration video clip, David Heinemeier Hansson
launches TextMate into a kind of "new project" mode automatically by
typing "e /folder/path" in the terminal. Genius ! But... how do I do
this ? Is this a feature of TextMate available to the application
itself ? For clarification of what I'm rambling on about, the Quicktime
clip is here: http://media.nextangle.com/rails/rails_setup.mov ( 2mins
18 seconds in ).
I wanted to ask this question here so others could benefit from the
answer before I go pester David for the answer !
Thanks in advance,
Paul Burgess.
I was selecting text using the shift/option/arrow keys today and at some
point my selection turned rectangular! However to my dismay I'm unable
to figure out what I did that allowed me to switch over. What's the secret?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
This is an issue I encountered using the built in syntax definition for
Python - I don't like antialiasing so I have it switched off, unfortunately
the Python syntax uses italic format in comments, which looks appalling
without AA. I don't really want to switch AA on as that affects every
language, and I don't want to have to edit the Python bundle to remove the
italics. Is there a proposed solution to this? Would the style sheet
approach to syntax files help?
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
One of the few things that I had in vim that I don't in tm, and that I
miss, is a code beautifier. I would like one for Ruby. Does anyone
have some solution for this (like a command or something)? It would be
nice to be able to configure it too, like number of spaces for indents,
stuff like that. Undoubtedly, some Ruby guru has probably written a
Ruby beautifier in Ruby : )
--
Best regards,
Lang Riley
TM 1.1b5
I'm trying to create a project containing the .files from my home
directory (.profile, .bashrc, &c.). When I explicitly add a .file to
the project, either by dragging a proxy icon from an existing TM
document, using the "tm" command line program (with multiple files), or
using "add existing files..." from the project drawer, the files just
disappear from the project. There used to be a per-project file/folder
pattern setting accessible from the info window, but that's gone, with
only the ability to edit per-project variables.
Am I doing something wrong, or is this a bug?
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
I'm happy to see there's some kind of interest in my PHP bundle. I'm
still working on it so please contact me at [ cubiq at cubiq.org ] if
you have any suggestions. In the repository under the PHP.tmbundle
you'll also find a README file with some info and revision history.
The bundle contains about 3000 php functions, deprecated and
experimental ones have been stripped out for better performances, in
the README file you'll find excluded functions.
@Mats Persson: please contact me if you have any suggestions.
Best regards,
Matt
I'm wondering what's up with the website. It hasn't loaded for me for
well over a week.
I receive the following message when I go:
Precondition Failed
The precondition on the request for the URL / evaluated to false
OK, I was finally spurred into making my reworked PHP bundle available
for others to use and found that Matteo Spinelli is working on the
official PHP bundle. So Matteo, please get in touch to see what we can
work together on.
Allan, if Matteo is not here could you let me know his email ??
Secondly, I too like to get access to the svn for some other bundles
I've got.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I think that might have been a little harsh. What I mean is this: The
web preview works awesome for real time viewing of html code. I am
amazed. Really. But, I don't know anyone who write HTML anymore.
Sometimes to make a Smarty Template, I'll write HTML and then retrofit
it, but usually not. The web preview needs to be able to read from a
valid URI, like http://127.0.0.1/projects/clientX/index.php
I would at least like to find a solution to get Safari and/or Firefox
to refresh on save. But I think the built in tool using webkit would
be coolest. Has anyone figured this out?
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
Hi
Im wanting to use the PHP bundle in textmate... but I was wondering how
i actually add it? I found the bundle i want:
http://macromates.com/svn/Bundles/trunk/PHP.tmbundle/
And Ive just found the bundle editor :) Never used it before (bundle
editor)...
So im wondering how I go about adding it to my textmate? I have looked
in the wiki but havent found an answer...
Thanks
Eoghan
Hi,
Just wondering how to download complete bundles from the repository. I can
navigate around the trunk in safari and display all the individual files,
but how do you get a complete bundle?
Sorry if I am missing something, but couldn't there be zipped versions
available?
Max
I've been working on an SQL syntax plist with some more keywords but I
can't see a way to pass in a "case insensitive" flag to the regex
matches. I've reverted to something ugly like this :
match="\\b(sum|SUM|count|COUNT)\\b" ... etc
any suggestions?
thx, K
Hi
Would it be possible in future versions for braces to be outlined, like:
{
}
if i select/go to the closing brace the opening brace row would be
outlined indicating its the opening one to me. Would also work for ()
and markup.
Thanks
Eoghan
After the small features request, here is a big one ;)
I'm sure we talked about it here, but I don't remember if this is
planned or not.
Actually, I use TextMate for everything text-related except one thing:
comparing two document(Diff).
Unfortunately I need this feature a lot. For me, this is "The Last Big
Thing" that TM misses.
The best solution I found so far is to have a command launching
TextWrangler to compare the active one and one I have to choose(w/Cocoa
Dialog).
1) The way to launch this is a bit clumsy. (Having to navigate thru an
"open" dialog)
2) Having TextWrangler opened just for that sucks a bit.
3) Having to edit the files in TW really sucks. I miss all the TM
goodness and It makes me feels I'm back in time. ;)
(And worst of all, I use TM shortcuts all the time and wonder why my
commands, snippets, etc. don't work 8-| )
4) This doesn't work with remote files, or I have to open them in TW.
Meaning changing the prefs of my SFTP client.
What I like in the "Compare two front documents" feature of TW:
-The full screen is shared by the two docs with the Differences window
under.
-You can navigate easily thru the diffs.
-Closing the Differences window brings the docs back where they were.
-It exists. ;)
You can even check differences of folders and batch files.
So, my question is:
Do you plan to implement this in TM, Allan?
If the answer is yes, any idea when we might expect this?
Meanwhile, does anybody have a better solution?
--
Thanks
I've found myself using TM for almost every single thing that I write,
so sometimes I like to be able to create a new TM document in the
current Finder window.
Had a look at trying to create a Contextual Menu plug-in, but it looked
too complicated, so does anyone have a suggestion for how to do this ??
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hi Mats,
I have already got skEdit and really like its implementation of the file
chooser thing I was proposing, its pretty much what I was trying to
emulate
in TM ;). However I have to agree that although it is a very good
editor it
can't match TM's flexibility, and I thought Texmate could offer the
best of
both.
I have put together a command that outputs filenames matching the first
few
letters but need a way of selecting options when there are multiple
results.
We'll have to wait for commands to output to a contextual menu to fully
realise some of the potential of these ideas, but when it is supported I
think there will be a lot of great tools available to us.
Max
> OK, not wishing to detract, offend or anything else here other than
> being helpfull. Max, you can find a really nice implementation of this
> type of functionality is in skEdit when dealing with <img> or <a>
> tags. skEdit is $20 and beats both DW & BBEdit, but struggles a bit to
> compare with TM in some areas :)
I know that could be achieved as a macro but I'd like to see a key to
exchange the character under the cursor and the next one, à la ^T under
emacs.
Thanks,
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004
Maybe it would be a bit harder than I thought to make it backwards
compatible. Keep thinking about it though.
The reason I asked for it in the first place is that I was making a script
to insert filenames into textmate, a bit like pressing tab in terminal.
Sometimes I would get more than one result, and I wanted those to appear in
a list. Now I've been thinking about it though, it might be a nice thing to
have this behaviour built into Textmate.
An example would be that if you typed in an html document: "href='i" and
then pressed tab, you could invoke a menu which showed files matching 'i.*'.
It could even be multi-dimensional as in my included mock-up.
Thamks
Max
I hadn't really thought of the possibilities for the contextual menu, I
really thought of it for choosing a list of snippets to insert after a
selection. If it could run commands as well, that would be very cool.
XML sounds like a good way of generating the list, I don't use it that much,
but couldn't each 'menu item' have 'input', 'output' and 'action' children
to define what it should do?
Would it be possible for you to make a menu that just had a list of snippets
at the moment, which could be further expanded in the future? I look forward
to any progress in this regard.
Keep up the great work,
Max
Would it be possible to make a command output option that displays as a
menu. It would be like the current behaviour of commands, snippets etc that
have the same key command.
You could then have commands like 'ls $TM_FILEPATH', and choose from the
list.
Max Williams
Howdy;
I like many of ya'll switched from BBedit to textMate, and love it, I
can really use some help getting 'SmartyPants' and Markdown runnning (I
got HTML Tidy going) how exactly do I get a PERL script running?
any help would be hugely appreciated..
--
s. rosenbaum
----------------------------------------------
http://www.visualchutzpah.comhttp://www.saulrosenbaum.com
----------------------------------------------
Greetings,
I'd really like to be able to scroll past the last typed line in my
file (without adding more blank lines), a la VI…Is there already a way
to do this?
Regards,
David Wooten
I'm looking for a way to have the commands the Subversion bundle
execute without me having to edit them to include the full path for
svn.
I initially thought that adding the following line to /etc/bashrc would
do the trick
alias svn=/usr/local/bin/svn
unfortunately it didn't work. Would someone kindly point me in the
right direction?
Thanks,
Simon
I am using hyperref in a latex document which works great in TextMate,
especially with the HTML output. What is really nice is the ability to
check that the links are "hot". However once I follow a link i have not
been able to find a "Back" command so i can check the next link. Am I
missing it? If not, could we have one?
Thanks
Robert
Hi!
Would it be possible to show the full path of a file somewhere, for
example in the title bar? Currently it's not easy to keep apart two
files with the same name but different locations.
Regards,
Lars
--
"Stil ist die Fähigkeit, komplizierte Dinge einfach zu sagen - nicht
umgekehrt." -- Cocteau, Jean
Any instance of single-quote-double-quote-single-quote (as in the
character representation of double-quote) will break the string parsing
engine.
Example:
while(expr.charAt(j) != '"' && expr.charAt(j) != "'" && j<expr.length){
// code
}
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hello,
Is there a way of opening files I load via Transmit into a new tab?
If I download a file now each one opens in a new window.
Many thanks,
Richard
I've kinda grown accustomed to pressing Shift + Delete to delete to
the right of cursor. Any chance of this being added to Textmate? Is
it something I can add myself?
Thanks,
Vick
Allan Odgaard wrote:
> Two? In the bundle editor?
> My TextMate only has one. If you have a local bundle it should merge
> these based on the uuid found in the info.plist file contained in the
> bundle.
I think it's because I changed the PDFLatex command, as per Sune's
instructions. So I have LaTeX, the standard bundle, and Latex, with
just my altered command (different UUIDs).
Would that cause it?
I don't use many of the languages TM supports, so in the bundle editor
I have them filtered out. However, in the "Syntax Highlight as..."
menu, it still lists them all (past the edge of my small screen).
Please could this be changed to match the bundle editor so I can, in
effect, ignore the bundles I don't use, whilst still having them on
disk. Or is there a better way of doing this?
Thanks.
Does the file register only accept paths with ":" as a delimeter? I'm
putting together an Actionscript "Test Movie" command for an MTASC
Bundle, and the file paths aren't working for it. I suspect this might
be the problem. Any ideas?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
The new text zoom feature is great, except that zooming in is literally
bound to Command+`+` (that's command and the plus key). On PowerBooks
and iBooks, `+` requires an extra modifier (shift), whereas `-`
doesn't. Ideally, both would be consistent with one another.
Could zooming in be bound to Command-= (as well as Command-+)? From my
quick tests, Safari and Proteus similarly support both, but Mail,
Terminal and TextEdit don't (go figure).
Any opinions on this?
Rich Barton
Thanks for your support, Eric and Chris ( I think... ;-) )
As Eric said, we're working on new things for Yummy right now. Things that Transmit doesn't
have and things that Transmit does have. Of the latter, DockSend is one of the simplest to
add and will be in the next update. Tabs will take a bit more work, but they will come and in
the meantime Yummy will have stuff they don't. And we won't be charging $18 to
upgrade.. ever.
Cheers,
Jason
> > Great! Only a couple days after I bought a license for YummyFTP too.
> > :/
> > Transmit 3 looks amazing so far. It looks like I'm going to be
> > upgrading
> > soon.
>
> As someone that has owned and used Yummy for a while now I can give you
> a little encouragement:
>
> 1. I think that most of the new features of Transmit were already in
> Yummy! The only thing that jumps out as not is the tabs.
>
> 2. Yummy is being activly developed with betas put out so have no fears
> about it falling behind. It is a great product and also works with
> textmate. In fact I have both Yummy(local and remote) and Path Finder
> set so that if I hit Command-B it opens in texmate.
>
> Sincerely,
>
> Eric C
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
Jason Downing
----------------------------------
Yummy Software
Software so good you could eat it. Yum!
www.yummysoftware.com
----------------------------------
On Feb 17, 2005, at 6:58 PM, Fred B. wrote:
> On 17 févr. 05, at 23:44, James Edward Gray II wrote:
>
>> I want to build a command, macro or whatever to have TextMate do a
>> chore for me. I've taken a couple of passes at it, but I'm not having
>> much luck yet and could use a little help.
>>
>> I have many snippets that help me quickly build Ruby iterators.
>> Here's the one for each():
>>
>> .each { |${1:e}| ${1:e}.$0 }
>>
>> So when I run that I get:
>>
>> .each { |e| e.<cursor here> }
>>
>> When those are getting longish, I break them up over multiple lines,
>> but I switch { ... } to do ... end. So I want to change the above to:
>>
>> .each do |e|
>> e.<cursor here>
>> end
>
> Sorry if I'm missing something, but would this be ok for you?
>
> each |${1:element}| do
> ${1:element}.$0
> end
That is an option, of course. However, it requires me to double the
number of iterator snippets, differentiate the keystrokes for them and
select the right one before I get into writing it. I was looking for
something better.
I'll take a glance at Chris' macro tomorrow and see if it gets me
there. Thanks to you both.
James Edward Gray II
I want to build a command, macro or whatever to have TextMate do a
chore for me. I've taken a couple of passes at it, but I'm not having
much luck yet and could use a little help.
I have many snippets that help me quickly build Ruby iterators. Here's
the one for each():
.each { |${1:e}| ${1:e}.$0 }
So when I run that I get:
.each { |e| e.<cursor here> }
When those are getting longish, I break them up over multiple lines,
but I switch { ... } to do ... end. So I want to change the above to:
.each do |e|
e.<cursor here>
end
I was trying to do this with a command, but it proved harder than I
expected. Any tips are greatly appreciated.
Thanks.
James Edward Gray II
Working with PHP code I prefer to have my comments prefixed by # (hash)
rather than // (double-slash).
However, when using Text->Shift Left/Right these comments are not moved
together with the other text.
Anyone have an idea of how I can make that work ?? Is it something only
for Allan, or just syntax file issue ??
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I've got a fledgling Apache bundle built (can I get repository access
please Allan?) and have a couple of questions regarding how things
work.
The bracket { } based syntax.plist file I'm editing gets converted to
an apple plist file when textmate is launched, firstly why? and
secondly how can I stop it happening as it's easier to edit the bracket
based file in place.
The following (with a unique string) crops up in a few of the other
bundle syntax files, what is it?
uuid = "991022B4-6B1D-11B5-90EB-000D93589AF6";
Thanks,
Simon
I must say everybody is doing a great job writing proper subjects, and
I appreciate it very much! :)
I just have one request, namely that you only use “Req:” or similar
short prefix for feature requests. “Small Feature Request” is a little
long, and probably causes the actual subject to be clipped in many
clients (at least in mine ;) ).
Kind regards Allan
The font I used is called "Myriad Pro Semibold", which is included in
all, or at least most of Adobe's Products... by the way, Apple uses
the same font for all of their products :)
best regards,
Wolfgang
Am 15.02.2005 um 13:00 schrieb textmate-request(a)lists.macromates.com:
> On Feb 15, 2005, at 4:00, fatal wrote:
>
>> (BTW, does somebody know the font used for the type names on the
>> actual icons (CSS, PHP,etc.)?)
>
> There is an icon kit with templates which I think include the font
> setting, though I don't know if Wolfgang used this:
> http://mikeash.com/AquaIconKit1.1.dmg (and I don't have photoshop or
> similar myself, so I can't even read out that font setting for you ;)
> ).
>TM_PACKAGE=`sed <<<$TM_NEW_FILE_DIRECTORY -n
's#.*include/\(.*\)#\1#p'|tr / .` \
Allan,
I couldn't get this to work. The TM_PACKAGE is always blank.
You can see the command and template here
http://paste.lisp.org/display/5811
Am I doing something wrong?
Don't know if this is a feature yet (?), I haven't found anything like
it in the docs or in the menus...
In jEdit I used a feature all the time that auto-indented my code blocks
by pressng TAB. Is this available already, and if not, any plans for
future releases?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
On Feb 14, 2005, at 9:01 PM, Jarkko Laine wrote:
> On 14.2.2005, at 20:11, James Edward Gray II wrote:
>
>> I'm really digging into snippets (and loving them, by the way). One
>> question though, I see $0s used in places and I'm not sure what it
>> does. Could someone explain it to me? Thanks.
>
> $0 is the place where the cursor is placed after the snippet has been
> run.
Really? I thought that was $1. Then you can tab to $2, $3, etc.
Maybe I didn't ask my question right. Let me try again. I understand
$1 through $9, but I didn't know there was a $0 zero and in playing
around it seems to behave slightly different from the others. My
question is, how does $0 relate to $1 through $9?
Thanks.
James Edward Gray II
How do you substitute one set of TM icons with another? All I've ever
done is copy-paste from the get info window, but this is on a per-file
basis.
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
Up to this point I've been doing macros the dummy way, recording actions
and saving them, etc... however I'd like to get a little more control
and get access to things like cursor position, etc, that recording isn't
going to give me. Is there a macro API? I haven't found any references
to one in the docs.
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
I have a variable "myPackage" in my template. I would like to replace
that with the directory of the template.
For example if I created a file at
/project/include/com/kidbombay/Myfile.as
I would like to replace all instances of myPackage in my template with
"com.kidbombay"
Basically the steps are
1. Is the file located inside a "include" directory? If yes continue.
2. Parse all folders down from the include level.
"include/com/client/project" would return "com/client/project"
3. Replace the slashes with dots. "com/client/project" becomes
com.client.project.
4. Replaces all instances of myPackage in my template with
"com.client.project"
How would I do this? I am not very familiar with perl.
Thanks!
I'm really digging into snippets (and loving them, by the way). One
question though, I see $0s used in places and I'm not sure what it
does. Could someone explain it to me? Thanks.
James Edward Gray II
I have tried downloading b5 twice. Once from the prompt inside tm b4
and once from the website and both times the dmg has reported that it
was not mountable...
never had a problem like this before so I am at a loss as to wether it
is something on my end.
Thanks,
Eric C
Hi folks,
Is it me or is the Edit in Textmate service broken in b5? Text acts
like it gets cut and immediately pasted.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Boy, you give us a little HTML and some of us want more. Here are two
ideas for the HTML Output. Version 3.0? anyway, here they are...
1. Let txmt:// handle commands/snippets/etc and send them to existing
windows. I don't know how hard that would be.
2. Somehow let commands process the results of an HTML form. Not
100% sure how this could work, but I'm imagining being able to set
form action=txmt://...
The upshot of #1 is that you would have a mini-Dashboard in TM.
People could hack out command palettes of all kinds. #2 would add
even more flexibility.
These brainstorms are the result of me wanting floating command
palettes and trying to think of a good interface for my 'Edit
Filenames in TM' contextual menu...
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Because of the Text -> Convert -> to Titlecase key binding (option+u),
I can no longer (easily) insert characters with umlauts (ü, ï, etc.).
Is there a workaround/clever solution/cunning plan to deal with this?
Rich Barton
I don't know if this has been aswered or not, but is it possible to set
multiple folding starts and stops in a syntax file? Like can I edit the
Java syntax to fold { } *and* /** */?
Jonathan Raphaelson
University of Colorado at Boulder
--
Home: 303-469-3442
Cell: 720-937-4372
jonathan.raphaelson(a)colorado.edu
jonraphaelson(a)gmail.com
Just downloaded TextMate today after searching high and low for a text
editor for OS X that has folding. I didn't realize it was a such a
sought-after but generally unavailable feature. I've been hand-coding
in Dreamweaver, which i like for its auto-complete and hints, but
beyond that I haven't really had much luck marrying HTML and PHP in its
framework.
Anyway, to my questions, and thanks for bearing with me as I explore
Text Mate, which looks great. If it's as good as I think it's going to
be, I'll gladly pony up cash for TM.
As far as I can tell, Text Mate won't "remember" code blocks that
you've marked for folding unless you change something in the plist
files with the respective syntax bundles. Yes? (I was surprised that
I could fold up lots of code, save the file, and then lose all of my
foldings when I reoped the file. At first I thought this was because I
hadn't put the file into a project and saved the whole project.)
Anyway, I basically have no idea what I'm doing. Is there some easy
way of specifying the the opening and closing expressions for folding?
Does this require that you have a good understanding of regular
expressions?
I started out viewing my code with HTML (PHP) syntax, which
automatically recognizes some tag structures. When I switched to PHP
syntax, which I like better, it doesn't seem to recognize anything at
all. How does one add or modify the plist information so that TM will
"remember" that I folded blocks such as:
<?php
...
?>
or even
<form>
...
</form>
?
Thanks for any help you can provide. Sorry to be so verbose.
Chas
If a Latex document is split into multiple files, the "to PDF" command
(as advertised on the blog), generates an error. It worked beautifully
previously (B4) - please could this be fixed in the next beta.
Also, there are now two latex bundles (LaTeX and Latex), which is the
most up-to-date?
Thanks,
Tim
Ok,
Possibly very obvious, ...but I can't figure out what key (screenshot
attached) this shortcut refers to.
I'm using a Powerbook. Does everyone know this but me?
Thanks,
Vic
I have a number of Commands to insert some text into the document, but
all of them have a couple of 'side-effects' that I don't want.
1. The inserted text is always selected, and I would prefer it to not
be selected.
2. There is always a New line character behind the input, whereas I
would just want the cursor to remain immediately behind the inserted
text on the same line.
What is it that I'm missing or doing wrong ?? Any help would be
gratefully received.
Command Examples:
INSERT DATE:
Save: Nothing
Command: echo `date +%Y-%m-%d`
Input: None
Output: Tried all versions ( Insert as Snippet / Replace Selected text
/ etc )
INSERT PATH2FILE:
Save: Nothing
Command: echo $TM_FILEPATH | sed
"s|^$TM_USER_ROOT_DIRECTORY\(.*\)\$|\1|"
Input: None
Output: Tried all versions ( Insert as Snippet / Replace Selected text
/ etc )
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
We've talked about this before, but I don't think anything became of
it. Here's the idea:
Create a preference so that new tabs are not created for every item
clicked in the project drawer. To create a tab you would have to
shift-command-click or something like that. Without the modified click,
the current file would open either in a special "current item" tab on
the left, that would simply be replaced by whichever item is clicked on
next.
This is similar to Safari's tabbed page behavior.
For super-organized people that remember to close all the tabs they
don't really need, they can choose not use the preference and retain
the current behavior.
For people like me that quickly reference other files and then forget
to close them, this would be a nice way to avoid unnecessary tab
clutter.
Ed
Especially when using things like the Subversion bundle, these files
showing up in the 'Open Recent' makes the feature approach useless. Is
there any way that these files could be ignored for this?
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I'm starting to dig a little deeper and let TextMate do more for me.
Next stop, templates. While we're there, here are my questions about
them:
1. Can I control where my cursor appears after the template is filled
in?
and
2. In the project's New File dialog, the template list is in a
predefined order and the top ten items have key shortcuts. How can I
affect this listing, to get my templates were I want them?
Thanks.
James Edward Gray II
Thank you!
BTW I was dubious about the pen in the icon previously, but in my dock
it looks pretty good. (I've liked all the recent designs actually.)
Paul
The bundle is just gorgeous, especially for things like "svn blame".
It really shows the potential of the HTML output.
However.
svn is extremely slow on my computer (and perhaps on yours). Is there
any way to either (1) put up a status bar (cocoadialog will do it)
and/or (2) make the thing run in the background or otherwise not
block TM from running?
I'm thinking (2) is impossible unless Allan reworks how commands are called.
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
I took my own stab at an icon this morning, after reading Apple's
Guidelines. It didn't turn out at nice as anything that's been
presented here already, but I decided to post it anyway in case it
gives someone with more talent than me any ideas.
http://www.grayproductions.net/ruby/images/TextMate_Icon.png
In my defense, it looked a lot better when I was still playing with it
at large sizes in the ray tracer. :) You could almost read the code
and you could see the brushed metals. Ah well, it seemed like a good
idea at the time.
James Edward Gray II
I'm looking for something to replace Transmit, since TextMate won't
work as one of it's external editors. I need an ftp client that will
upload when TextMate Saves.
(Sorry, Allan I know you made suggestions via IRC, but I closed that
window. I think this topic deserves to be in the list archives
anyway.)
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
Wow, this icon quest is getting really exciting, but ever more
confusing, so I thought a simple poll between the two (???) top
contenders could be of general interest, and a lot less confusing as to
which one anyone is commenting on.
Yeah, I know I'm being a bit of an anorak, but can't help it, and I am
taking my medication daily ;-)
To register your vote, please do a reply with the name of your
preferred icon selected, and if you so wish add your reasons to why you
like it below the quoted text.
Any other comment belongs in a completely new thread. Please try to
keep it on point here. Thank you! ;-)
Icon A by Bartelme.
Icon B by Ethan.
My vote:
Icon A by Bartelme
Reason: I'm not entirely sure why, but I'm guessing it's something to
do with Bartelme's icon following the general "text editor" icon look,
and it is more in line with the 3D feel of the other Apple app icons in
the dock which I think is more appropriate and professional.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Greetings all (from a relatively new BBEdit->TextMate convert)
Is there an easy way to insert a file/directory path into a TextMate window?
I can do it using the slightly ugly applescript hack below, "Insert Finder
Selection", but it'd be nice to drag-then-hit-command-while-dragging or some
such.
Just for fun I've included a couple of Perl commands for reading in a file
"Perl Infile" (it's up to you what you do with it!) and for writing to a
file "Perl Outfile". They try to be a little bit helpful: if you've selected
text in TextMate the commands assume it's a filename and wrap around it,
otherwise CocoaDialog is pulled up and you must select a file. in "Outfile"
you can also select a directory: in this case it prompts for a filename to
write to. See Eric's earlier post about CocoaDialog (http://cocoadialog.sourceforge.net/)
You will need to change the $CD variable used in these scripts if you choose
to install it somewhere other than /Applications .
Regards,
Paul
------------------------------------------------------------------------
Insert Finder Selection:
------------------------------------------------------------------------
Save: Nothing
Command:
osascript<<END
set linefeed to "
"
tell application "Finder"
set x to the selection
if the length of x is 0 then
return ""
end if
set mylist to {}
repeat with i from 1 to the number of items in x
set y to item i of x as alias
set mylist to mylist & (POSIX path of y)
end repeat
end tell
END
Input: None
Output: Insert after selected text
Key Equivalent: command-option-ctrl F
------------------------------------------------------------------------
------------------------------------------------------------------------
Perl Infile
------------------------------------------------------------------------
Save: Nothing
Command:
perl -e '
my $CD="/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog";
my $TMD=$ENV{'TM_DIRECTORY'};
my $selection=$ENV{'TM_SELECTED_TEXT'};
my $file;
if ($selection){
($file=$selection)=~s/\s+$//; # kill any trailing space
}else{
my $rv=`$CD fileselect --text "Select a file" --no-newline --with-directory "$TMD"`;
chomp($file = $rv);
}
exit unless $file; # user cancelled
print <<HERE
my \$infile = "$file";
open IN , "\$infile" or die "Input error: \$infile\\n\$!";
while ( <IN> ) {
}
HERE
'
Input: None
Output: Replace selected text
Key Equivalent: command-option-ctrl I
------------------------------------------------------------------------
------------------------------------------------------------------------
Perl Outfile
------------------------------------------------------------------------
Save: nothing
Command:
perl -e '
my $CD="/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog";
my $TMD=$ENV{'TM_DIRECTORY'};
chomp(my $rv=`$CD fileselect --text "Select a file" --no-newline --select-directories --with-directory "$TMD"`);
if (-d $rv){ # dir selected: need to append name
my $out=`$CD standard-inputbox --text "$TMD" --informative-text "Enter the name of the file" --no-cancel`;
my ($name)=($out=~m/.*\n(.*)/m);
$rv.="/$name";
}
chomp(my $file = $rv);
exit unless $file; # user cancelled
print <<HERE
my \$outfile = "$file";
open OUT , ">\$outfile" or die "Outfile: \$outfile\\n\$!";
select OUT; # print to OUT filehandle by default
HERE
'
Input: None
Output: Replace selected text
Key Equivalent: command-option-ctrl O
------------------------------------------------------------------------
Hi,
During the last couple of weeks I have not been able to comepletely
follow all the stuff going on in this mailinglist. I completely missed
the introduction of the "view as HTML" feature. I noticed a couple of
references to it and have seen that some people use it now in their bundles.
However, when I wanted to get into it, I found that bundles are not
really documented. Could people perhaps put some documentation on the
wiki about their bundles?
But an even better way would be to have some help/description feature for
bundles within TM...Allan, what's your take on that?
Jeroen.
--
"We apologize for the inconvenience"
(See "The Hitchhikers Guide to the Galaxy")
Beta 4 is out -- to those of you who got the beta 3 w/o bundles and
therefor installed these as user/local bundles, I'd recommend removing
these, since updated defaults won't show otherwise (but new defaults
will).
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
On Feb 1, 2005, at 4:20 PM, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: ODB, FTP and external editors (Allan Odgaard)
> 2. Re: ODB, FTP and external editors (Allan Odgaard)
> 3. Re: esc auto-complete? (Allan Odgaard)
> 4. Re: Line Up/Down for Arrow Keys? (Allan Odgaard)
> 5. Re: Editing a graphic in PS (Allan Odgaard)
> 6. Re: ActionScript bundle (Rob Bevan)
> 7. Re: pdfLaTeX, b4 (Allan Odgaard)
> 8. Re: ActionScript bundle (Allan Odgaard)
> 9. Re: OS X Services (Allan Odgaard)
> 10. Re: TextMate's Missing Snippets Palette (Allan Odgaard)
> 11. Re: TextMate's Missing Snippets Palette (Allan Odgaard)
> 12. Re: pdfLaTeX, b4 (Sune Foldager)
> 13. Re: Inputs in Text Window (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 1 Feb 2005 22:27:14 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] ODB, FTP and external editors
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <a42ddd3ea798ff41b098a4c0ea2c88dc(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Feb 1, 2005, at 22:20, Eric Hsu wrote:
>
>> I myself am more inconvenienced by the malfunction of Services... it
>> was really helping Pages be more of a text processor. But now, saving
>> and closing in TM doesn't seem to send the edited text back to the
>> calling program (in this case Pages), which then hangs waiting.
>
> Ah, hadn't realized it, but that's actually the same problem (since the
> service also use the external editor API).
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 1 Feb 2005 22:31:19 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] ODB, FTP and external editors
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <e8c128481519c172547a3e13ca95a273(a)macromates.com>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
>
> On Feb 1, 2005, at 22:11, Brad Miller wrote:
>
>> over on NetNewsWire, Brent does both private and public beta releases.
>> The public one's go to version tracker etc. but the private ones are
>> only available to people on the mailing list, including a link. Not
>> sure how the autoupdate would adapt. I suppose you could have
>> preferences like Quicksilver...
>
> What I probably could do was have a select few which gets the beta
> before others, and they have maybe 8 hours to report problems. But most
> likely that wouldn't really work, and so far the betas seems to mostly
> work for the majority, and there's always the ability to downgrade (all
> previous versions remain online).
>
> If I add another stage, like nightly builds or private betas, I should
> probably instead bump the current betas to minors. Maybe then ADC news
> would also carry new releases as news...
>
> The main reason I do betas as betas is because the features which debut
> in these are unlikely to be complete.
>
>> I hope you can release a patch for this one since it severely limits
>> my ability to get things done.
>
> Yes, when I get back to coding it's probably the first I'll look at.
> But as Eric said, you can always downgrade. All previous versions
> remain online.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 1 Feb 2005 22:42:37 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] esc auto-complete?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <f166365d35cce20dde5f0e48fa62e416(a)macromates.com>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
>
> On Feb 1, 2005, at 18:47, Simon Gregory wrote:
>
>> I'm trying to add a few snippets to the Actionscript bundle to include
>> some of the shortcuts that Actionscript developers would be used to
>> after coding in Flash.
>
> Great, let me know if you want access to the repository. The current
> ActionScript bundle has no maintainer (but is by Rob Bevan).
>
>> I've got the tab completion working fine but I'm used to pressing esc
>> then the key combination to invoke an auto complete and was hoping
>> that someone could tell me how to get this working.
>
> That's not currently possible, other than recoding a macro that does
> 'tab' and bind that to the escape key.
>
>> If you've time then an explanation of Activation: Key Equivalent
>
> This is a _single_ key (with optional modifiers).
>
>> and Activation: Input Pattern would also be useful as I can't find any
>> documentation.
>
> Input pattern is not working yet. What it will be is a non-greedy
> regular expression matched against the typed input. Mainly useful for
> having macros executed on certain editing patterns. For example the XML
> bundle has a snippet that expands to: <$1></$1>. Here one could match
> expansion of this snippet, giving the tag a name, pressing return
> inside the tag (w/o typing anything). The macro would then add indent
> and move the end tag down an extra line.
>
> This coupled with the upcoming scope system (which will be able to
> limit the activation methods to specific language elements) will allow
> for some pretty neat stuff ;)
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 1 Feb 2005 22:46:29 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] Line Up/Down for Arrow Keys?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <e87b1e752ac3cb869dd9501c2ed46ae1(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Feb 1, 2005, at 19:39, Wayne Larsen wrote:
>
>> I love the new file chooser, however, is it possible for textmate to
>> allow line up or line down to be used in place of the arrow keys for
>> list navigation? [...]
>
> I'll look into it -- it should use the standard key bindings, but
> unfortunately the way I currently pull off the thing about moving the
> selection in the inactive table view while the search string has focus,
> doesn't play well with the normal event system :/
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 1 Feb 2005 22:47:33 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] Editing a graphic in PS
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <7a34871ca7b41e2ec21d363468d09c24(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Feb 1, 2005, at 0:58, Eric Curtis wrote:
>
>> I thought it was pulling the name and that Finder was what would open
>> it, which it did in a way. Might I suggest changing it to:
>>
>> Open file with Default App
>
> I took the title from Xcode. But I'll check if Launch Services could
> give me the name of the application that will actually open the file.
> That would be very nice.
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 1 Feb 2005 21:52:53 +0000
> From: Rob Bevan <robbevan(a)xpt.com>
> Subject: Re: [TxMt] ActionScript bundle
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <9FB84FB2-749B-11D9-92D9-00039396DAC0(a)xpt.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On 1 Feb 2005, at 21:42, Allan Odgaard wrote:
>
>> Great, let me know if you want access to the repository. The current
>> ActionScript bundle has no maintainer (but is by Rob Bevan).
>
> Hi Allan,
>
> Sorry, I've been meaning to pick this up again. I have a few snippets
> and commands to add to the bundle. If you let me have access I'll do
> this soon (and maybe coordinate with Simon).
>
> Cheers,
> Rob
>
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 1 Feb 2005 22:55:17 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] pdfLaTeX, b4
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <1059af41f19e5501c1ebdeee8a7aba5f(a)macromates.com>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
>
> On Feb 1, 2005, at 19:01, Robert Ullrey wrote:
>
>> Quick question though. Now I would like to use XeLateX as my
>> typesetting engine so I can change fonts through fontspec. How can I
>> change the bundle command in PDF LateX to use XeLateX ($xelatex
>> [file] in the terminal)?
>
> Select Automation -> Run Command -> Edit Commands
>
>
> Here you'll find LaTeX / PDF LaTeX which is the current command.
> Duplicate it and make your changes. It's a lot of lines, but the
> essense is the pdflatex which output is piped into perl, that makes the
> errors HTML anchors.
>
> Ask if there's anything.
>
>> P.S., It would also be nice to be able to use ConTeXt ($texexec)
>
> It shouldn't be a problem to modify the command to use ConTeXt instead.
>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 1 Feb 2005 22:58:32 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] ActionScript bundle
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <9bb570ab93548d471c013278eeae51eb(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Feb 1, 2005, at 22:52, Rob Bevan wrote:
>
>> Sorry, I've been meaning to pick this up again. I have a few snippets
>> and commands to add to the bundle. If you let me have access I'll do
>> this soon (and maybe coordinate with Simon).
>
> Done!
>
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 1 Feb 2005 23:00:29 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] OS X Services
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <5d65196ad5d6f66a0020658d8bfb25e8(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Feb 1, 2005, at 19:12, Eric Curtis wrote:
>
>> Perhaps I am doing something wrong put when I highlight a chunk of
>> text and execute the service nothing happens...
>
> This must be the missing ODB editor support in beta 4.
>
>
>
> ------------------------------
>
> Message: 10
> Date: Tue, 1 Feb 2005 23:01:58 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] TextMate's Missing Snippets Palette
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <7d1ba8bbc17e9e74091500a4cec84643(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Feb 1, 2005, at 20:51, Chris Messina wrote:
>
>> I would also like to be able to drag n' drop a snippet onto a
>> selection and have the snippet wrap around my selection.
>
> Ehm... how? Shouldn't the snippet then somehow specify where the
> selection should go, and if so, would this be any different than what
> you currently can do, other than the way you activate it?
>
>
>
> ------------------------------
>
> Message: 11
> Date: Tue, 1 Feb 2005 23:07:11 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] TextMate's Missing Snippets Palette
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <6e556256733582045ea04f6677a1489b(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Jan 31, 2005, at 16:05, Jon Raphaelson wrote:
>
>> Actually, some sort of floating palette with all of the current
>> languages stuff (commands, snippets, macros) would be handy.
>
> Okay -- but I'd prefer not to spend any time on this before after 1.1.
> And I'm btw changing my plans a little, so 1.1 will be in a few weeks,
> and I'll just do 5-10 1.1.x releases instead of having 1.1 in beta for
> half a year ;)
>
> Hopefully no-one feels cheated that some of the stuff I've promised for
> 1.1 then will be 1.1.x instead.
>
>
>
> ------------------------------
>
> Message: 12
> Date: Tue, 1 Feb 2005 23:18:27 +0100
> From: Sune Foldager <cryo(a)cyanite.org>
> Subject: Re: [TxMt] pdfLaTeX, b4
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <43fca7a105bc5f45bf2a1ad1fcfc428c(a)cyanite.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On 1. feb 2005, at 14:35, Brad Miller wrote:
>
>> The latest unstable version of tetex from the fink archive appears to
>> be several versions out of date [...].
>
> Yes, in fact the teTeX package doesn't have the newest Web2C TeX
> version at all no matter what distro you pick. The i-Installer one is a
> mixture of teTeX (for the foundation) and a binary distro called
> TeX-live for the programs (tex, pdftex, dvips etc.). teTeX is the most
> popular package for *nix as far as I am aware, so it's rather odd that
> it's behind like this. And too bad. But at least it can be worked
> around on the mac.
>
> --
> Sune.
> :: the Cottage of Lost Play.
> :: http://cyanite.org
>
>
>
> ------------------------------
>
> Message: 13
> Date: Tue, 1 Feb 2005 23:17:51 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] Inputs in Text Window
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <03fac328adafa26e4d9eb5f52aa2b3c3(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Jan 27, 2005, at 17:26, Mr. Robert Ullrey wrote:
>
>> [...] I am still frustrated with changing inputs (e.g., greek) as well
>> as not being able to use input engines like "Spell Checker". Ant
>> estimate on this bug fix?
>
> Well, the best I can do is say that in half a year, I expect 90% of the
> things reported since release should have been taken care of ;)
>
> I know it's not of much help, but the more exact estimate I give, the
> more chance there is that it won't be correct.
>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> End of textmate Digest, Vol 5, Issue 6
> **************************************
>
>
--
Mark Young
Virtual Design House, Inc.
231 South Bemiston, Suite 100
Clayton, MO 63105
Phone: 314-482-3377
E-Mail: mark.young(a)vdhinc.com
> Oh, I just realized that Ulysses has a fullscreen mode...you can tell
> how much I've used it. :-)
TB: Ulysses does. However, Ulysses requires me to hop through some
really weird activation loops to potentially buy it, and just to test
it. It also just looks awful in interface, and the method of opening
documents and project management is awkward. I think Textmate is a
better handler of all the various things I do, html,
php/mysql/movabletype, articles, novels, todo lists, etc. Textmate is
also *snappy* when I use it, the documents load up *like that* when I
double click them. I like that!
+++++++++++++++++++++++++++++++++++++++++++++++
By day I'm a mild-mannered tech worker, by night, a Science Fiction and
Fantasy writer. You can find out more about my fiction at my website at
http://www.tobiasbuckell.com where you can read my weblog, join my
newsletter, find excerpts or free fiction, and find out where you can
buy my fiction...
Coming Soon:
-novel "Crystal Rain" from Tor Books (2006)
-novel "Ragamuffin" from Tor Books (TBA)
You can find my short stories in these anthologies out now or coming
soon:
-Anakoinosis - I Alien (April 2005)
-Necahual - So Long Been Dreaming: Postcolonial SF&F (Oct. 2004)
-Aerophilia - All Star Zeppelin Stories (Sep. 2004)
+++++++++++++++++++++++++++++++++++++++++++++++
I'm truly and deeply impressed with this program. I'm working on my
second novel, due to be turned in this September and am about 15,000
words into it. Previously I used TextEdit to create each chapter, used
omnioutliner to manage the chapter structure and create the outline and
do rearranging, and then merged all the files into Word to finish it
up, and then had to edit it.
I started the current novel using that system, then switched to a
program called 'copywrite' which is cool, gave me some of the
organization features combined with a basic text editor, but it's a bit
slow when I click around quickly, and I hate having the program get in
the way of my creative process/writing, which is why I started testing
programs tonight to see if I could find something better. That and now
that I've seen this program's project handling I'm deeply in love.
But there is just one thing I was hoping I could include on a feature
request to spur me on. Full screen editing! The reason I purchased a
copy of copywrite is that they said full screen editing would be
coming, which is where I press a button and the program takes over the
screen and I have nothing but text and a screen. This is the greatest
procrastination breaker, and the only program besides copywrite that
looks to have this feature is MacJournal. Right now I'm seriously
considering drafting in MacJournal, then copy and pasting into
Textmate, but man, I'd pay extra for the full screen feature, it's
worth it.
Secondly, I've only played with this program for a few minutes, but I
may be converting my Getting Things Done 'Next Actions' list to it and
using documents to go to sync the plain folder text files for project
management.
Best,
Tobias Buckell
+++++++++++++++++++++++++++++++++++++++++++++++
By day I'm a mild-mannered tech worker, by night, a Science Fiction and
Fantasy writer. You can find out more about my fiction at my website at
http://www.tobiasbuckell.com where you can read my weblog, join my
newsletter, find excerpts or free fiction, and find out where you can
buy my fiction...
Coming Soon:
-novel "Crystal Rain" from Tor Books (2006)
-novel "Ragamuffin" from Tor Books (TBA)
You can find my short stories in these anthologies out now or coming
soon:
-Anakoinosis - I Alien (April 2005)
-Necahual - So Long Been Dreaming: Postcolonial SF&F (Oct. 2004)
-Aerophilia - All Star Zeppelin Stories (Sep. 2004)
+++++++++++++++++++++++++++++++++++++++++++++++
>> I have a few snippets
>> and commands to add to the bundle. If you let me have access I'll do
>> this soon (and maybe coordinate with Simon).
>
> Done!
I've completed all the usual key combo snippets found in flash and sent
them through to Rob. Along with a quick class template.
Allan - thanks for the explanations of Activation: Key Equivalent and
Activation: Input Pattern, I'm looking forward to seeing the input
pattern in action.
cheers,
Simon
I realized after seeing a HyperEdit screenshot that having a floating
snippets palette would be immensely useful in TextMate.
I've mocked up how I might think you could implement this, focusing the
selected snippets on the current editing mode... In any case, I don't
think that snippets belong in a hierarchical menu, and as much as I
would like for you to be able to stick to minimal modal interfaces, I
think that in this case, it's worth adding one more.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /"Simplicity is in taking the elegant path. It is
also a conscious choice-- to achieve simplicity one must eschew
complexity. Simple things must be simple."/ -- author unknown
While creating a new file in TM, I accidently typed a capital letter.
After, it was impossible to change it with "rename" (error beep). I
guess it's because it's the same name, only with different
capitalization...
--
Fred
Hi all,
Pleased to join the list. I'm excited about the potential of this software.
So GREP is acting up... when I search
^\s*(?:\w+ +?)+.+$
TextMate crashes without warning. This string works fine in
TextWrangler/BBEdit.
Some other strings have behaved unexpectedly. Is this a known issue?
Also, the program crashes if there are errors in the GREP syntax.
Without highlighting, these are not easy to avoid (maybe one for B5).
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9127-2819
ben(a)incomumdesign.com
http://www.incomumdesign.com
So what's the deal with the -halt-on-error flag shipped from TM to
pdfLaTeX? My pdflatex (pdfTeX (Web2C 7.4.5) 3.14159-1.10b; from the
teTeX package) doesn't dig that flag at least.
--
Sune.
:: the Cottage of Lost Play.
:: http://cyanite.org
Now that it seems we all need to use the i-Installer TeX distro in
order to play nicely with TextMate, I'd like to recomend people to
install the TeX CM-Super package also found with i-Installer. This
basically makes pdflatex (and dvips etc.) store Type-1 fonts in the
created pdf's and ps's, instead of on-demand created bitmap fonts from
metafont sources (which is default).
True those bitmap fonts are usually high-DPI (sometimes 600), but
a) Most viewers on X11 _hate_ bitmap fonts, and display a crappy result
even for 600dpi fonts.
b) When you zoom, you see the edges starting to show.
c) Vektor fonts are _always_ preferable IMO, and might even take up
less space :-).
Just install the package and it will be used automatically. Note: It's
a rather big download.
--
Sune.
:: the Cottage of Lost Play.
:: http://cyanite.org
A while back, early December I think, I read that there was going to be
work on allowing TextMate to 'preview' text being givin to it by the
system. I am still frustrated with changing inputs (e.g., greek) as well
as not being able to use input engines like "Spell Checker". Ant
estimate on this bug fix?
Thanks
Robert
I love the new file chooser, however, is it possible for textmate to
allow line up or line down to be used in place of the arrow keys for
list navigation? I'd love to do "Cmd-T Search String C-n C-n". If I'm
going to move my hand off to the arrow keys, I might as well just move
it a little further and use the mouse...
If this is already possible, please enlighten me!
Thanks,
Wayne
I'm trying to add a few snippets to the Actionscript bundle to include
some of the shortcuts that Actionscript developers would be used to
after coding in Flash. I've got the tab completion working fine but I'm
used to pressing esc then the key combination to invoke an auto
complete and was hoping that someone could tell me how to get this
working.
If you've time then an explanation of Activation: Key Equivalent and
Activation: Input Pattern would also be useful as I can't find any
documentation.
Thanks,
Simon
I was noticing that if I right click in the project drawer a file will
give me an option to reveal or open in the finder. Is there a way to
add to this list so that I can open in photoshop? Another thing I would
most likely do is add a reveal in pathfinder as I do not use the finder
much.
Thanks,
Eric
I just downloaded the new version of Cyberduck, and it looks like
TextMate isn't prompting the ftp application to reupload the file after
saving. I've tried this in Fugu and seen the same behaviour.
SubEthaEdit works, so the issue would seem to like with TM.
I thought we had ODB support in this editor?
I was recently working with folding and noticed a dangerous behavior
that I would like see changed if possible. I was working on an html
document with the setup something like:
<div id="section_1">...
(dangerous place to backspace)
<div id="section_2">...
(dangerous place to backspace)
<div id="section_3">...
(dangerous place to backspace)
What I noticed was if your cursor was on one of the lines that I
labeled (dangerous place to backspace) above and you backspaced it
would delete the entire folded content. What is especially troublesome
is that the only indication that it happened is the little ... graphic
disappears.
The behavior I would like to suggest is that if you backspace in one of
the above situations the fold opens automatically and one character is
deleted. This way if I really did want to delete it all I can select it
and do so otherwise I am given a clear indication of what happened.
Sincerely,
Eric Curtis
Hi.
[file under feature request]
not sure if this would be possible ... could a Command process run
independently of TextMate? For example, On Mondays the backup runs on
our dev server which slows down rsync from my workstation. I have
rsync mapped to a command to send changes to the dev server. When
rsync runs slow, all of TextMate hangs until the rsync process is
complete. It would be nice though if I could continue working while it
rsynced my project files. I obviously haven't thought about this too
hard because what if the command is set to replace text or something.
hmm... well thought I would put it out there anyway in case there is a
way to do it.
k
Hi all,
I have been using TextMate since December last year and I have found
myself using it like more and more as some sort of Finder replacement.
At least for text-files that I can open and edit in TextMate.
As TextMate is my primary programming environment where I edit source
code, ini-files, etc, I have a problem when I open a file for
"browsing". I mean when I open a file with no intention to edit it but
to read it, copy code sections, check how certain functions are
implemented, etc.
The problem, or let me say the inconvenience, is that the file remains
open as a tab and I have to manually close it.
I could think of two ways to open a file: 1 - For editing, 2 - For
browsing. When a file has been opened for editing TextMate would have
the same behaviour as today. When a file has been opened for browsing I
could think of a behaviour that close the file as soon as I leave it.
For now I have no idea on how to select between open edit vs. open
browse but one way could be to use a combination of ctrl, alt or
command key to open browse.
Kind Regards
/Anders I
--
Anders Isaksson - anders(a)isazone.com
Vänersborg, Sweden
www.isazone.com - www.stugmarknad.se
Hi,
I just had the chance to try "Append to each line of Selection" and I'm
wondering if it would be possible to be able to "backspace" the end of
all lines or even moving the cursor and append to each line at that
position.
This would make this feature much more useful when:
-You have to remove a closing tag before adding stuff
-You want to add stuff before the closing tab.
-You want to replace the closing tag
-etc.
Which is pretty often for me.
Maybe this would be more complicated to implement, I don't know, but
this would be one more killer feature in TM for sure.
It's good to know you've bet on the good horse. ;)
In an effort to avoid actual writing this afternoon, I decided to add
some enhancements to the LaTeX syntax bundle.
Here's what I've done:
\textbf{foobar} -> highlights with textbf as the usual
maroonish/purplish command color but foobar is bolded in black
\textit{foobar} -> sames as above but foobar is italicized in black
\texttt{foobar} -> same as above but in a teletype font, ha, no
really, its underlined.
Added highlighting for strings like: `foo' and ``foo'' These are
colored in the same green as math. I find this one really helpful as
it also points out when I've forgotten to use the proper pairing of
quotes. I thought about highlighting "foo" in red to really remind me
that its wrong.
Added $ to the list of smart typing pairs. I don't know about the rest
of you but 99% of the time when I type a $ in LaTeX its to do math.
I also brightened up that maroonish purplish color just slightly since
it seemed a bit dim to me.
Since these changes seem generally useful and non-controversial (except
maybe the color change). I'd be happy to contribute these to the
subversion repository if Alan would grant me an account.
However, since there are already at least three people in the history
file I thought I would post my ideas for further discussion. Any
requests?
Brad
--
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp(a)jabber.org
Greetings all,
Just thinking a little about the bundle-inclusion-principle. There's some pretty strong evidence
that Allan is a fan of Quicksilver, and it brought to mind the idea that the TMer could download
only those bundles (s)he would use. In my case, pretty much exclusively LaTeX.
I would guess that, unlike Quicksilver plugins (?), the extra bundles don't have an effect on
performance per se, but there is a certain pleasure in being parsimonious. ;)
D. Wooten
>> I'd also like to see a popup displaying the various auto-completion
>> options instead of the ESC-cycle solution.
>
> I've added it as a request.
>
Oooh, I've had wet dreams about a popup instead of the current
behaviour. A slight exaggeration, but count this as my +1.
// Emil Eriksson
Some basic things I couldn't figure out:
-Is it possible to assign key shortcuts to "Syntax Highlight As" menu
for different languages. Right now I launch TextMate & use it for
writing quick scripts in the default New Document window which has no
syntax highlighting and it is a pain to go to the menu and select the
language.
-Going with the previous point, can we set the default Syntax Highlight
language for the New Document.
-What's up with the Command Output Window. It has a huge empty White
block on top & dragging the resize bar brings an empty grey block at
the bottom. Unless I am missing something, it sure can use some
redesign & have features like multiple buffers for each
script/selection run but in an elegant configurable way and/or optional
output appending in the same window with a divider etc.
Hi,
it seems to me, that the project drawer does not allow automatic or
manuel refreshment. This is quite a drawback to my mind.
I think it would be great to have a manual refresh-button/command. It
would be even greater to have some kind of automatic refresh every x
seconds/minutes.
Regards.
Christian
Anyone got a bundle for python that works better? The built in one uses
bizarre colors, the folding support doesn't work properly (and, less
importantly, the nifty automatic quote closing doesn't handle """ and
''' quoted strings).
I looked at the wiki, but didn't see anything for python. Any hints on
improving python support would be appreciated.
Regards,
-- Russell
I got curious. Here's no-frills (and no-warranty) ctags lookup suitable
for use with the TM command editor. Select the identifier you're
looking for and run this command to find it. Tested with the output
from the ancient ctags command installed with Mac OS X. It doesn't
support any 'ex' commands except pattern matching. It probably does not
work with the extended ctags format, but it would be trivial to make
the necessary modifications.
There is one problem, however: either my URI syntax is wrong or
TextMate's 'txmt://' handler doesn't seem to be handling the 'line'
parameter.
It would be nice to be able to access this command from the contextual
menu.
ruby <<END
search_string = ENV['TM_SELECTED_TEXT']
exit if search_string == ""
# find the tags file in the folder containing the active file
tagfile_path = File.dirname(ENV['TM_FILEPATH']) + "/tags"
tags = File.open(tagfile_path, "r").read
tagarray = tags.scan(
/(#{search_string})\t(.*?)\t\\/\\^(.*)\\\$\\/\n/ )
linearray = tagarray.collect do |t|
puts t.join("\t")
identifier = t[2]
path = t[1]
sourcefile = File.open(path, "r")
while( sourcefile.gets )
break if \$_ =~ Regexp.new(Regexp.escape(identifier))
end
sourcefile.lineno
end
tagarray.each_with_index do |t, index|
puts "#{t[1]}:#{linearray[index]} #{\$_}"
command = %Q{open
txmt://open?url=file://#{File.expand_path(t[1])}&line=#{linearray
[index]}}
puts command
system(command)
end
END
Hello
ATM, in the find & replace dialogs (both for the signle file and
project-wide), there are single line areas to type the text, even tho
you can paste multiple lines there, its difficult to scroll through
them. I think it'd be really good to have a box with a few lines (i.e
assume the multi-line capability)
Regards
Duarte Carrilho da Graça
>> it seems to me, that the project drawer does not allow automatic or
>> manuel refreshment. [...]
> It refreshes if you deactivate and activate TextMate. A gesture I think
> I read somewhere that users have come to expect from many programs.
Alright, I missed that feature :-)
But anyway, I still think, that a preference for automatic refreshs
would be a nice-to-have feature. And since the auto-refresh capablity
is already there, it shouldn't be too difficult to do.
regards,
christian
I have been writing a little app that lists text files. When I double
click the NSTableView containing the file name I want it to open in
TextMate, place the caret on a specific line and scroll down to that line,
just like for example xcode does when double clicking in the error list.
Is there some way to accomplish this (preferably from Cocoa)? I don`t have
any problems opening the file in TextMate. Its the caret positioning that
is getting to me.
Joachim
Hi
Can you turn on/off horizontal scrolling? At the moment, my lines wrap
to the next line. I know its indicated that its the same line, but id
prefer it to scroll, if possible?
Thanks
Eoghan
Ok, I looked around the website, in the help files and in the menus and
I can not figure out how to turn on and off column typing...
Asking the dumb question,
Eric
I've got a part-timer about to start work with me on a Windows machine
on some Rails stuff, and I need to recommend a free or cheap text
editor for him to get started on (until I buy a macmini for him).
In particular, I think he needs the project drawer, because there's a
heap of files to work with in Rails, and something that has a PHP &
Ruby syntax highlighter included.
Sorry for being a little OT, but surely some of you must be recovering
Windows types and can recommend something??? I haven't touched a PC in
years :)
---
Justin French, Indent.com.au
justin.french(a)indent.com.au
Web Application Development & Graphic Design
Hi.
I just read the latest news on the TextMate site about a "quick launch"
thingie for selecting a project file
[
http://macromates.com/blog/archives/2005/01/28/elevating-the-standard/
]
I haven't tested this out in the beta but I think this is a great idea.
However, I have a much simpler request that is related to navigating
around TextMate mouse-free. How about a key command to switch focus
from the editor pane to the project-file-list pane. This is about the
only thing left that I have to touch the mouse for when editing!
Currently I manually click on a file in the project-file-list pane, use
the arrows to find another one, then press enter to open it for editing
(unless I'm in the mood for mousing). now... if there was a way to
jump back to the file-list pane via key-command while editing that
would be great. Of course, the quick launch will be helpful but the
above request seems like an easy feature to add, no? Net News Wire
Lite, which has the same drawer-content window layout, allows for
movement between these panes via left/right arrows ... making RSS
reading completely mouse free. Emacs users will love you for it Allan
:)
thx, K
I want a perl snippet that does this:
open($1, "$2") or die "Can't open file: $!\n";
while(<$3>) {
$4
}
I enter this into the snippet editor. What happens is:
1. The "entry point" is always $2. (in other words, type 'openTAB', get the snippet, but the insertion point is at $2)
2. hitting TAB after entering some text moves the insertion to $1, but any attempts to hit tab to move to the while ($3) fail; it just inserts a literal TAB.
3. escaping the $! with something like \$! has no effect; it always inserts '!n'. I even tried \\n and variations thereof with $! to no effect.
I'm not sure if this is a side effect of the Perl syntax rules/bundle (using the stock one, I long since abandoned mine in favor of the other, superior one :) or another weirdness.
As a side note, I want $1 and $3 to be the same thing; is it enough to just call 'em both $1?
Do Bookmarks not persist between sessions? I just spent an hour setting
up bookmarks in a markdown syntax template, thinking I'd be able to
open the document in the future and F2 (Next Bookmark) through the doc
to make changes.
It seems bookmarks are not permanent. Why not? Is there plans to make
them so?
-t
Just a little tip, the Append to Lines in Selection can also have
new-lines appended, so e.g. we can select:
case NSHomeFunctionKey
case NSEndFunctionKey
case NSPageUpFunctionKey
case NSPageDownFunctionKey
Append to lines in selection and type: “:<LF>break;” to get:
case NSHomeFunctionKey:
break;
case NSEndFunctionKey:
break;
case NSPageUpFunctionKey:
break;
case NSPageDownFunctionKey:
break;
Or select:
if([nonBase characterIsMember:ch])
else if([upcase characterIsMember:ch])
else if([alnum characterIsMember:ch])
And type: “<LF>{<LF>” to get:
if([nonBase characterIsMember:ch])
{
}
else if([upcase characterIsMember:ch])
{
}
else if([alnum characterIsMember:ch])
{
}
hi everyone
the bad news is that the latest beta (or how I installed it) ended up
deleting all my previous Custom snippets, macros etc. The good news I
guess is that I'm re-doing them (not so many anyway) in a much better
way :)
Separately I wanted to adapt the default SQL to colorize some of the
COLLATE and CHARSET data, partly just as a tutorial. My CocoaMySQL
creates table definitions including the following (unfortunately with
the "`" included), e.g.:
> `user` varchar(20) collate utf8_bin default NULL,
> [...]
> ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
I wanted to offset the collate and CHARSET content so I cut-and-paste
within the SQL bundle to create the following:
> <dict>
> <key>foregroundColor</key>
> <string>#ff3300</string>
> <key>match</key>
>
> <string>^\s*\w+\s+(collate|utf8_bin|DEFAULT|CHARSET|utf8|COLLATE)\s*</
> string>
> <key>name</key>
> <string>Charset Types</string>
> </dict>
Alas nothing happens ;)
Could anyone give me a hand? This is hardly urgent, but I am just
curious what I am doing wrong... FYI I based it on the following; I'm
hardly a regex expert or anything but I thought I knew what was going
on...
Thanks!
Paul
> <dict>
> <key>foregroundColor[1]</key>
> <string>#CCBA33</string>
> <key>match</key>
>
> <string>^\s*\w+\s+(bigint|bigserial|bit|bit\svarying\(\d+\)|boolean|box
> |bytea|character\s(varying)?
> \(\d+\)|char\(\d+\)|var\schar\(\d+\)|cidr|circle|date|datetime|double\s
> precision|inet|int\(\d+\)|integer|interval\(\d+\)|line|lseg|macaddr|mon
> ey|numeric(\(\d+,\d+\))?
> |oid|path|point|polygon|real|smallint|serial|text|times(\(\d+\))(\swith
> outstimeszone)?|timestamp(s(\(\d+\))(\swithoutstimeszone)?)?
> |varchar\(\d+\))\s*</string>
> <key>name</key>
> <string>Data Types</string>
> </dict>
Hi,
I've defined a sinppet that automatically expands the " character to
"`"' used for quotation in latex.
However, I want this behaviour only to work, when editing a *.tex-file.
In the bundle-editor, there is a field named Scope and I suppose that's
the one I need - However, I don't know what exactly to specify there.
Any hints are gladly appriciated,
Regards,
Christian
I'm hoping I've just overlooked something to be able to do this:
Instead of having to drag a folder from the Finder on the project
drawer to add a live updating folder, it would be nice to be able to
add them with a folder chooser much like "Add Existing Files..." .
Also, I can't seem to reorder folders inside a group. Whereas I can
reorder groups. Is this a current limitation?
Thanks,
Patrick
P.S. Love the file chooser in the latest beta. It's like being in
IDEA, except for my rails development. :-)
AS a long time windows and mac user, prior to OS X and TextMate, my
environment for coding PHP and HTML was HTML-Kit which is the most
extensible and light environment there is for PC...and it features a
project panel much like the project drawer.... it is also quite easy to
develop additional plugins for it if there isn't already a syntax
plugin for Rails. It cames with a plug-in editor which is quite easy to
figure out.
Oh, and it's also Free.
http://www.chami.com/html-kit/
> From: Justin French <justin.french(a)indent.com.au>
> Date: January 27, 2005 10:23:20 PM EST
> To: TM Users <textmate(a)lists.macromates.com>
> Subject: [TxMt] comparable windows editor?
> Reply-To: TM Users <textmate(a)lists.macromates.com>
>
>
> I've got a part-timer about to start work with me on a Windows machine
> on some Rails stuff, and I need to recommend a free or cheap text
> editor for him to get started on (until I buy a macmini for him).
>
> In particular, I think he needs the project drawer, because there's a
> heap of files to work with in Rails, and something that has a PHP &
> Ruby syntax highlighter included.
>
> Sorry for being a little OT, but surely some of you must be recovering
> Windows types and can recommend something??? I haven't touched a PC
> in years :)
>
Hello all,
Stupid question here...I have:
ruby /Users/dc/Documents/txt/scripts/todo2log.rb $TM_FILEPATH
as a command, but it has suddenly stopped working, saying:
/bin/bash: line 1: ruby: command not found
the script:
#!/usr/local/bin/ruby
task_text = $stdin.read
task_text.gsub!("\\[ \\] ","[X] ")
from = File.basename(ARGV[0],".txt")
File.open("/Users/dc/Documents/txt/LOGS/
completed.txt",'a'){|archive_file|
archive_file.puts
archive_file.puts task_text
archive_file.puts " in #{from} #{`date \"+%H:%M %Y%m%d %a\"`}"
}
ruby is to be found there (/usr/local/bin), and it worked yesterday, so
I can't tell at all why this is happening...
but I know I'm missing something obvious
hints?
d
On 27/1/05 2:48 pm, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> There are plans, yes... ;)
Ooh secretive.. Go on, tell us...
I'm very new to the group and TextMate so I hope that this has not
already been hashed out.
I'm having a problem when I "Save As" with an open document. What
happens is the original document disappears from the project list. The
new document takes its place. I have to reboot the app to get it to
refresh properly so I see both the new document and the original
document in the list.
For now, I can work around this (by simply creating new documents and
then cut and paste), but I think it's probably a bug...
I'm using OSX 10.3.7 and TextMate 1.1b1 (v1.1b1).
Thanks, v
Hi,
I just managed to create a custom Drag Command that works similiar to
the IMG-Dragging in HTML-Mode.
However, after dropping a file, TextMate inserts the correct code but
the focus stays with the project Drawer.
Since I insert the code as a snippet, I have to press Shift+Tab in order
to focus the editor pane before I can step through the different
snippet-variables. So please, set the focus to the editor pane after
drop-events or at an option to configure this behaviour.
I'd also like to see a popup displaying the various auto-completion
options instead of the ESC-cycle solution.
Thanks in advance,
Christian
I was wondering whether there were any plans to alter the way TM
auto-completes? The current system is good, but Id like it to be able to
auto complete from files other than the current one, say all open files or
all files in the project. Another probably even more useful ability would be
if the syntax files could specify a list of keywords that could also be
auto-completed on any file.
Any other thoughts on this anyone?
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
Firstly, heartfelt thanks and congratulations to Allan on the latest
beta. TextMate is getting better and better, seriously quickly.
There's still one key feature from SubEthaEdit I'd *love* to see in
TextMate, and that's the ability to highlight changes made to a
document as they're made, using a background colour -- in much the same
way that TM can now highlight the current line.
By way of context, much of my work involves updating and tweaking code
I've already written, and a great side-effect of the way SEE implements
its collaborative editing is that any changes you make to a file can be
highlighted as you go using a background colour of your choice. This
makes it incredibly easy to see just what I've changed in the current
session, so when I introduce bugs, I can very rapidly find what I've
done and put it right.
Could such a feature be included in TM? Or would it conflict horribly
with the new syntax highlighting system?
Cheers,
Andrew.
--
::
article seven Andrew Green
automatic internet andrew(a)article7.co.uk | www.article7.co.uk
Hi!
I wonder if I am the only person that would love to see nested
snippets. Apparently, at the moment, snippets are processed by regular
expression matching, which rules out nesting of placeholders. But
wouldn't it be great if one could do something like this (that's for
Prolog code):
findall(${1:X}, ${2:member(${1:X}, $4)}, ${1:X}s)
If you deleted $2, of course, the placeholders inside it would not be
activated any more.
And sorry if this has already been discussed, but I couldn't find any
references to this particular subject.
Ole
Hi Allan and List,
Sorry if this already exists, but I didn't find a way to do this with
the current beta. If I fire up TextMate (or activate it, because it
runs all the time) I often just do some normal writing of text. For
this I have a basic highlighting which just highlights URLs. But in
this situation (after pressing command-n) there is no highlighting
activated.
I would be very pleased if there could be some preference to define a
default highlighting which gets applied to new files or the ones
without a defined highlighting so that I not always have to adjust it
from hand to see blue URLs. :)
--
Torsten Becker
howdy,
is there a way to setup a default fold level for a particular mode so
when you open a file in that mode it will automatically fold at that
level? i looked in the help and at some syntax highlighting examples
but didn't see anything of the sort.
also, i would like to say i LOVE cmd-T!! i'm not using the project
drawer at all anymore. i have 2 requests concerning it tho. 1) can the
list 'wrap' so when you get to the top or bottom using arrow keys, it
will wrap to the bottom / top respectively? 2) can there be an option
to show the 'path' of the file, either in a tooltip or after the file
name because i have many files with the same name in some of my
projects and i can't tell which is which.
thanx!
- jamal
Hi!
I'm a bit confused: XML snippets automatically work in my Prolog files
and vice versa. And I couldn't find any information with regard to the
"scope" field in the bundle editor (which I guess might be a solution
to my problem - I don't want to lose the ">"-tab activation for empty
tags, but it drives me mad whenever I try to write a conditional in
Prolog, which starts with a "->" and needs some tab-formatting to be
readable).
Can anyone help me out there?
Ole
Hi,
I've been a zsh user for quite some time, but haven't used it for
scripting due to portability reasons. Now I just finished reading "From
Bash to Z-Shell", and realized how much more elegant those sh scripts
could be with zsh (or bash, I guess). And since TM runs on Mac OS X
exclusively, which ships with zsh by default, there's no portability to
consider.
Soo.. anyone using zsh for command scripting who would like to share?
Unfortunately, I don't do much text editing and therefore scripting
myself lately, so don't expect any gems from me.. I'm just curious.
Thanks,
-Ralph.
---
"From Bash to Z-Shell"
<http://www.amazon.com/exec/obidos/tg/detail/-/1590593766/
qid=1106825397/sr=1-1/ref=sr_1_1/104-0742256-4403924?v=glance&s=books>
Hi
Sorry about the ot post. Ive searched my folder, but cant find the link
to that useit article about writing email/web articles etc. Could
someone point it out to me?
Thanks
Eoghan
I've run into an instance using this great new feature (Append to Each
Line in Selection) in release 1.1b3 where I think we can improve
usability. I'll do my best to explain it, but it will be easier to
understand by referring to the attached image (sorry). Also. I may be
missing something obvious, as I'm a "switcher" with deeply embedded
Windows keyboard navigation habits. I'm currently attending rehab for
this condition : )
Here goes:
+ I'm in a 27 line text file
+ Lines 1-21 have data
+ Lines 22-27 are blank
+ I've just finished Appending to Each Line in a Selection (Option/Alt
+ Cmd + A) which covers lines 18-21
+ Line 18-21 are indented a couple of columns
+ My cursor no sits at the end of line 18
From here I would like to put my cursor to the beginning of line 22
WITHOUT using my mouse.
Having search through the GUI and played with all possible key strokes
(I think), two options arise...
OPTION 1: Option/Alt + Arrow Down
This takes me to the same column of line 21, from where I can do
another "Arrow Down" and then a Ctrl + Arrow Left" to arrive at my
destination (Column 1 of line 22). This option requires a total of 5
keystrokes. Entirely too many to be optimally usable
OPTION 2: Go to Line (Cmd + L)
This option require also require 5 keystrokes (4 if the target line
number is a single digit, 6 if triple)
One might also try Option or Control + Page Down, which takes you to
the bottom of the document (line 27), but then I have to make my way
back up to line 22 (many keystrokes).
Assuming I have not missed anything painfully obvious. I'm wondering if
we can add such functionality to the Navigation menu. Basically "Go to
first column of the next blank line." Possibly map this to
"Ctrl+Option+PageDown/PageUp" if that doesn't conflict.
IT NOW OCCURS TO ME, HAVING REVIEWED THIS, THAT MAYBE (ALSO) HAVING THE
CURSOR END UP AT THE END OF THE LAST LINE IN THE SELECTION WHEN
EXECUTING AN APPEND TO EACH LINE IN SELECTION MIGHT BE BETTER?
Great beta 3 Allan !!!
In the last week I have been writing some postings on a private forum,
which uses UBB code [b]bold text[/b] tags. As I prefer to work in a
bigger text editor window and in larger text sizes, I create my post in
TM, and then post it into the posting form.
While doing this, I am missing the "Insert Closing Tag" functionality
of HTML, and started wondering about how I could extend it to handle
the basic UBB tags as well. Unfortunately I didn't get very far as I
can't really see the starting point. :(
Ideally it would be great to have a syntax .tmbundle that made
[b]bold[/b] and so on. Anyone has any ideas or input to help with ??
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I think that would be a great feature addition. Not sure how much that would complicate the snippets window though. Still it would be great to have.
- Bill
>Yeah I know it's not the same thing, sorry. I was unclear. What I
>described was an additional feature I would like to see.
>
>On Jan 26, 2005, at 10:25 AM, Jan-Ole Esleben wrote:
>> Yeah, I know what you mean, but it's not really the same thing. It
>> doesn't allow for mirroring a variable from the outer snippet, for
>> example.
>>
>> Ole
>>
>>
>> On Wed, 26 Jan 2005 10:09:39 -0500, Justin Blake <justin(a)blaix.com>
>> wrote:
>
>
>>>> On Jan 26, 2005, at 9:53 AM, Jan-Ole Esleben wrote:
>>>>
>>
>>
>>>>>> I wonder if I am the only person that would love to see nested
>>>>>> snippets.
>>>
>>>
>>>>
>>>> Nope, I wanted it to. And actually I thought it was possible for what
>>>> I
>>>> was trying to do. I just wanted to use an existing snippet when inside
>>>> the placeholder of another snippet. So if I expand a snippet with tab,
>>>> then start typing a new snippet in the placeholder, my next tab would
>>>> expand that new snippet instead of moving to the next placeholder of
>>>> the first. I might not be explaining this properly...
>>>>
>>>> Know what I mean?
>>>>
>>>> - Justin
>>>>
>>>> ______________________________________________________________________
>>>> For new threads USE THIS: textmate(a)lists.macromates.com
>>>> (threading gets destroyed and the universe will collapse if you don't)
>>>> http://lists.macromates.com/mailman/listinfo/textmate
>>>>
>>
>>
>> ______________________________________________________________________
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>
>
> So I partially take back the thing about AS being the answer. AS (or
> apple events) will definitely be the first thing used to expose the
> editor API, which should allow the editor API to be called in most
> scripting languages.
osa (applescript) would be a good start.
and like you say below, it would be needed to get back into textmate
with a simple cgi-type callback interface.
> But for callbacks I'm not sure AS makes sense with the current anti-AS
> attitude of TextMate (and AS just being crappy for the things you'd
> normally do in a callback/user function).
it is kinda high-overhead. and fiddly.
> One (easy to achieve) solution is to run a script using bash, as
> currently done with commands, but give it arguments and probably re-use
> the environment space for all callbacks made for/from the same buffer.
simple is good. for me.
but i likely wouldn't be doing things that required much state, so
simple might bother others more than me.
> The other extreme is to embed a scripting language interpreter into
> TextMate...
python. =)
would love it if it was a language i liked. wouldn't like it so much if
it was a language i didn't know/like. suspect others feel the same way.
...some people would be happy because you picked what they wanted. more
people would be unhappy because you didn't pick what they liked.
...if you choose to embed python, ignore that comment.
> Another solution (which could simply be in addition to the shell
> solution) would be to have TM delegate all scripting stuff to a plugin,
> and the 'embedded language' would lie entirely in this plugin. That way
> it would appear as if the embedded language was Python, Ruby, etc.
i fear you would end up with one good plugin (the one you use) and a
stack of broken plug-ins. but i'd be delighted if the textmate
community came through and proved me wrong.
a plugin would be harder to write that a syntax file.
> hmm... I'll need to give this some more thoughts -- though this is not
> something I plan to do over the next weeks, so there's plenty of time,
> and I'm just thinking out loud here! :)
not registered, demo's expired right now. fell back to textwrangler
(funny that the free editor is better than bb****. pay less, and they
remove the bloat for you).
but i follow the list more than any other list currently.
can't wait for textmate to grow up. mostly i'm waiting for
inter-process communication of some sort (what's being described by
allan here).
...and some way to keep the windows from staggering all over the place
when they open. that drove me nuts. just let me open them all on top of
each other, i'll navigate with the keyboard.
i really miss snippets. can't wait to come back to textmate.
Will there be any way to evaluate TextMate 1.1 (betas or release) if one
has already tried 1.0? I decided I wasn't quite ready for 1.0 (because
of the black background when syntax highlighting was turned on) but it
looked really promising, so I want to check out 1.1.
Regards,
-- Russell
I think one of the primary feature requests I'd like to see is the
standard command +/command - mechanism of increasing or decreasing the
font size on the display. I find this invaluable when other people are
looking at my screen. For some reason most people don't seem to like
Monaco 9.0 on 1600x1200.
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
Hi
Sorry if this has been discussed already, but is there any plan to
introduce split window functionality? I am a sometimes user of JEdit,
and I really miss being able to say, look at an XML doc and its XSLT
within a project, in a split window environment...
d
Well now I've got my old default bundles back but I can't find the SQL
one anywhere! And it's not on the wiki...
Where'd it go?
Beuhler? Anyone? :)
Paul
PS Sorry to be a pest... today's an all-SQL day ;)
This is something I sort of miss from emacs (even though I've been
using vim for a few years instead now). It would be especially nice to
be able to view the same file/buffer in multiple windows or even a
split view ala Xcode. I've been looking around ab it for this and I'm
not presently seeing it. If it is just something that I am missing, a
pointer in that general direction would be most helpful.
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
Hi there,
why you not port this very cool and amazing tool to linux?!?!
I think many Linux-User glad to have a so power full tool because is much
easier to work with than with vi or emacs...
--
Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
The Thunderbird mail client and Mozilla's bookmark editor both have a
neat feature when you're cursoring through hierarchical lists (threaded
view in Thunderbird): when an item is selected and you hit the
left-arrow (or arrow-left?) key, it jumps to the parent item. Hit it
again and the parent item closes. The latter already happens in a lot of
places, would be nice if the former behaviour was put in as well :-)
/MS
When I bring up the bundle editor and select a syntax, I just get "No
Language Editor Available". I don't see anything in the release notes
saying this doesn't work yet. Am I missing something?
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Love the new features! But, where has syntax highlighting gone? Now my
files are appearing in my txt file color scheme, without the option to
change syntax?
Just a tip to share. If you want to get projects started really
quickly and have more fun too : ), open a folder with textmate using
quicksilver. Instant project.
--
Best regards,
Lang Riley
new icon! But looks better in the background of the Bundle Editor than
in my dock :(
I like the "smart" syntax/command/snippet/etc control, though my
previous PHP background color is lost! (Guess I'll have to figure out
how to change it back ;)
Thanks Allan!
Paul (jetlagged, thus working at 1:50AM :)
What about adding a preference for tabs that works like this:
When checked, any file clicked on in the project drawer is
automatically added as a tab. This is the current behavior.
When unchecked, you must command-click (or something like that) to add
a file to the tab bar.
This would work well for me, because many times I'm working on a set of
files, but i must refer to other files temporarily (eg to check an
interface). I always forget to close those files and I end up with a
lot of extra files in my tabs that I don't want open for more than a
moment.
The idea above would allow you to have a set of open tabbed files that
comprise your working set. Files that are not specifically opened as a
tab will only appear while you are looking at them. When they are being
viewed, all the tabs will be in the off state. When you click a tab
again, the temporary file will disappear. To look at it again you must
choose it from the project drawer.
Come to think of it, this is a bit like the behavior of Safari or
Firefox. Imagine if every page you clicked on became a new tab in your
browser.
Ed
I was very pleased to find that the TM Service plays well with
Apple's iWork Pages. I love the TM editing service and use it every
day and twice on Sundays... Pages doesn't have any regexp search and
replaces, etc, and it's nice to kick in TM when I need it.
I also am a big fan of the column editing, but that's another story...
Just a positive post while we all try to resist asking Allan when the
next beta's coming out. Doh! Oops.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Hi
I have my project drawer open, but how do i make all files open in
textmate? im using php - which open fine, but also xsl, which open in
my old editor (jedit). Shouldnt clicking the file while in textmate,
not open it in textmate?
Thanks
Eoghan
Hello,
I recently purchased TextMate and love the product. I start
understanding more of it every day. Kudos to the development team.
I'd like to make a request (or maybe this is currently possible and I
just don't see it?) to be able to have the state of the project be
"remembered" as I open and close projects/TextMate. Meaning, if I have
25 folders in a project, and I have 6 of those folders listing
contents, I'd like that state to show up next time I open TextMate
instead of having to navigate through the project again and open those
folders.
I searched the archives and couldn't find any similar requests or
notes, so apologies if this redundant.
P.S. Is there some kind of "intro to TextMate" documentation that
basically runs over what snippets, macros, etc. are and how they are
used/created/handled in TextMate? Just a basic doc on "here's what
makes TextMate great" with some examples would be terrific.
Keep up the good work.
--
Thanks,
Jeremy Brown
I love textmate to death and use it exclusively for all my development
since its release.
The only area where I wish for some improvement is the file management.
Most of my work is in projects which contain hundreds of files and
folders so this limits the tab bars usefulness quite a bit. It seems
to be easier for me to start several textmate instances one pointing
to different logical parts of the application.
The first and bigger proposal is to bring intelligent file opening to
textmate. This works much like quicksilver. A hotkey opens a edit
window and an attached dropdown window specializes itself more and
more as you type.
A simple search would be "user" which would offer you all files with
the word user in them.
A more complex example would be typing "usrg" with would find
USeR_Gateway.rb, USeRGlobals so on. I recommending installing
quicksilver for a demonstration of the paradigm. Its great emerging
technology and would be a great competitive advantage to have natively
in TM. The same code could later be used to jumping to methods within
a file.
Another proposal would be introduction of intelligent tab fading.
During inactivity the least recently used tabs start to fade out and
close themselves after a while. This happens slower when there is lots
of space in the tab bar and faster the more items there are. This
would be great to cut the tab clutter and get rid of files
automatically with which you are done. Currently i'm finding myself
using close all windows all the time.
--
Tobi
http://www.hieraki.org - Open source book authoring
http://blog.leetsoft.com - Technical weblog
Hello everyone.
I have used TextMate for close to a month now and really like it.
One thing I would love to have is vertical guides, that flow from
opening if/while/for til they close( Yes I program in Python, why do you
ask ;) ). Kind of how many mail programs quote messages. Ofcourse there
is a chance that the guide-line will hit a comment or unindented code
(Not in Python though), but it could just skip drawing on that line. The
vertical lines could use different colo[u]rs for different indentation
levels.
Another thing that would be nice, was if I could double click a nib-file
in the project drawer and it would launch Interface Builder. Right now
it shows me the contents of the nib folder, meaning I have to open the
nib via the Finder. A step I would rather not do.
Joachim Mårtensson
Apologies if this has been discussed before, I'm away from my mail archive
and I couldn't search.
One of the more useful features of vim (for me at least) is the ability to
pass a number as a parameter to a command, most of which used that as the
number of times to repeat the command (though there are more specialized
commands, like n%, which positions the cursor n% of the way down from the
top of the file). This is especally useful for operations like "delete
the next 10 tokens" (10dw), or jump down 25 lines (25j -or-
25<down-arrow>), and I really made use of it when prototyping OCaml code
with its toplevel loop, where errors in long functions are pointed out by
the number of characters from the start of the input string, not its line
and column numbers... So if I am told there's a problem with the code
between characters 2674 and 2679, I just have to position the cursor at
the top of the text I entered and enter 2674<right-arrow> and it will take
me to the start of the offending code.
Now, as far as I can tell, TextMate doesn't have anything like this built
in (a "repeat the next event n times" command), or am I just missing it
somewhere? If it's not in there, could you consider this as a feature
request for such a thing?
One more thing, might it be possible to alter the behavior of Go to
Line... to also accept a negative number, -n, and go to line n from
the bottom?
Would anyone else find these things useful, or am I the only odd one in
the bunch?
William D. Neumann
---
"There's just so many extra children, we could just feed the
children to these tigers. We don't need them, we're not doing
anything with them.
Tigers are noble and sleek; children are loud and messy."
-- Neko Case
Think of XML as Lisp for COBOL programmers.
-- Tony-A (some guy on /.)
Hi,
I just noticed today an unexpected save behaviour. Sometimes after I
started editing a file, I realise that I should have named the file
something else. No problem, I drop into my terminal and rename the
file. Normally (even MS Word behaves like this), the program realises
the name change and updates it's menu with the new file name. TM just
saved the file again, with the old name and I got stuck with two files
with the same content. That is the first time I've seen that happen.
//johan
What's New:
Version 1.1.1rc1:
. Much improved handling of unknown character encodings.
. Improved method of locating valid External Editors.
. * Support for TextMate as an External Editor.*
. Support for vi and emacs as External Editors.
. Fix for date sorting.
. Much cleaner backend code (a continuing effort).
. Experimental spring-loaded folder support.
. Improved update checking.
. Filename abbreviation with ellipsis, like the Finder.
. SHA1 Checksum: 91aa62516af0a49c10e7bf8f46c9c790089da7e0
http://www.macupdate.com/info.php/id/8761
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /If you can't describe what you are doing as a
process, you don't know what you're doing./-- W. Edwards Deming
dear everyone,
I have added a couple of commands to the Invisibles.tmbundle. One
turns the 'smart' quotes that look awful in HTML, etc., into plain
quotes. The other deletes all 'non-ASCII' characters.
Now your favorite non-English language might have some characters
that Invisibles thinks are gremlins and which get colored red and
deleted in the Zap. You can change the pattern yourself to better
suit your needs, in the Invisibles.plist and the Zap Command. You may
want to refer to an ASCII chart (just google it).
You can get this last bundle from http://math.sfsu.edu/hsu/textmate/
but most of the fun stuff is happening at the TextMate SVN site.
http://anon:anon@macromates.com/svn/Bundles/trunk
Perhaps soon there will be a cron script that zips up the latest
Bundles automatically...
best, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Sorry about that, it appears my email client decided to receive every
message I had ever received all over again, and generated an auto reply to
the digest message with nothing in it.
Damn Entourage....
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
On 19/1/05 12:00 pm, "textmate-request(a)lists.macromates.com"
<textmate-request(a)lists.macromates.com> wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Solution for cut to end of line (emacs ctrl-k)? (Brad Miller)
> 2. Re: Solution for cut to end of line (emacs ctrl-k)?
> (Allan Odgaard)
> 3. Re: feature request: autosave (Ryan Schmidt)
> 4. Re: feature request: autosave (Allan Odgaard)
> 5. feature request: named bookmarks (Nick Hristov)
> 6. Re: Solution for cut to end of line (emacs ctrl-k)? (Brad Miller)
> 7. Re: feature request: named bookmarks (Sam Andrews)
> 8. Re: feature request: named bookmarks (Allan Odgaard)
> 9. feature request: toggle foldings for blocks of type x
> (Ralph P?llath)
> 10. Re: Solution for cut to end of line (emacs ctrl-k)?
> (Allan Odgaard)
> 11. Re: Solution for cut to end of line (emacs ctrl-k)?
> (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 18 Jan 2005 09:49:55 -0600
> From: Brad Miller <bonelake(a)mac.com>
> Subject: [TxMt] Solution for cut to end of line (emacs ctrl-k)?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <994BDC6A-6968-11D9-BEFA-000D93B6E43C(a)mac.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> For the last 7-8 weeks I've been trying to retrain myself to not use
> ctrl-k/ctrl-y. Apparently it cannot be done. I've spent more time
> undoing the crazy results of ctrl-k followed by ctrl-y than I care to
> talk about.
>
> I've tried the macro route, and I now understand that macros have their
> own clipboards, which explains why the text that I cut inside the macro
> just dissappears forever.
>
> As suggested by someone on this list earlier (back in November), I've
> created a macro to select to end of line, followed by a command that
> cats the selected text into a temp file, and I've put both of those
> little commands inside yet another macro bound to ctrl-k. I've bound
> ctrl-y to a macro that cats the file into the current buffer. The
> problem with this approach is that now ctrl-k / ctrl-y have their own
> private little clipboard. so ctrl-y can't paste anything from the
> system clipboard or a 'regular' cut/paste.
>
> Does anybody have a better solution to this problem yet? I'm so happy
> with so many things about TextMate, and I have paid the license fee,
> but this morning I found myself trying out other editors again :-(
>
> Thanks,
>
> Brad
>
> Brad Miller, PhD
> Assistant Professor
> Luther College
> http://www.cs.luther.edu/~bmiller
> jabber: bnmnetp(a)jabber.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFB7TAot6pClM1VKiYRAr1/AJ95KPx7Pm+5DEnUC8Vi76NPx4KhWACfQSWB
> IrUCwUhZ5DZQ87C5rFsfsUA=
> =xeLB
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 18 Jan 2005 17:08:14 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] Solution for cut to end of line (emacs ctrl-k)?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <284FF324-696B-11D9-BE69-000D93589AF6(a)macromates.com>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
>
> On Jan 18, 2005, at 16:49, Brad Miller wrote:
>
>> [...] so ctrl-y can't paste anything from the system clipboard or a
>> 'regular' cut/paste.
>
> You can get the contents of the clipboard with 'pbpaste' and store
> stuff on it with 'pbcopy' (they use stdin/stdout). Unfortunately they
> do not use UTF-8. But maybe you can make a better solution than your
> current (i.e. one that use/interact with the „real‰ clipboard) until I
> get around to native support for kill-buffers.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 18 Jan 2005 18:23:12 +0100
> From: Ryan Schmidt <textmate-2004(a)ryandesign.com>
> Subject: Re: [TxMt] feature request: autosave
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <A16CD5D8-6975-11D9-9289-000D9335D2CC(a)ryandesign.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> It seems nobody has mentioned the autosave implementation that I find
> best:
>
> While a document is open and "dirty" the editor saves a copy of the
> file periodically in a temporary location (probably in something like
> ~/Library/ApplicationSupport/AppName/TemporaryFiles). Even after such
> an auto-save, the document still appears to the user to be dirty, and
> behaves the same way as it would without autosave. When the user asks
> to save the file, it actually gets saved to its real location. Clicking
> the close box asks if you want to save, as usual. Closing a document
> also removes the temporary file.
>
> The point of this is to prevent data loss in the event of application
> crash or power loss. The next time the editor opens, it checks its
> temporary file directory and opens any that are still there, and they
> appear exactly the way they did last time the app was open -- as dirty
> windows, and if the user saves them, they go where they originally
> were.
>
> I think Mail.app has got a pretty good implementation of this. Of
> course it's adapted to emails, not files. In Mail.app it makes sense,
> if you're composing an email and quit without saving or sending, that
> it auto-saves this mail to the Drafts folder, and the next time you
> open Mail.app it auto-opens the mail again. That doesn't make sense in
> an editor. But the save-a-copy-to-save-my-ass-if-my-Mac-crashes feature
> has merit.
>
> As some others have already said, littering the directory with .bak
> files is a bad idea, for the can-be-read-from-a-webserver reason as
> well as the wreaks-havoc-on-the-version-control-system reason, not to
> mention making it impossible to find the file you need. Creating backup
> files with dates in the name is equally bad; if that's what you want,
> then you need to read about and use a version control system.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 18 Jan 2005 18:31:04 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] feature request: autosave
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <BA915C2C-6976-11D9-BE69-000D93589AF6(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Jan 18, 2005, at 18:23, Ryan Schmidt wrote:
>
>> I think Mail.app has got a pretty good implementation of this. Of
>> course it's adapted to emails, not files. [...]
>
> I also love Mail.app for that! I was actually considering it for
> TextMate, because then it could take the job of stickies, which I do on
> occasion want it to -- but there should be some way to control it of
> course.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 18 Jan 2005 15:12:01 -0600
> From: Nick Hristov <hrisnik(a)iit.edu>
> Subject: [TxMt] feature request: named bookmarks
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <9850AC38-6995-11D9-9D09-0050E4D0063B(a)iit.edu>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Apologize if this has been requested before.
>
> I would really like to see named bookmarks in TextMate. I think that a
> small popup button on the bottom of textmate window next to the "Line:
> " field will be cool.
>
> Userland, what's your take on this?
>
> Nick
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFB7Xuh53uNWFjvs2YRAidpAJ9Y2g5qH+pppJ1eEHDH537dETFfoQCfUmeU
> EJnudYkXx2MOq5+i5czURCY=
> =leUB
> -----END PGP SIGNATURE-----
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 18 Jan 2005 18:29:27 -0600
> From: Brad Miller <bonelake(a)mac.com>
> Subject: Re: [TxMt] Solution for cut to end of line (emacs ctrl-k)?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <2D66B7A8-69B1-11D9-AA0A-000D93B6E43C(a)mac.com>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
>
> Thanks,
>
> No I'm very confused.... I tried substituting
>
> pbcopy for cat > "/tmp/fakeKill" and
> pbpaste for cat "/tmp/fakeKill"
>
> in my two commands, which work fine except for the lack of
> compatibility with the clipboard. Sadly, when I run the pbpaste
> command I just get a spinning beach ball for about 30 seconds and then
> nothing gets pasted.
>
> I tried running pbpaste from the command line, just to see if the
> pbcopy part was working, and the copy part appears to work when I
> create the macro, but when I test it it does not work anymore. It does
> not seem like the selectToEnd of line part is working....
>
> Any ideas?
>
> Thanks,
>
> Brad
>
> On Jan 18, 2005, at 10:08 AM, Allan Odgaard wrote:
>
>> On Jan 18, 2005, at 16:49, Brad Miller wrote:
>>
>>> [...] so ctrl-y can't paste anything from the system clipboard or a
>>> 'regular' cut/paste.
>>
>> You can get the contents of the clipboard with 'pbpaste' and store
>> stuff on it with 'pbcopy' (they use stdin/stdout). Unfortunately they
>> do not use UTF-8. But maybe you can make a better solution than your
>> current (i.e. one that use/interact with the „real‰ clipboard) until I
>> get around to native support for kill-buffers.
>>
>> ______________________________________________________________________
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
> Brad Miller, PhD
> Assistant Professor
> Luther College
> http://www.cs.luther.edu/~bmiller
> jabber: bnmnetp(a)jabber.org
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 19 Jan 2005 08:54:51 +0000
> From: Sam Andrews <sam(a)samandrews.com>
> Subject: Re: [TxMt] feature request: named bookmarks
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <41EE205B.2050903(a)samandrews.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
>> I would really like to see named bookmarks in TextMate. I think that a
>> small popup button on the bottom of textmate window next to the "Line: "
>> field will be cool.
>>
>> Userland, what's your take on this?
>
> i've always wanted to see a per-project to-do list (in a drawer, i expect)
> that
> can be linked to named bookmarks.
>
> so... open project drawer, select to-do view, chose entry - tm opens the file
> and jumps to the bookmark. then if you clear the bookmark in the left-hand
> margin it checks off the to-do (or sub-to-do) and vice versa.
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 19 Jan 2005 10:33:44 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] feature request: named bookmarks
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <3660346E-69FD-11D9-9B58-000D93589AF6(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Jan 19, 2005, at 9:54, Sam Andrews wrote:
>
>> so... open project drawer, select to-do view, chose entry - tm opens
>> the file and jumps to the bookmark. then if you clear the bookmark in
>> the left-hand margin it checks off the to-do (or sub-to-do) and vice
>> versa.
>
> Probably you can pull something similar off with a command that greps
> through all project files (e.g. after TODO) and have the pattern set to
> parse grep's output.
>
> This will give you a list of all bookmarks which can then be clicked to
> jump to the appropriate file. Using the format string you may be able
> to present it with the indent you speak of.
>
> Though you won't get the checkmarks ;)
>
>
>
>
> ------------------------------
>
> Message: 9
> Date: Wed, 19 Jan 2005 10:58:33 +0100
> From: Ralph P?llath <lists(a)poellath.org>
> Subject: [TxMt] feature request: toggle foldings for blocks of type x
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <ADF2F1FB-6A00-11D9-8702-000D9334815A(a)poellath.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Hi,
>
> One thing that I'd love to see in TM is the ability to fold all blocks
> of a certain type, e.g. multiline comments.
>
> Cheers,
> -Ralph.
>
>
>
> ------------------------------
>
> Message: 10
> Date: Wed, 19 Jan 2005 11:10:44 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] Solution for cut to end of line (emacs ctrl-k)?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <61A52A64-6A02-11D9-9B58-000D93589AF6(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Jan 19, 2005, at 1:29, Brad Miller wrote:
>
>> Sadly, when I run the pbpaste command I just get a spinning beach ball
>> for about 30 seconds and then nothing gets pasted.
>
> hmm... yes... problem is that when TextMate claims ownership of the
> clipboard, all others need to ask TM for the contents, but TM is busy
> asking pbpaste for the command result.
>
> But if you make ctrl-k write to the normal clipboard, ctrl-y should
> just be re-bound to cmd-v!?!
>
>> I tried running pbpaste from the command line, just to see if the
>> pbcopy part was working, and the copy part appears to work when I
>> create the macro, but when I test it it does not work anymore. It
>> does not seem like the selectToEnd of line part is working....
>
> Come to think of it, the problem is probably the same as to when not
> using pbcopy (local clipboard in macros).
>
> I did a little bit of experimenting, and I can make it work if I let
> the macro execute this command (input: selection, output: discard):
>
> tmp=`mktemp -t tm_clip`; cat >$tmp; { sleep .2; pbcopy <$tmp; rm $tmp;
> } >/dev/null 2>&1 </dev/null &
>
> What it does is first store selection in a file, then asynchronously
> sleep for .2 seconds and _then_ copy the file contents to the clipboard
> (so that should be after TM thinks the macro is done, and thus after TM
> resets the clipboard).
>
> I admit, it's not very elegant...
>
>
>
> ------------------------------
>
> Message: 11
> Date: Wed, 19 Jan 2005 11:16:21 +0100
> From: Allan Odgaard <allan(a)macromates.com>
> Subject: Re: [TxMt] Solution for cut to end of line (emacs ctrl-k)?
> To: TM Users <textmate(a)lists.macromates.com>
> Message-ID: <2A9B2D4D-6A03-11D9-9B58-000D93589AF6(a)macromates.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On Jan 19, 2005, at 11:10, Allan Odgaard wrote:
>
>> I admit, it's not very elegant...
>
> I may add an option to disable local clipboard on a per macro basis in
> b3 or b4, since I think this feature is probably too often the culprit
> of end-user customization.
>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> End of textmate Digest, Vol 4, Issue 31
> ***************************************
--
Head of Interaction Design
Tribal DDB
e: chrisj(a)tribalddb.co.uk
t: +44(0) 207 258 4522
1.
I want "File-->Save" to be disabled when a file just has been opened or
saved. The fact that it is not grayed out makes me think TM didn't save
the file although I pressed CMD-S
2.
I don't want to save a file just to try out a different encoding. Many
times per day I open files where my special swedish letters åäö is
messed up because applications like SSE doesn't save the file properly
for TM to understand which encoding it uses so it gets wrong all the
time.
I'd really really like to see "reinterpret this file with encoding: "
and "convert this file to encoding: " not only reinterpret as TM uses
(which also reloads the file, so one has to make sure to save first)
3.
A Document saved by SSE as ISO-Latin1 and open by TM is recognized as
that encoding. But saving the file with TM now magically changes the
file to UTF-8.
Don't get me wrong, I love TM... bought my license and haven't regret
it at all! Just need a few changes to truly love working with it :)
Kind Regards
Ivar
Well I just got back from an extended vacation and I am starting to put
textmate back to use but for the life of me I can not find any command
to show invisible characters. I thought it had this feature...?
What am I missing?
Thanks,
Eric
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For the last 7-8 weeks I've been trying to retrain myself to not use
ctrl-k/ctrl-y. Apparently it cannot be done. I've spent more time
undoing the crazy results of ctrl-k followed by ctrl-y than I care to
talk about.
I've tried the macro route, and I now understand that macros have their
own clipboards, which explains why the text that I cut inside the macro
just dissappears forever.
As suggested by someone on this list earlier (back in November), I've
created a macro to select to end of line, followed by a command that
cats the selected text into a temp file, and I've put both of those
little commands inside yet another macro bound to ctrl-k. I've bound
ctrl-y to a macro that cats the file into the current buffer. The
problem with this approach is that now ctrl-k / ctrl-y have their own
private little clipboard. so ctrl-y can't paste anything from the
system clipboard or a 'regular' cut/paste.
Does anybody have a better solution to this problem yet? I'm so happy
with so many things about TextMate, and I have paid the license fee,
but this morning I found myself trying out other editors again :-(
Thanks,
Brad
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp(a)jabber.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB7TAot6pClM1VKiYRAr1/AJ95KPx7Pm+5DEnUC8Vi76NPx4KhWACfQSWB
IrUCwUhZ5DZQ87C5rFsfsUA=
=xeLB
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Apologize if this has been requested before.
I would really like to see named bookmarks in TextMate. I think that a
small popup button on the bottom of textmate window next to the "Line:
" field will be cool.
Userland, what's your take on this?
Nick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB7Xuh53uNWFjvs2YRAidpAJ9Y2g5qH+pppJ1eEHDH537dETFfoQCfUmeU
EJnudYkXx2MOq5+i5czURCY=
=leUB
-----END PGP SIGNATURE-----
hi guys
somehow one of my old .php files was encoded as a BBEdit document so
when I double-clicked BB opened up... what a shock! Like travelling
back in time. Honestly I wondered if it had booted Classic up, the menu
looked so old :)
[Disclaimer, that's BB 7.x not 8.0, so maybe they freshened it up.]
Anyway that shows how fast TM has progressed. Just about the only thing
I miss (because I screwed up a bunch o' code today ;) is the autosave
feature where each file is backed up before each change. Can we please
have that in TM for us klutzes?
p.
Three changes.
I fixed the -w flag to await the closing of the editing window
without any RETURN prompt. I stole the code from Marcin's
<otheraccount(a)verizon.net> recent script. (What is Marcin's last
name?)
I added a -t flag like bbedit, so you can name the piped input.
I also added the ability to pass a -u flag so filenames are treated
as URLs. It then uses curl to decipher/download the filenames and
passes the results to TM. Unfortunately, this only works for
anonymous FTP and not most FTP/SFTP setups. I'm sure someone
enterprising could do it, but it doesn't seem worth it unless TM
saves files back to S/FTP. On the other hand, bbedit doesn't handle
http at all! :)
Here is the current help file.
>TextMate Command Line Tool
>usage: tm [-chtuw] filename [filename ...]
>
>This tool opens files, directories, URLs or (with no filenames)
>standard input.
>
> -c Create a new file.
> -h Show this help.
> -t Specify a title for piped input. Overrides other flags.
> -u Treat filenames as URLs (e.g. tm -u www.google.com). Uses curl.
> -w Waits for the edited file window to close before ending (for
>external editing)
Here is (from what I can tell) lacking in comparison to bbedit.
- jump to line number
(probably you'd want to use a command with output parsing anyway...
see e.g. Perl>PerlErrors)
- print (probably needs some Applescript... Marcin?)
- FTP/SFTP (prob need support from TM itself)
The latest script is still at
<http://macromates.com/svn/Bundles/trunk/Scripts/tm>.
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
>The whole syntax highlighting thing is going to be overhauled, so in my
>opinion, it will be a bit a waste of time... The SH files will all have
>to be re-written or updated soon, so I don't see the need to do it
>twice or more, but if you've got lots of time on your hands, go for it
>;)
Ah, you must not have any major projects to procrastinate from... :)
>My advice is "sit tight, and wait for the good things to come", but of
>course, I am just one man :)
Yes, the bundles will need re-writing, but it feels like a stop-gap
measure is possible with some work and a small amount of coordination.
It also seems like Allan has a lot of stuff on his to-do list! 1.2
could be a long ways off...
So, to put my money where my mouth is, I tried out Chris Thomas's
hierarchical scheme with the Perl.tmbundle just to see how hard it
would be. It actually didn't take very long; the main issue was
deciding where in the hierarchy things should go, like variables and
functions. Things that were unlikely to have an analog in another
language (like POD) I put in a hierarchy beneath *.perl.
I also renamed the Latex innards. It was a little harder, as it's not
really a programming language, but I took a shot at it.
- Eric
ps. These are the classes I used. I know I'll just have to change
them again, but it _feels_ more organized. :)
comments.line.perl
comments.perl.POD
keywords.control.perl
keywords.functions.perl
keywords.functions.perl.arrows
keywords.functions.perl.comparison
keywords.functions.perl.filetest
keywords.variables.perl
keywords.variables.perl.#
keywords.variables.perl.special
keywords.variables.perl.special#
strings.backticked.perl
strings.double-quoted.perl
strings.double-quoted.perl.q
strings.double-quoted.perl.qlinestart
strings.program-block.perl
strings.regexp.perl
strings.single-quoted.perl
comments.line.latex
keywords.functions.latex
keywords.functions.latex.citations
keywords.functions.latex.sections
keywords.latex.braces
strings.latex.equation-$
strings.latex.equation-$$
strings.latex.equation-braces
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Hi Allan,
I love this new features in the latest release of SubEthaEdit: It
installs a shell command, see, which lets you open up files from the
command line by just typing see myfile.rb (or some other file—you get
the picture).
Now could we get the same thing for TextMate, please? That would be
really useful, since I'm always working in both TextMate and the shell
at the same time, and if I need to edit a particular file, it would
typically be faster to just open the file from the shell, than to grab
the mouse and click-expand/scroll around the folders tree to locate and
open it.
I know that I can say open file.name, if that file is already
associated with TextMate, but it opens in a separate window, not as
part of my project. It would be nice with a command that just always
opens TextMate, regardless of associations.
And when you make this feature, make sure you check if the file is
already included in one of my open projects, and open it there, not in
a separate window.
Thanks! :)
/Lars
Also posted at http://www.pinds.com/blog/one-entry?entry%5fid=21472
>Of course, what one could do is establish hierarchy using the names,
>and then have the editor parse the name keys.
Yes, I believe something like this will have to be done.
From an old post:
>For the record, BBEdit 8 recognizes the following colors for customization:
>
>General: Foreground, Background
>Guide Contrast [the color of non-page window]
>Custom Highlight Color: Primary, Secondary
>Highlight Insertion Point Line Color
>Source Code: Keywords, String Constants, Comments
>HTML Tags: General, Processing Instructions, Anchor, Image, Names, Values
Are these enough categories to go with? Is there some common/known
taxonomy of code categories we can use? If we can settle on a scheme,
bundle writers can touch up their work right away.
I like the fact that TM's color schemes are so customizable; but one
wonders how much complexity a typical user will want. There should
probably be some kind of scheme to install the color schemes of
others...
And if one sets colors in a global stylesheet, how should one handle
one language embedded in another? E.g. PHP/HTML or Perl/HTML?
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
>> I am about to hack up a small Cocoa tool to edit the syntax
>> highlighting of the bundles... it's a pain to do it manually. Would
>> there be any interest among you to distribute it here?
>>
>> It will be free of course, and I will provide the source.
>
> If you have the time, sure go ahead, but remember that Alan is
> planning this as a inbuilt feature, so perhaps you're better off
> spending that time relaxing with a beer.
>
> Then again, if you're sharing the source, you might give Alan a few
> ideas along the way :)
I vote for relaxing with a beer AND programming. I'd love to see the
source. I think Allan is planning something rather general and
powerful. In the meantime people would probably appreciate it if
(1) bundle writers standardized the 'names' of the various color classes and
(2) somebody wrote a little GUI that let people pick a standard set
of colors with the color picker and then propagate the changes across
all bundles.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Hello, list.
I am about to hack up a small Cocoa tool to edit the syntax
highlighting of the bundles... it's a pain to do it manually. Would
there be any interest among you to distribute it here?
It will be free of course, and I will provide the source.
Nick