-
-
Notifications
You must be signed in to change notification settings - Fork 24
FILEBROWSER can't be saved and compiled #203
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
Comments
Have a look at the source that was written (outside Lisp) -- there's a CR embedded in the middle of the copyright notice, and that matches up with exactly where things went downhill in the LCOM. The "bad compiled function: 2021" that it's complaining about is the 2021 in the copyright notice that seems to have been copied through into the LCOM. |
And, if I delete the extra CR in the copyright notice (in an external texteditor) and then TCOMPL the file it works to produce a well-formed LCOM. |
Terrific, can you just send me the fixed file?
There is some goofiness with TABLEBROWSER also. It has 2 different companion files for its declarations, TBDECLS and TABLEBROWSERDECLS, with slightly different (but maybe harmlessly so) declarations. TABLEBROWSER itself uses one, but FILEBROWSER uses another. I’m going to synchronize.
… On Feb 20, 2021, at 11:16 PM, Nick Briggs ***@***.***> wrote:
And, if I delete the extra CR in the copyright notice (in an external texteditor) and then TCOMPL the file it works to produce a well-formed LCOM.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#203 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJMRWZ2ONILCBZ2QXR3TACXM5ANCNFSM4X6TAPWA>.
|
I was doing that on the original FILEBROWSER file -- the error is in what the file package writes for the new source. I don't have your modified source file -- but I can show you what you'd need to edit in your newly written version:
rather than
(where ^M represents an embedded carriage return) |
Thanks to Nick's sleuthing, this has been identified as an ancient bug in the function (PRINTCOPYRIGHT1 in PRETTY) that prints the copyright dates. The bug shows up when you have a lot of years in the list (as FILEBROWSER does) and the readtable is a commonlisp readtable with semi-colon enabled. Lines were overflowing because LINELENGTH was exceeded when they shouldn't have. This is fixed in a new version of PRETTY. |
If you load SYSEDIT (which, in turn, loads EXPORTS.ALL) you'll get a couple more FLG's set. |
The sysouts should probably have a new default copyright owner, representing whoever we think we are... "Interlisp.org"? It should presumably maintain the original copyright owner notices and add entries for the updated one going forward. |
I think that COPYRIGHTFLG is set to NIL in our sysouts, which means that copyrights with the origina owner (typically Venue and Xerox) and original years (plus adding on the currentyear) for files that have a current copyright. But copyrights will not be created for new files.
So you want a mode where it tacks on a new owner to the original ("Venue and Xerox and Interlisp.org <http://interlisp.org/>”) when it adds a new date, and just Interlisp.org <http://interlisp.org/> when a new file is created?
… On Feb 21, 2021, at 1:19 PM, Nick Briggs ***@***.***> wrote:
The sysouts should probably have a new default copyright owner, representing whoever we think we are... "Interlisp.org"? It should presumably maintain the original copyright owner notices and add entries for the updated one going forward.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#203 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQSTUJOZJUAEGATET5SYMKTTAF2HLANCNFSM4X6TAPWA>.
|
I'm not sure what the right thing should be. For now, it would be sufficient to just leave COPYRIGHT alone. We don't want to change assertions of copyright. I think Interlisp.org is just a website, which will get you to the LICENSE file and context. |
i did make a new issue #207 |
Copyright moved to an new issue. This problem with FILEBROWSER is fixed. Closing |
Describe the bug
FILEBROWSER was last made and compiled in 2001.
When I tried to make a change to the file and recompiled, I got a bad compiled error on loading the compiled file.
To Reproduce
Steps to reproduce the behavior:
It stops with a bad-compiled function error.
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: