Re: Lisp file/application associations
peter <p2.edoc-gM/[email protected]> Fri, 19 Feb 2010 16:03:48 +0000
| Newsgroups | gmane.lisp.mcl.general |
|---|---|
| Message-ID | <p06240803c7a32bf32a15@[192.168.1.33]> |
Thanks Raffael, Fredrik, james, and Laughing. I guess what I might be meaning is rather than assigning application associations to files explicitly (by hand), is there any way to patch MCL so it creates the appropriate association automatically. I would expect an application to write files (at least initially) such that they would open in their own app by default. Some time back I used the Change All option in the Get Info dialog to link lisp files to CLZ. Now MCL files are saved as CLZ files. Where in the file itself is the application association bound, and would it be viable to modify MCL to do this automatically. I don't see a lisp entry in ~/Library/Preferences/com.apple.LaunchServices.plist but do see attribute: <key>LSHandlerIgnoreCreator</key> and wonder if that is relevant. The converse of which might help in dissociating MCL (creator code CCL2) and CLZ (no creator code)? Or their Type codes (CLZ null null null, MCL TEXT). But if Creator and Type codes are redundant now, just how is association per file stored? It can't be via the .DS_Store file per folder as we can have both MCL and CLZ files in the same folder. When a file association is changed, its Modified date is changed, so presumably some data is changed in the file. Isn't this what I want to automatically assign at file birth? As it is, to hand modify files changes mod dates which messes up my code change tracking system. No doubt I'm missing something really obvious. At 3:56 PM +0100 10/2/12, Fredrik Hedelin wrote: >In the Info.plist and PkgInfo files in the application bundle. > >Fredrik > >12 feb 2010 kl. 15.49 skrev peter: > >>> On Feb 12, 2010, at 1:11 AM, peter wrote: >>> >>>> I would like to have files automatically >>>> linked to their appropriate applications unless the file is > >>> explicitly designed to be universal. _______________________________________________ info-mcl mailing list [email protected] http://clozure.com/mailman/listinfo/info-mcl