Number: 736

Date: 17-Apr-84 14':23':14

Submitter: Sannella.PA

Source: Sheil.pa

Subject: EDITDEF(..FNS) should do LOADFROM and LOADFNS...PROP like EDITF

Lisp Version: 

Description: '
Date': 13 Apr 84 14':55 PST'
From': Sheil.pa'
Subject': Lisp': HASDEF/WHEREIS glitch'
...'
HASDEF with souirce ? is defined to be equivalent to source=CURRENT, SAVED and FILE in that order. Source=FILE is supposed to call WHEREIS with files=T. It in fact calls WHEREIS with Files=NIL...'
'
-----'
Date': 13 Apr 84 15':48 PST'
From': Burton.pa'
Subject': Re': Lisp': HASDEF/WHEREIS glitch'
...I fixed HASDEF to call WHEREIS with file=T.'
'
-----'
'
Date': 13 Apr 84 16':04 PST'
From': Burton.pa'
Subject': Re': Lisp': HASDEF/WHEREIS glitch'
In-reply-to': Sheil.pa''s message of 13 Apr 84 15':59 PST'
To': Sheil.pa'
cc': Burton.pa, LispSupport.pa, kaplan.pa'
'
It turns out we may not be out of the woods yet.  When I bugged BURYW from DEdit, it loaded BURYW alright but did not LOADFROM window.  Do you know if that is something extra that DF does?'
'
-----'
'
Date': 13 Apr 84 16':06 PST'
From': Burton.pa'
Subject': Re': Lisp': HASDEF/WHEREIS glitch'
In-reply-to': Sheil.pa''s message of 13 Apr 84 15':59 PST'
To': Sheil.pa'
cc': Burton.pa, LispSupport.pa, kaplan.pa'
'
Further glitch.  I didn''t change BURYW that time.  When I DF''ed just now it loaded it again from WINDOW. Looks like the operation from DEdit didn''t get it onto the property list?'
'
-----'
'
Date': 13 Apr 84 16':35 PST'
From': Sheil.pa'
Subject': Re': Lisp': HASDEF/WHEREIS glitch'
In-reply-to': Burton.pa''s message of 13 Apr 84 16':04 PST'
To': Burton.pa'
cc': masinter, LispSupport.pa, kaplan.pa'
'
These are both the same problem.  There is a routine (EDITFB) which does a LOADFROM and LOADFNS...PROP for calls on EDITF. EDITDEF(..FNS) clearly does not. This should all be subsumed under the general bug that EDITDEF(..FNS) NEQ EDITF.'
'
-----'
'
Date': 14 APR 84 09':34 PST'
From': MASINTER.PA'
Subject': sorry for last messge, I am all wet'
To':   burton, sheil, kaplan'
cc':   lispsupport'
'
I forgot about source=T vs source=NIL.'
'
Maybe we can make FNS less special, by generalizing to the time whene we have a WHEREIS database that includes more than FNS. Then we need a version of EDITDEF that says that if it goes to a not-currently-loaded file, to first do a LOADFROM of the file.'
'
Building WHEREIS in but turning it off seems ripe (we''ve only had the WHEREIS package in use for 4-5 years...)'
'
Are there other things EDITF does that EDITDEF doesn''t besides the LOADFROM?'
'
-----'
'
Date': 14 Apr 84 14':02 PST'
From': JonL.pa'
Subject': Re': HASDEF calling WHEREIS'
In-reply-to': MASINTER.PA''s message of 14 APR 84 09':28 PST'
To': MASINTER.PA'
cc': Burton.PA, LispSupport.PA, Kaplan.PA, Sheil.PA'
...'
'
One minor glitch in the documentation of the filepkg is that "definition" is used primarily to mean only "Source code", whereas many other places in the manual "definition" means either EXPR or CEXPR etc.'
'
-----'
'
Date': 14 Apr 84 19':36 PST'
From': Sheil.pa'
Subject': Re': sorry for last messge, I am all wet'
In-reply-to': MASINTER.PA''s message of 14 APR 84 09':34 PST'
To': MASINTER.PA'
cc': burton.PA, kaplan.PA, lispsupport.PA'
'
The "other thing" is that it LOADFNS the defn PROP, so subsequent accesses (after, e.g. an aborted edit) dont have to do it again.'
'
Beau'
'
'


Workaround: 

Test Case: 

Edit-By: 

Edit-Date: 

Attn: Kaplan

Assigned To: 

In/By: 

Disposition: 

System: Programming Environment

Subsystem: File Package

Machine: 

Disk: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 

Difficulty: Easy

Frequency: Everytime

Impact: Annoying

Priority: Perhaps

Status: Open

Problem Type: Bug

Source Files: