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

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