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