home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / lisp / mcl / 1222 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.8 KB

  1. Path: sparky!uunet!sun-barr!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!cartier@math.uqam.ca
  2. From: cartier@math.uqam.ca (Guillaume Cartier)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: init file
  5. Message-ID: <9208131917.AA00712@mipsmath.math.uqam.ca>
  6. Date: 13 Aug 92 19:17:58 GMT
  7. Sender: cartier@mipsmath.math.uqam.ca
  8. Lines: 36
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10. Original-To: info-mcl@cambridge.apple.com (Macintosh Common Lisp)
  11.  
  12. >GatorMail-Q                   init file
  13. >MCL question/problem:
  14. >
  15. >When I start up MCL 2.0 by double-clicking the application icon, the init.lisp
  16. >file does not automatically load like the documentation says it should.
  17. >
  18. >I also had this problem with MCL 2.0b1 but I thought it was just a early
  19. >release bug. To fix it I put a function on the *lisp-startup-functions* list to
  20. >load the init file and then saved the image.
  21. >
  22. >Is there something I could be doing wrong, or is this the way it is for some 
  23. >reason?
  24. >
  25. >Keith Diefendorff
  26. >email:      keithd@oakhill.sps.mot.com
  27. >Applelink:  MOT.KD
  28. >phone:      512-891-3219
  29. >fax:        512-891-3818
  30.  
  31. If you use SAVE-APPLICATION to save the state of a running MCL
  32. application, you have to be aware that it takes a keyword argument
  33. named :INIT-FILE which defaults to NIL (meaning don't load any
  34. init file).
  35.  
  36. What you want is probably:
  37. (SAVE-APPLICATION "FooBar" :init-file "init").
  38.  
  39. Signed:
  40. The SAVE-APPLICATION specialist! :-)
  41.  
  42. *********************************************************************
  43. * Guillaume Cartier                 (514) 844-5294 (maison)         *
  44. * L.A.C.I.M.                        (514) 987-4290 (bureau)         *
  45. * Universite du Quebec a Montreal   (514) 987-8477 (telecopieur)    *
  46. * Montreal, Quebec, Canada          cartier@math.uqam.ca (internet) *
  47. *********************************************************************
  48.