1
0
Fork
You've already forked mit
0

"Unexpected read restart" when evaluating buffer via mit-scheme implementation #11

Open
opened 2024年05月20日 00:14:49 +02:00 by jaor · 1 comment
jaor commented 2024年05月20日 00:14:49 +02:00 (Migrated from gitlab.com)
Copy link

Consider the following recipe:

  1. emacs -Q
  2. M-x package-install geiser-mit
  3. Create a new file foo.scm with the following contents
;; -*- geiser-scheme-implementation: mit -*-
(+ 2 2)
  1. M-x geiser
  2. M-x geiser-eval-buffer
  3. Observe Geiser Debug
;; -*- geiser-scheme-implementation: mit -*-
(+ 2 2)
Error: retort-syntax
;Unexpected read restart on: #[textual-i/o-port 27 for console]
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.
2 error>

Expected:

;; -*- geiser-scheme-implementation: mit -*-
(+ 2 2)
=> 4

If I repeat M-x geiser-eval-buffer, what I see is the above text,
evaluating to "4".

Consider the following recipe: 1. emacs -Q 2. M-x package-install geiser-mit 3. Create a new file foo.scm with the following contents ```scheme ;; -*- geiser-scheme-implementation: mit -*- (+ 2 2) ``` 4. M-x geiser 5. M-x geiser-eval-buffer 6. Observe *Geiser Debug* ```scheme ;; -*- geiser-scheme-implementation: mit -*- (+ 2 2) ``` ``` Error: retort-syntax ;Unexpected read restart on: #[textual-i/o-port 27 for console] ;To continue, call RESTART with an option number: ; (RESTART 1) => Return to read-eval-print level 1. 2 error> ``` Expected: ```scheme ;; -*- geiser-scheme-implementation: mit -*- (+ 2 2) ``` ``` => 4 ``` If I repeat M-x geiser-eval-buffer, what I see is the above text, evaluating to "4".
jaor commented 2024年05月20日 00:16:24 +02:00 (Migrated from gitlab.com)
Copy link

changed the description

changed the description
Sign in to join this conversation.
No Branch/Tag specified
master
0.15
0.14
0.13
0.12
0.11.2
0.11.1
0.11
0.10
0.9
0.8.1
0.8
0.7
0.6
0.5
0.4
0.3
0.2.2
0.2.1
0.2
0.1.4
0.1.3
0.1.2
0.1.1
0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geiser/mit#11
Reference in a new issue
geiser/mit
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?