Quoted symbols in R7RS mode don't work

John Cowan <[email protected]> Sat, 25 Apr 2026 14:44:16 -0400
Newsgroups gmane.lisp.scheme.gauche
Message-ID <CAD2gp_Qwxm1d3PTW8-oH3tcmSLHP5js4K2QA-P-u6kvT7j6JsA@mail.gmail.com>
johnwcowan@skunk:~/Documents/mung$ gosh -V
Gauche scheme shell, version 0.9.15-p2
[utf-8,pthreads,snapshot=20241205], x86_64-pc-linux-gnu
(version "0.9.15-p2")
(command "gosh")
(scheme.id gauche)
(languages scheme r5rs r7rs)
(encodings utf-8)
(website "https://practical-scheme.net/gauche")
(build.platform "x86_64-pc-linux-gnu")
(build.configure)
(build.gosh-version "0.9.15-p2")
(scheme.path "/usr/share/gauche-0.98/site/lib"
"/usr/share/gauche-0.98/0.9.15-p2/lib")
(threads pthreads)
(gauche.net.tls mbedtls)

johnwcowan@skunk:~/Documents/mung$ gosh
gosh$ 'foo
foo
gosh$ (import (srfi 1))
gosh[r7rs.user]$ 'foo
*** UNBOUND-VARIABLE-ERROR: unbound variable: foo
Stack Trace:
_______________________________________
  0  (report-error e)
  1  (eval expr env)
        at "/usr/share/gauche-0.98/0.9.15-p2/lib/gauche/interactive.scm":405
  2  (evaluator exp (vm-current-module))
  3  (with-error-handler (^e (report-error e) #t) (^ () (let loop2 ...