From: Mekeor Melire <mekeor@posteo.de>
To: Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br>
Cc: guix-devel@gnu.org
Subject: Re: geiser and guix repl
Date: Mon, 12 Dec 2022 01:38:24 +0000 [thread overview]
Message-ID: <87fsdlwg8l.fsf@posteo.de> (raw)
In-Reply-To: <87lenenp8w.fsf@yahoo.com.br>
2022-12-11 12:39 acpadoanjr@yahoo.com.br:
> I figure out that the issue was indeed the colors.
>
> I had an .guile file forcing it to use colors.
Ah, I guess that's why Guix System ships with the following
~/.guile file. At least that's where I think I got it from, if I
remember correctly.
--8<---------------cut here---------------start------------->8---
(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")))
(unless (getenv "INSIDE_EMACS")
(cond ((false-if-exception (resolve-interface '(ice-9
colorized)))
=>
(lambda (module)
;; Enable completion and input history at the
REPL.
((module-ref module 'activate-colorized))))
(else
(display "Consider installing the 'guile-colorized'
package
for a colorful Guile experience.\n\n"))))
--8<---------------cut here---------------end--------------->8---
> Antonio Carlos Padoan Junior <acpadoanjr@yahoo.com.br> writes:
>
> > I'm facing some trouble using guix repl and geiser with
> > company-mode enabled. Emacs is hanging. I saw in documentation
> > that the issue is probably the regex used to parse the prompt.
> >
> > However, the default prompt regex looks fine. The only
> > difference I noticed between a geiser's session working
> > correctly (started from emacs) and guix's session (started
> > from terminal + geiser-connect) is the prompt colors.
By the way, personally, starting "guix repl --listen=tcp:37146"
from terminal and then running M-x geiser-connect makes Emacs
freeze for me. Do you experience the same?
next prev parent reply other threads:[~2022-12-12 1:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87sfhmnu8k.fsf.ref@yahoo.com.br>
2022-12-11 9:51 ` geiser and guix repl Antonio Carlos Padoan Junior
2022-12-11 11:39 ` Antonio Carlos Padoan Junior
2022-12-12 1:38 ` Mekeor Melire [this message]
2022-12-12 10:28 ` Antonio Carlos Padoan Junior
2022-12-12 13:17 ` Luis Felipe
2022-12-12 13:28 ` Mekeor Melire
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fsdlwg8l.fsf@posteo.de \
--to=mekeor@posteo.de \
--cc=acpadoanjr@yahoo.com.br \
--cc=guix-devel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).