Skip to content

Conversation

@rmkaplan
Copy link
Contributor

2 changes:

  1. If WHEREIS says that an unknown getfn is on FOO-FIE and FOO>FOO exists, then offer FOO in the mouseconfirm. This should get all the support code (e.g. TMAX is offered and loaded instead of TMAX-NUMBER). Issue If GETFN of an imageobj is not defined, try WHEREIS #748. (Sketch files would be renamed to this hyphen naming convention.)

  2. Separately, if the getfn is still not found when the file is opened (so the image object is encapsulated), the encapsulated imagebox fn will upgrade the image when the object is redisplayed, if the getfn has been defined in the meantime. So you can TEDIT a file FOO with a Sketch image object, pass on gettiing the image object during the open, then load SKETCH explicitly. The objects will upgrade when they are redisplayed.

2 changes:   If WHEREIS says that an unknown getfn is on FOO-FIE and FOO>FOO exists, then offer FOO in the mouseconfirm.  This should get all the support code (e.g. TMAX is offered instead of TMAX-NUMBER).  Issue #748.  Separately, if the getfn is not found when the file is opened (so the image object is encapsulated), the encapsulated imagebox fn will upgrade the image if the getfn exists when the object is redisplayed.
Copy link
Member

@masinter masinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See PR #1166 and #1167 -- perhaps we can consolidate?

I want to set up so that HCFILES can try harder and maybe break instead of printing UNKNOWN GETFN

@rmkaplan
Copy link
Contributor Author

rmkaplan commented Nov 30, 2023 via email

@masinter masinter merged commit c8c4768 into master Dec 2, 2023
@masinter masinter deleted the rmk95--Heuristics-for-unknown-GETFNS branch December 2, 2023 23:51
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

Successfully merging this pull request may close these issues.

3 participants