[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading a file from the finder



In article <9202242250.AA22955@MIT.EDU> cfry@MIT.EDU (Christopher Fry) writes:

   Date: 24 Feb 92 22:51:03 GMT
   From: cfry@MIT.EDU (Christopher Fry)

   In MACL 1.3.2, when you double-clicked on a Lisp-created text file in 
   the finder, MCL was launched and the clicked on file was Loaded.
   In MCL2.0, the file is Edited.

   I rely on the old behavior. It simplifies the user interface for users 
   adding their own customizations to the application I'm building.

   I understand the need to have the new functionality too.
   We can come up with a syntax that will give us both capabilites. 
   The first (and worst) thing I can think of is holding down the cmd or 
   option key when double-clicking on a file in the finder to be loaded.

   Good ideas, anyone? 

Compile the file?

That's a special case of setting the file type, really.

Finally, one other thing to consider would be to start the
file with a special token, say (load-on-launch), and have
the editor check for it.