Environment Details:
Emacs Version: 24.9 (9.0)
Geiser Version: 20240909.1145
MIT Scheme Version: 12.1
Operating System: macOS Ventura 13.5.2
System: Mac Studio M1 Max 32GB Unified Memory
Problem Description: When attempting to start a Geiser REPL for MIT Scheme, the initialization process fails with multiple warnings about incorrect argument handling for the %record-ref primitive procedure.
Detailed Error Trace:
;Loading "/Users/edb/.emacs.d/elpa/geiser-mit-20240909.1145/src/geiser/load.scm"...
; Loading "compile.scm"...
; Generating SCode for file: "emacs.scm" => "emacs.bin"... done
; Compiling file: "emacs.bin" => "emacs.com"...
;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1
;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1
;Warning: Procedure called with wrong number of arguments #[primitive-procedure 3 %record-ref] 1
;The object
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.
Reproduction Steps:
- Install MIT Scheme (version 12.1)
- Install Geiser via package manager
- Configure Emacs with standard Geiser MIT Scheme configuration
- Attempt to start Geiser REPL using M-x geiser
Expected Behavior: Geiser REPL should initialize and provide an interactive Scheme development environment.
Actual Behavior: REPL fails to start, with multiple warnings about record reference procedure argument mismatch. Additional Notes:
- Direct invocation of MIT Scheme from command line works correctly
- Geiser configuration appears correct
- Error occurs during initial compilation of Geiser's Scheme initialization files
Requested Action: Investigate the compatibility between Geiser's initialization process and MIT Scheme's record handling mechanism.
**Environment Details**:
Emacs Version: 24.9 (9.0)
Geiser Version: 20240909.1145
MIT Scheme Version: 12.1
Operating System: macOS Ventura 13.5.2
System: Mac Studio M1 Max 32GB Unified Memory
**Problem Description**: When attempting to start a Geiser REPL for MIT Scheme, the initialization process fails with multiple warnings about incorrect argument handling for the %record-ref primitive procedure.
Detailed Error Trace:
;Loading "/Users/edb/.emacs.d/elpa/geiser-mit-20240909.1145/src/geiser/load.scm"...
; Loading "compile.scm"...
; Generating SCode for file: "emacs.scm" =\> "emacs.bin"... done
; Compiling file: "emacs.bin" =\> "emacs.com"...
;Warning: Procedure called with wrong number of arguments #\[primitive-procedure 3 %record-ref\] 1
;Warning: Procedure called with wrong number of arguments #\[primitive-procedure 3 %record-ref\] 1
;Warning: Procedure called with wrong number of arguments #\[primitive-procedure 3 %record-ref\] 1
;The object
;To continue, call RESTART with an option number:
; (RESTART 1) =\> Return to read-eval-print level 1.
**Reproduction Steps**:
1. Install MIT Scheme (version 12.1)
2. Install Geiser via package manager
3. Configure Emacs with standard Geiser MIT Scheme configuration
4. Attempt to start Geiser REPL using M-x geiser
**Expected Behavior**: Geiser REPL should initialize and provide an interactive Scheme development environment.
**Actual Behavior**: REPL fails to start, with multiple warnings about record reference procedure argument mismatch. **Additional Notes**:
* Direct invocation of MIT Scheme from command line works correctly
* Geiser configuration appears correct
* Error occurs during initial compilation of Geiser's Scheme initialization files
**Requested Action**: Investigate the compatibility between Geiser's initialization process and MIT Scheme's record handling mechanism.