home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / lisp / mcl / 1918 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.6 KB

  1. Path: sparky!uunet!olivea!apple!cambridge.apple.com!jwbaxter@halcyon.halcyon.com
  2. From: jwbaxter@halcyon.halcyon.com
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: More Apple Events
  5. Message-ID: <199212310928.AA11639@halcyon.com>
  6. Date: 31 Dec 92 09:32:23 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 28
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10.  
  11. Tod,
  12.    I think it was to you I replied before.  As I said then (if it was to
  13. you), MCL appears to initially install one set of Apple event handlers for
  14. the required events.  Then it receives an 'oapp', or an 'odoc', or a
  15. 'pdoc', and finishes setting itself up.
  16.    The latter process involves removing the initial handlers and installing
  17. the handlers which are indeed fielded by the generic functions described in
  18. the documentation.  [That's why a subsequent open document, or a quit, 
  19. fires your method.]
  20.  
  21.    I watched (I must admit with amazement) with AE Tracker (developer CD,
  22. but Shareware by Chris Huan, so I should be able to mail it to you if
  23. necessary) the handlers being installed and replaced, and the events being
  24. received.
  25.  
  26.    This method of starting up seems wrong to me...at the very least the AE
  27. chapter in the MCL documents should have at least a tiny discussion of it. 
  28. An initial 'oapp' is one thing, but 'odoc' or 'pdoc' should somehow find
  29. their way to methods which are eagerly awaiting them.
  30.  
  31.    I don't know enough about MCL to have any idea how you would intercept
  32. the initial 'oapp', 'odoc', or 'pdoc'.  [Only one of those can the the
  33. "initial" one.]
  34.    --John
  35.  
  36. --------------
  37. John W. Baxter   jwbaxter@halcyon.com   [BAXTER.JOHN on AppleLink, from
  38. AppleLink only.]
  39.