Skip to content
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

GETFN reports error can't read GETFN image object on many files #1652

Open
masinter opened this issue Apr 7, 2024 · 8 comments
Open

GETFN reports error can't read GETFN image object on many files #1652

masinter opened this issue Apr 7, 2024 · 8 comments

Comments

@masinter
Copy link
Member

masinter commented Apr 7, 2024

the following files and many more report a GETFN error if I just call TEDIT on them.

i.e. (SETQ BADFILES (READFILE 'BADFILES.TXT))
(MAPCAR BADFILES 'TEDIT)

it seems to load the GETFN but not succeed in applying it?

it took me a long time with git bisect to convince myself that the problem was introduced in TEdit Round 4.
44e4294

{MEDLEY}medley-irm>09-conditionals.TEDIT;1
{MEDLEY}medley-irm>13-EXECUTIVE.TEDIT;1
{MEDLEY}medley-irm>16-SEDIT.TEDIT;1

(at least 3)

@rmkaplan
Copy link
Contributor

rmkaplan commented Apr 7, 2024 via email

@rmkaplan
Copy link
Contributor

rmkaplan commented Apr 7, 2024 via email

@nbriggs
Copy link
Contributor

nbriggs commented Apr 7, 2024 via email

@rmkaplan
Copy link
Contributor

rmkaplan commented Apr 8, 2024 via email

@rmkaplan
Copy link
Contributor

rmkaplan commented Apr 8, 2024

In PR #1649 the put and get functions for the index object now explicit specify the readtable, no accidental inheritance from current environment.

@masinter
Copy link
Member Author

masinter commented Apr 8, 2024

image

The Medley 2.0 collection of fonts seems likely to be QA'd than the hodge-podge of fonts we picked up from here and there.

@rmkaplan
Copy link
Contributor

rmkaplan commented Apr 8, 2024 via email

@rmkaplan
Copy link
Contributor

rmkaplan commented Apr 8, 2024 via email

masinter pushed a commit that referenced this issue Apr 30, 2024
… close the index file (#1649)

* IMINDEX:  The displayfn of index image objects sets AFTERHARDCOPYFN to close the index file

Removes the need for advising the Tedit hardcopy function.  This won't have an effect until a separate PR (after rmk7 is merged) that updates the hardcopy function.

* Index image object explicitly uses OLD-INTERLISP-FILE for printing and reading  (cf #1652)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants