🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.xerox
Article #34

Re: (setf name ...)weird in XCL ?

#34
From: Juergen Wagner
Date: Fri, 28 Jul 1989 20:58
36 lines
1473 bytes
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
Technical Details
Message-ID: <9882@csli.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!ucbvax!decwrl!shelby!csli!gandalf
References: <8907281738.AA00715@firehole>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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