Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!pasteur!ucbvax!XV.MIT.EDU!Kevin_Crowston From: Kevin_Crowston@XV.MIT.EDU Newsgroups: comp.sys.xerox Subject: problems with ADVICEs in lyric Message-ID: <0.43520.20995.54682.9677@XV.MIT.EDU> Date: 18 Feb 88 20:08:31 GMT Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27 SID#: 0208-113 Company Name: MIT/Mass Institute of Technology Machine Type: 1109 Lisp version: Lyric I'm having a little problem with ADVICEs in lyric. I want to store them on a file, so I put (ADVICE fn-name) in the FILECOMS. When I store the file, however, I do (MAKEFILE file-name '(FAST RC ST)) which I think reloads the file. The advice then seems to double (that is, if I edit the ADVICE, I see that the same ADVICE has been applied twice). Worse, every time I MAKEFILE the file, I double it again, so after four or five tries, I get 16 or 32 copies of the ADVICE. Also, the file is dirty again immediately after the MAKEFILE, since the ADVICEs have been changed. Anyone know a way around this? I used to do something like (ADVICE fn-name) (P (READVISE fn-name)) in Koto, but that doesn't seem to do much better, since the implementation of ADVISEs is different. I'm sure there's some new idiom for dealing with ADVISEs, since it seems unlikely that people simply edit them before each MAKEFILE, but I haven't been able to guess what it is. Kevin Crowston MIT Sloan School of Management