* Problems with guile
@ 2018-03-12 19:52 Jone
2018-03-14 12:31 ` Oleg Pykhalov
2018-03-14 13:03 ` Ludovic Courtès
0 siblings, 2 replies; 5+ messages in thread
From: Jone @ 2018-03-12 19:52 UTC (permalink / raw)
To: help-guix
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 #<catch-closure f916e0>)
In ice-9/boot-9.scm:
705:2 11 (call-with-prompt ("prompt") #<procedure 11f9360 at ic…> …)
In ice-9/eval.scm:
619:8 10 (_ #(#(#<directory (guile-user) 105f140>)))
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&e (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.
??
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with guile
2018-03-12 19:52 Problems with guile Jone
@ 2018-03-14 12:31 ` Oleg Pykhalov
2018-03-14 13:03 ` Ludovic Courtès
1 sibling, 0 replies; 5+ messages in thread
From: Oleg Pykhalov @ 2018-03-14 12:31 UTC (permalink / raw)
To: Jone; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
Hello Jone,
Jone <yeger9@gmail.com> writes:
[…]
> 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with guile
2018-03-12 19:52 Problems with guile Jone
2018-03-14 12:31 ` Oleg Pykhalov
@ 2018-03-14 13:03 ` Ludovic Courtès
2018-03-14 17:37 ` Efraim Flashner
1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2018-03-14 13:03 UTC (permalink / raw)
To: Jone; +Cc: help-guix
Hello Jone,
Jone <yeger9@gmail.com> 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
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with guile
2018-03-14 13:03 ` Ludovic Courtès
@ 2018-03-14 17:37 ` Efraim Flashner
2018-03-20 10:53 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2018-03-14 17:37 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
On Wed, Mar 14, 2018 at 02:03:01PM +0100, Ludovic Courtès wrote:
> Hello Jone,
>
> Jone <yeger9@gmail.com> 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
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problems with guile
2018-03-14 17:37 ` Efraim Flashner
@ 2018-03-20 10:53 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-03-20 10:53 UTC (permalink / raw)
To: Efraim Flashner; +Cc: help-guix
Efraim Flashner <efraim@flashner.co.il> skribis:
> On Wed, Mar 14, 2018 at 02:03:01PM +0100, Ludovic Courtès wrote:
>> Hello Jone,
>>
>> Jone <yeger9@gmail.com> 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’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-03-20 10:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-12 19:52 Problems with guile Jone
2018-03-14 12:31 ` Oleg Pykhalov
2018-03-14 13:03 ` Ludovic Courtès
2018-03-14 17:37 ` Efraim Flashner
2018-03-20 10:53 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.