all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Josh Marshall <joshua.r.marshall.1991@gmail.com>
To: Marius Bakke <marius@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guile-readline bug -- readline module not available
Date: Sat, 25 Jul 2020 12:18:24 -0400	[thread overview]
Message-ID: <CAFkJGRf+FHY8sNP6GFg+ekmh0p1FEJp0=W84tDv_W2_0Y3Ytqg@mail.gmail.com> (raw)
In-Reply-To: <87v9ibve2o.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

Correct.  Moved, new job, and other stuff came up so I had to drop guix
participation for a bit.  Not ready to pick it back up yet.

On Sat, Jul 25, 2020, 10:56 Marius Bakke <marius@gnu.org> wrote:

> Josh Marshall <joshua.r.marshall.1991@gmail.com> writes:
>
> > Hello all,
> >
> > I ran into an issue where the readline module isn't available for the
> > guile repl after installing `guile-readline`.  It can be replicated
> > via:
> >
> > `echo "(use-modules (ice-9 readline))" | guix environment --pure guile
> > guile-readline -- guile`
> >
> > So with that, I'm pretty sure it isn't just me.
>
> This is on a foreign distribution, right?
>
> The '.guile' on Guix System has a trick that automatically loads
> readline when available:
>
> --8<---------------cut here---------------start------------->8---
> $ cat ~/.guile
> (cond ((false-if-exception (resolve-interface '(ice-9 readline)))
>        =>
>        (lambda (module)
>          ;; Enable completion and input history at the REPL.
>          ((module-ref module 'activate-readline))))
>       (else
>        (display "Consider installing the 'guile-readline' package for
> convenient interactive line editing and input history.\n\n")))
> --8<---------------cut here---------------end--------------->8---
>

[-- Attachment #2: Type: text/html, Size: 1841 bytes --]

      reply	other threads:[~2020-07-25 16:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12 22:32 guile-readline bug -- readline module not available Josh Marshall
2020-06-13  4:11 ` Jack Hill
2020-06-13 15:31   ` Josh Marshall
2020-06-13 19:09     ` Jack Hill
2020-07-25 14:55 ` Marius Bakke
2020-07-25 16:18   ` Josh Marshall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFkJGRf+FHY8sNP6GFg+ekmh0p1FEJp0=W84tDv_W2_0Y3Ytqg@mail.gmail.com' \
    --to=joshua.r.marshall.1991@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=marius@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.