[plt-scheme] OS X Quick Look support?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jun 4 10:18:22 EDT 2008

I've added support for UTI export declarations in PLT-generated
executables, and it's used to include the content below in DrScheme's
"Info.plist".

Thanks,
Matthew

At Wed, 4 Jun 2008 14:30:55 +0100, Dave Gurnell wrote:
> I just got it to work with the information in the macosxhints article  
> and this code:
> 
> 	<key>UTExportedTypeDeclarations</key>
> 	<array>
> 		<dict>
> 			<key>UTTypeConformsTo</key>
> 			<array>
> 				<string>public.text</string>
> 				<string>public.plain-text</string>
> 			</array>
> 			<key>UTTypeDescription</key>
> 			<string>PLT source file</string>
> 			<key>UTTypeIdentifier</key>
> 			<string>org.plt-scheme.source</string>
> 			<key>UTTypeTagSpecification</key>
> 			<dict>
> 				<key>com.apple.ostype</key>
> 				<string>TEXT</string>
> 				<key>public.filename-extension</key>
> 				<array>
> 					<string>ss</string>
> 					<string>scm</string>
> 				</array>
> 			</dict>
> 		</dict>
> 	</array>
> 
> (The string "org.plt-scheme.source" is an arbitrary one.)
> 
> Ah, Quick Look, how I love thee. I wonder how easy it is to get  
> Spotlight to index *.ss and *.scm...
> 
> -- Dave
> 
> > Good idea, and would work fine a lot of the time - but would fail  
> > on .scm or .ss files with snips as they are not plain text.
> >
> > Tempting as a quick hack though!
> >
> > thanks for the tip.
> >
> > Stephen
> >
> >
> > On Wed, Jun 4, 2008 at 1:06 PM, Prabhakar Ragde  
> > <plragde at uwaterloo.ca> wrote:
> > It might be nice to have this feature, which lets one look at .ss  
> > or .scm files created by DrScheme in OS X's Finder, without opening  
> > DrScheme. Users can arrange this, but building it into the  
> > distributed application would be better.
> >
> > http://www.macosxhints.com/article.php?story=20071028184428583
> >
> > --PR
> >
> > -- 
> > Cheers,
> >
> > Stephen
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.