-
-
Notifications
You must be signed in to change notification settings - Fork 27
Inspectcode scrolls, has the correct window title #2222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
How much, if any, of my |
Given the changes I just made, the current OPENTEXTSTREAM... function and its changename have to be modified to use TEDIT instead, with the arguments for TEDIT.
I did that, and tried a little bit. The inspectcode menu item worked, but mostly I got bells when I tried graphcalls--I didn't have it loaded at first, but still got bells after I loaded it.
Is it correct that the prettyprint item only prints variables, not function definitions? If TEDIT-PF-SEE is loaded, then meta-T (for "tedit-function") will print the function def in a new window. Maybe that should be extended for other types.
If this is incorporated, probably the word-bound table should be initialized to the atom-bound table, like TEDIT-PF-SEE or Tedit of lisp sources. So middle button then tends to select the whole atom, even with dots, hyphens, slashes.
And maybe use TEDIT.PROMPTPRINT to print the error messages in the local prompt window, without the bells?
… On Jul 21, 2025, at 3:25 PM, Matt Heffron ***@***.***> wrote:
MattHeffron
left a comment
(Interlisp/medley#2222)
<#2222 (comment)>
How much, if any, of my lispusers/INSPECTCODE-TEDIT package (from 1985-1987) could/should be merged into \TEDIT.INSPECTCODE?
—
Reply to this email directly, view it on GitHub <#2222 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJLPNCCAXYKWEZYWA4T3JVSHHAVCNFSM6AAAAACCAYZLTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJZGYYTCNJUHE>.
You are receiving this because you authored the thread.
|
Any idea why every time you left-click or middle-click in the title bar of the Inspectcode window it adds a process (which seems to exit almost immediately) -- |
I think it is trying to execute the menu actions in a different process. I assume they had a good reason (not lock up the mouse for a long operation?), but maybe not?
… On Jul 22, 2025, at 5:53 PM, Nick Briggs ***@***.***> wrote:
nbriggs
left a comment
(Interlisp/medley#2222)
<#2222 (comment)>
Any idea why every time you left-click or middle-click in the title bar of the Inspectcode window it adds a process (which seems to exit almost immediately) -- ADD.PROCESS: Arg 1 = (TEDIT.DEFAULT.MENUFN (QUOTE {WINDOW}#157,nnnn)))
—
Reply to this email directly, view it on GitHub <#2222 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJN2F6B56YZMSGUKURT3J3MINAVCNFSM6AAAAACCAYZLTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMBVGI3DSNRYGA>.
You are receiving this because you were mentioned.
|
I changed the FILETYPE for LLDISPLAY to :FAKE-COMPILE-FILE. Note that the LCOM file say that it was COMPILE-FILEd even though it was actual FAKE-COMPILE-FILEd. Also, (FINDCALLERS :FAKE-COMPILE-FILE --) and (FINDCALLERS 'FAKE-COMPILE-FILE --) give the same hits. Is that a good thing? |
Yes, I'd noticed that it still said "COMPILE-FILEd" - probably fine, since it's faking COMPILE-FILE... I bet FINDCALLERS is using the equivalent of the PRIN1 name of the atom which ignores the package. It's handy if you don't know what package the thing you're looking for is actually in (after any imports (and so on) are resolved) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and seems to work with PR #2224
INSPECTCODE now calls TEDIT - READONLY so that it has a process, instead of OPENTEXTSTREAM (which was also specified as readonly but without a process no sure what that does--TBD).
Also eliminated the override of the given title by the default. That may also fix the lafite title problem.