home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / alt / lucidem / help / 348 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.1 KB  |  27 lines

  1. Newsgroups: alt.lucid-emacs.help
  2. Path: sparky!uunet!nestroy!news-mail-gateway
  3. From: jwz@lucid.COM (Jamie Zawinski)
  4. Subject: Re: retained state from byte compile
  5. Message-ID: <9208272000.AA06497@thalidomide.lucid>
  6. Sender: jwz%thalidomide@lucid.com
  7. Organization: WU Mail/News Gateway
  8. References: <LYSTAD.92Aug27120852@m2.dseg.ti.com>
  9. Date: Thu, 27 Aug 1992 20:00:44 GMT
  10. Lines: 15
  11.  
  12. In message <LYSTAD.92Aug27120852@m2.dseg.ti.com> Garr Lystad wrote:
  13. >
  14. > I wrote a little advise macro when I first started using Epoch.  
  15. > One of my files advises an lemacs function (call it x) and the advice
  16. > calls a function I define in the same file (call this function of mine
  17. > y).  If I do not load or evaluate any part of the file, but I do byte
  18. > compile it, the advice on x remains and I get an error because y is
  19. > undefined.  That shouldn't really be, should it?
  20.  
  21. It sounds to me like your adviser is a macro, and it is doing its work
  22. in the macroexpander function rather than in the emitted code.  This is
  23. a no-no.  It worked with the old byte compiler because it simply didn't
  24. compile top-level calls to macros.
  25.  
  26.     -- Jamie
  27.