[TxMt] force unknown file type to open

David Morton mortonda at dgrmm.net
Wed Apr 2 01:44:30 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Since upgrading to Leopard, I've had one very annoying problem.  I  
cannot get textmate to open a file when it has no extension and has  
not been explicitly set to be opened by textmate yet.  I've read the  
blog on Leopard issues, and while this is similar to the quickview  
issue, I think this is a new perspective.

In particular, I work with a lot of svn or svk checkouts, set up as a  
project in the drawer. One of the filenames of a most important part  
of the project is amavisd-maia.  no extension, as is common for a lot  
of unix programs.  It's actually a perl file, but textmate (OSX  
probably, but textmate follows the suggestion) insists on calling it  
an executable and running it.  Worse, it does so silently with no user  
feedback at all... it took me forever to find out that it was  
executing it without a terminal.

The only way to make it work is to open the info view in finder, and  
change the program to open it with, but it only works on the one  
file.  If I wipe the project and check out a new copy, it does the  
wrong thing again.  As near as I can tell, there is no way to tell OSX  
how to treat no-extension files.

I understand you want textmate to do the right thing when opening an  
image or something, but why can't there be a setting to force  
something to open in the editor?  An option in the right click menu,  
"open in editor"?  A modifier when clicking?


David Morton
Maia Mailguard http://www.maiamailguard.com
mortonda at dgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFH8uT+Uy30ODPkzl0RAvvMAJsEX9nWvAHEoIEUQBp9UDANGWlLtgCfcE2d
6EQOhkTF3AZlTGeFUWNJ3Gk=
=BJsD
-----END PGP SIGNATURE-----



More information about the textmate mailing list