.sml file type on Mac OS X

  • Follow


[Originally sent to comp.lang.ml, but it never appeared.]


I've been using Aquamacs Emacs to edit SML source files on a MacBook 
Pro. Originally, files ending in .sml were associated with QuickTime, 
but I used the file info control panel (Get Info) to change the "Open 
with:" option to Aquamacs for every file ending in .sml, .cm, .lex, and 
..grm.

This worked fine for a long time. But recently, files ending in .sml 
reassociated with QuickTime and I can't seem to reassociate them back to 
Aquamacs. I can associate individual files to Aquamacs, but as soon as 
those files are resaved the association is lost.

I used the Property List Editor to look at 
~/Libraries/Preferences/com.apple.LaunchServices.plist and the entries 
for public.filename-extension for "lex" and "grm" that I also created 
for org.gnu.aquamacsemacs match the entry for "sml", and they still 
work. This is about as deep as I've gotten into the magic of file type 
associations on OS X. None of the books I have go any deeper.

Two things happened that might have caused the change in behavior. The 
first is I upgraded to QuickTime Pro. The second is I installed the DivX 
player and plugins. I tried putting the DivX app in the trash but that 
didn't fix things. I also checked QuickTime's MIME settings, and it 
thinks that QuickTime isn't associated with the SMIL file type.

It's just an inconvenience, but it is a small pebble in an otherwise 
very comfortable shoe. Obliged for any suggestions...

-thant
0
Reply adm (206) 7/6/2006 11:53:59 AM

In article <e8itln$e9m$1@news.xmission.com>,
Thant Tessman  <adm@standarddeviance.com> wrote:
>
>I've been using Aquamacs Emacs to edit SML source files on a MacBook 
>Pro. Originally, files ending in .sml were associated with QuickTime, 
>but I used the file info control panel (Get Info) to change the "Open 
>with:" option to Aquamacs for every file ending in .sml, .cm, .lex, and 
>.grm.

You may wish to try RCDefaultApp, a little utility that helps you
manage all of these associations:

    http://www.rubicode.com/Software/RCDefaultApp/

I'm not sure exactly what's wrong in your situation, but that's
probably what I'd try to figure it out.


-- 
Jeffrey M. Vinocur   *   jmv16@cornell.edu
http://www.people.cornell.edu/pages/jmv16/
0
Reply jmv16 (24) 7/9/2006 7:58:58 PM


Jeffrey M. Vinocur wrote:
> In article <e8itln$e9m$1@news.xmission.com>,
> Thant Tessman  <adm@standarddeviance.com> wrote:
> >
> >I've been using Aquamacs Emacs to edit SML source files on a MacBook
> >Pro. Originally, files ending in .sml were associated with QuickTime,
> >but I used the file info control panel (Get Info) to change the "Open
> >with:" option to Aquamacs for every file ending in .sml, .cm, .lex, and
> >.grm.
>
> You may wish to try RCDefaultApp, a little utility that helps you
> manage all of these associations:
>
>     http://www.rubicode.com/Software/RCDefaultApp/
>
> I'm not sure exactly what's wrong in your situation, but that's
> probably what I'd try to figure it out.


What a cool utility! Thanks! Unfortunately what it shows is that .sml
extension is indeed theoretically associated with Aquamacs. I also used
the utility to create a new file type "EMAx" (which is the creator code
reported by GetFileInfo for files created by Aquamax) and associated
that file type with Aquamacs, but that didn't work either. (The
RCDefaultApp utility actually crashed when I did this, but when I
reopened it, the file type was there.)

Anyway, files ending in .sml still show up as quicktime apps and open
with quicktime. Just weird.

-thant

0
Reply adm (206) 7/10/2006 4:04:39 PM

2 Replies
39 Views

(page loaded in 0.052 seconds)


Reply: