Replies: 14 comments 2 replies
-
Is it asking you to create a dummy definition? Or asking you which type of the multiple definitions of the function you want to edit? |
Beta Was this translation helpful? Give feedback.
-
It is asking me to create a dummy definition: ![]() |
Beta Was this translation helpful? Give feedback.
-
What does WHEREIS say? (WHEREIS 'WEB-WINDOW-CLOSE-FN T) (Separate issue: If I qualify this with WEB::, it gets a package error because clos isn't loaded. What does WHEREIS do about packages? Same confusion as ED ?) … On Oct 2, 2025, at 11:46 AM, Paolo Amoroso ***@***.***> wrote: It is asking me to create a dummy definition: ed-web-editor.png (view on web) <https://github.com/user-attachments/assets/0e819a27-f776-425c-ad4f-0b75f8532ceb> — Reply to this email directly, view it on GitHub <#2308 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJKO2F76V66TD5REOX33VVXHDAVCNFSM6AAAAACIEJVJZGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJXG4YDOMI>. You are receiving this because you are subscribed to this thread. |
Beta Was this translation helpful? Give feedback.
-
It returns
|
Beta Was this translation helpful? Give feedback.
-
If WHEREIS doesn't know about it, it doesn't exist for ED, so ED brings up the new-item prototype menu. Presumably clos is not included in the whereis scan. But if it had been included in the scan, would it only be possible to interrogate the database if the package was already separately loaded? … On Oct 2, 2025, at 12:16 PM, Paolo Amoroso ***@***.***> wrote: It returns NIL: 5_ (FILESLOAD WHEREIS) {DSK}<home>paolo>medley>medley>internal>WHEREIS.;1 File created 26-Jun-90 19:35:02 WHEREISCOMS ({DSK}<home>paolo>medley>medley>internal>WHEREIS.;1) 6_ (WHEREIS 'WEB-WINDOW-CLOSE-FN T) NIL — Reply to this email directly, view it on GitHub <#2308 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJNE75AUIBUXNAFT2GT3VV2Z3AVCNFSM6AAAAACIEJVJZGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINJXG4ZDSMY>. You are receiving this because you commented. |
Beta Was this translation helpful? Give feedback.
-
In a fresh session |
Beta Was this translation helpful? Give feedback.
-
Passing a third argument of |
Beta Was this translation helpful? Give feedback.
-
You can look at the loadups/whereis.dribble and trivially determine that no CLOS code was scanned for the whereis.hash file, so it's not indexed and this (WHEREIS, and thus ED) is not going to do what you're expecting. |
Beta Was this translation helpful? Give feedback.
-
Something unusual about 'WHEREIS' -- someone rewrote it using more Common Lisp conventions in the code and implemented 'WHERE-IS', which is in library and included in sysout But 'WHEREIS' is still in medley/internal. Probably should be moved to 'obsolete'. |
Beta Was this translation helpful? Give feedback.
-
3.5.1 Argument Mismatch Detection |
Beta Was this translation helpful? Give feedback.
-
Historically all the CLOS files were not part of the base system but more akin to a library package one could add if wanted. The core files are pure Common Lisp, not managed. So if one loaded the environment files (which are managed) then the location would have been known at that point, just like any other managed file. This probably is the reason for the current behavior.ArunOn Oct 2, 2025, at 6:13 PM, Larry Masinter ***@***.***> wrote: 3.5.1 Argument Mismatch Detection 3.5.1.1 Safe and Unsafe Calls 3.5.1.2 Too Few Arguments 3.5.1.3 Too Many Arguments 3.5.1.4 Unrecognized Keyword Arguments 3.5.1.5 Invalid Keyword Arguments 3.5.1.6 Odd Number of Keyword Arguments 3.5.1.7 Destructuring Mismatch 3.5.1.8 Errors When Calling a Next Method —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> |
Beta Was this translation helpful? Give feedback.
-
The entry point WHEREIS is in FILEPKG, it calls XCL::HASH-FILE-WHERE-IS. There is still the question of how the database interacts with package qualifiers, particularly if the query is about a symbol that is in the index but qualified with a package that has not yet been loaded. |
Beta Was this translation helpful? Give feedback.
-
I'm confused because, although WEB-EDITOR is apparently preloaded,
Directly loading WEB-EDITOR.DFASL yields the same results. How can I edit the functions in WEB-EDITOR? |
Beta Was this translation helpful? Give feedback.
-
As hinted in #2314, if I |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I call
ED
with the name of a function of the file clos/WEB-EDITOR, such asWEB::WEB-WINDOW-CLOSE-FN
orWEB::WEB-WINDOW-BUTTON-EVENT-FN
, I would expect Medley to prompt whether to load the relevant definition and open SEdit to edit the code. Instead the system brings up the file manager type menu as if the function didn't exist or was unknown. The same happens with functions of other files under the clos/ directory of Medley's source tree.Is the code in clos/ supposed to be editable? Does the WHEREIS database index that code?
I run the apps sysout.
Beta Was this translation helpful? Give feedback.
All reactions