Interlisp / medley

The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
https://Interlisp.org
MIT License
376 stars 19 forks source link

CL READ-FROM-STRING returns byte position instead of character position. #1833

Closed MattHeffron closed 2 months ago

MattHeffron commented 2 months ago

Fix for issue #1812

MattHeffron commented 2 months ago

From issue #1812

The second returned value from read-from-string appears to be used in SEDIT-COMMANDS in extract-current-selection. I don't know why this isn't affected by this.

SEdit didn't have an issue with this because read-from-string was using the start value with the same interpretation as byte position, not character position. This is corrected in commit 07e858d. Ready for review.