Path: utzoo!utgpu!watmath!att!ucbvax!decwrl!shelby!csli!gandalf From: gandalf@csli.Stanford.EDU (Juergen Wagner) Newsgroups: comp.sys.xerox Subject: Re: (setf name ...)weird in XCL ? Message-ID: <9882@csli.Stanford.EDU> Date: 28 Jul 89 20:58:40 GMT References: <8907281738.AA00715@firehole> Sender: gandalf@csli.Stanford.EDU (Juergen Wagner) Reply-To: gandalf@csli.stanford.edu (Juergen Wagner) Organization: Center for the Study of Language and Information, Stanford U. Lines: 36 In article <8907281738.AA00715@firehole> rkf@CIS.OHIO-STATE.EDU (Ray Fink) writes: >I am confused by the following behavior in the XCL exec, Medley 1.0 and 1.1. > >29>(setf name 'foo) >foo > >30>name >nil > >This only seems to happen with the symbol "name". Can anybody shed some light >on what's happening here? Well, 'name' is a programmer's assistant command, i.e. if you simply type 'name' you won't get the symbol's value: > (setf name 'foo) foo > name nil > (progn name) foo > The manual says: NAME LITATOM EventSpec [Prog.Asst.Command] ------------------------------------------------------------------------- Saves the event(s) (including side effects) specified by EventSpec on the property list of LITATOM (under the property HISTORY). For example "NAME FOO 10 THRU 15". NAME commands are undoable. .... It should all be in TFM. Juergen Wagner gandalf@csli.stanford.edu wagner@arisia.xerox.com