Re: Problems with guile
Efraim Flashnerskribis: > On Wed, Mar 14, 2018 at 02:03:01PM +0100, Ludovic Courtès wrote: >> Hello Jone, >> >> Jone skribis: >> >> > After comment string in ~/.guile "(use-modules (ice-9 readline))" >> > guile starts, but does not highlight matching brackets as before. >> >> The (ice-9 readline) module is now part of the ‘guile-readline’ >> package. Thus, to get that functionality, you need to run: >> >> guix package -i guile-readline > > gnu/system/shadow.scm has: > (".guile" ,(plain-file "dot-guile" > "(cond ((false-if-exception (resolve-interface '(ice-9 > readline))) > > so we might want to fix this systemwide This ~/.guile template is for new installs, to adequately deal with missing (ice-9 readline). People who already had a ~/.guile have to adjust it or install guile-readline, we can’t do that for them. Ludo’.
Re: Problems with guile
Hello Jone, Joneskribis: > After comment string in ~/.guile "(use-modules (ice-9 readline))" > guile starts, but does not highlight matching brackets as before. The (ice-9 readline) module is now part of the ‘guile-readline’ package. Thus, to get that functionality, you need to run: guix package -i guile-readline HTH! Ludo’.
Re: Problems with guile
Hello Jone, Jonewrites: […] > After comment string in ~/.guile "(use-modules (ice-9 readline))" > guile starts, but does not highlight matching brackets as before. Could you show ‘%load-path’ and ‘%load-compiled-path’ by evaluating them in a ‘guile’ REPL? Thanks, Oleg. signature.asc Description: PGP signature
Problems with guile
Hello! I wanted to learn more about Scheme. Earlier I could run guile, but after latest updates (maybe, updates - not sure): ~> guile Backtrace: 12 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 11 (call-with-prompt ("prompt") # …) In ice-9/eval.scm: 619:8 10 (_ #(#(#))) In unknown file: 9 (primitive-load "/home/jone/.guile") In ice-9/eval.scm: 721:20 8 (primitive-eval (use-modules (ice-9 readline))) In ice-9/psyntax.scm: 1235:36 7 (expand-top-sequence ((use-modules (ice-9 readline))) _ …) 1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …) 285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c (eval) …) In ice-9/boot-9.scm: 3365:20 4 (process-use-modules _) 222:17 3 (map1 (((ice-9 readline 3366:31 2 (_ ((ice-9 readline))) 2791:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …) ERROR: In procedure scm-error: no code for module (ice-9 readline) ~> guix package -I guile guile-readline 2.2.3 - installed for test, freshly ~> guix package -p /run/current-system/profile -I guile guile 2.2.3 After comment string in ~/.guile "(use-modules (ice-9 readline))" guile starts, but does not highlight matching brackets as before. ??