GNU bug report logs - #35727
Connecting Geiser to Guile listening to a socket: No prompt found! (.guile to blame)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: sirgazil <sirgazil@HIDDEN>; dated Tue, 14 May 2019 11:18:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 35727 <at> debbugs.gnu.org:


Received: (at 35727) by debbugs.gnu.org; 8 Dec 2020 16:45:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 08 11:45:43 2020
Received: from localhost ([127.0.0.1]:59390 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kmg7T-00038y-AX
	for submit <at> debbugs.gnu.org; Tue, 08 Dec 2020 11:45:43 -0500
Received: from mail-40140.protonmail.ch ([185.70.40.140]:14667)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luis.felipe.la@HIDDEN>) id 1kmg7Q-000314-Vu
 for 35727 <at> debbugs.gnu.org; Tue, 08 Dec 2020 11:45:41 -0500
Date: Tue, 08 Dec 2020 16:45:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1607445934;
 bh=jFIdT0rlkzDnk485LFoM5DnQ4o5rS0hhFtQJXjo7tXU=;
 h=Date:To:From:Reply-To:Subject:From;
 b=FeMH2FmP7rikQ0yrn/adRIbRSe27uH/SazU/JAhOsatyBC4r8WI6SWsgTa8VIsHbD
 EocZPAER0/61d3odA1DFjVhXU97C7aL5cGfLJlpL3buxLxE9HABzZmBhuu4CGOImll
 zK+PadDx446Mh43sm+Wf3NGUMWo9TgxQi4bnmQ5c=
To: "35727 <at> debbugs.gnu.org" <35727 <at> debbugs.gnu.org>
From: Luis Felipe <luis.felipe.la@HIDDEN>
Subject: Connecting Geiser to Guile listening to a socket: No prompt found!
 (.guile to blame)
Message-ID: <BXfIoAHFv891icyDl7sk-PueliJMMz8fb0tLySkh4ZPKOrdaVZYf7qa7zWgbPcx50pigGRPn78V3GMMLLCg2cLC9kY1ymeNIDI8M2M6yV3M=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi, just to comment that this bug persists in the Guix System
 I'm using, with: guix 08d8c2d guile 3.0.4 emacs 27.1 geiser 0.12 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [185.70.40.140 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (luis.felipe.la[at]protonmail.com)
 2.0 AC_FROM_MANY_DOTS      Multiple periods in From user name
X-Debbugs-Envelope-To: 35727
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Luis Felipe <luis.felipe.la@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi, just to comment that this bug persists in the Guix System I'm using, wi=
th:

guix 08d8c2d
guile 3.0.4
emacs 27.1
geiser 0.12




Information forwarded to bug-guix@HIDDEN:
bug#35727; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 May 2019 11:17:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 14 07:17:45 2019
Received: from localhost ([127.0.0.1]:47545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hQVRJ-0001BS-0P
	for submit <at> debbugs.gnu.org; Tue, 14 May 2019 07:17:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60591)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <sirgazil@HIDDEN>) id 1hQVRG-0001BG-VZ
 for submit <at> debbugs.gnu.org; Tue, 14 May 2019 07:17:43 -0400
Received: from lists.gnu.org ([209.51.188.17]:35311)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sirgazil@HIDDEN>) id 1hQVRB-0006cM-1h
 for submit <at> debbugs.gnu.org; Tue, 14 May 2019 07:17:37 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46724)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sirgazil@HIDDEN>) id 1hQVR9-0004j5-Nd
 for bug-guix@HIDDEN; Tue, 14 May 2019 07:17:36 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sirgazil@HIDDEN>) id 1hQVR7-0006a5-Qv
 for bug-guix@HIDDEN; Tue, 14 May 2019 07:17:35 -0400
Received: from sender-pp-092.zoho.com ([135.84.80.237]:25467)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <sirgazil@HIDDEN>) id 1hQVR5-0006Xo-3c
 for bug-guix@HIDDEN; Tue, 14 May 2019 07:17:31 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1557832646; cv=none; d=zoho.com; s=zohoarc; 
 b=JTLS24HznVmmqoCtfo9B1TBNDj6QX4i8h0RwHTtzrg5H7gcuG1NrEw5yOWHm5eSweGDzhFjtGa/0uhuKuSXHyx97+Eg8uyvNp3MV3e3T5UHmzxAG7nMs5AdZ0TRBSE+Vp8uGU4EAwTSaAa8pSIEoZ7zlTtUieIqTnEUaeCpM9v0=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1557832646;
 h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results;
 bh=+XqfBSc2HVuoPKq52t9jEkKkQArvWu7Ra3l6UfWu5Tk=; 
 b=ha18K39F5h/LxPbVm0sQ6zvFohXyKMdvs940kt+VLIeZ71aVWWecwHM8NB11wL9AYR3K6Khqy4qAZk7Xpqg0MPvvVC2pIDHbGp8GW9L7S6spanC2yIvP6bL+5Pwjr3i74bZJYnGGmnQIZytYMMeRGqD/3qB94Ge2Geq5MK38baU=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=zoho.com;
 spf=pass  smtp.mailfrom=sirgazil@HIDDEN;
 dmarc=pass header.from=<sirgazil@HIDDEN> header.from=<sirgazil@HIDDEN>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; 
 h=date:from:to:message-id:in-reply-to:subject:mime-version:content-type:user-agent;
 b=FKqCgOj0D2tNfukgkuBOh2fgTTFiLjByIB9WlQLEpfKvRli5q0jjaFXX9YAZEAIpFveUODLn8etC
 72zd2dk0U92S/hxr7mvFzXLbJKJ1Wsz0WEMIY5/Pz28jtylmogCc  
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1557832646; 
 s=zm2019; d=zoho.com; i=sirgazil@HIDDEN;
 h=Date:From:To:Message-ID:In-Reply-To:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=1887; bh=+XqfBSc2HVuoPKq52t9jEkKkQArvWu7Ra3l6UfWu5Tk=;
 b=lEkOqO28ynOvyDXVpR3udZQZLOVpyw4XkDXuHcrCLgqIjTJ4lcaNjBadyXRAkMqY
 HoncYkZBnwWiKUxW3LvK7Fc4+fKL2LqejkM0cQQQyy+7Hj9RvPS0qiMq97IOVF3nsMX
 4cdg0PP/fix5WgHwijuAJtDsIw06kTtwMgQTkTtg=
Received: from mail.zoho.com by mx.zohomail.com
 with SMTP id 1557832639944728.3613094160072;
 Tue, 14 May 2019 04:17:19 -0700 (PDT)
Received: from  [181.130.25.222] by mail.zoho.com
 with HTTP;Tue, 14 May 2019 04:17:19 -0700 (PDT)
Date: Tue, 14 May 2019 06:17:19 -0500
From: sirgazil <sirgazil@HIDDEN>
To: "bug-guix" <bug-guix@HIDDEN>
Message-ID: <16ab60fa5c6.12a703b6121975.7975346690813311720@HIDDEN>
In-Reply-To: 
Subject: Connecting Geiser to Guile listening to a socket: No prompt found!
 (.guile to blame)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Priority: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 135.84.80.237
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Hi,

I'm getting a "No prompt found!" error when I try to connect Geiser to a Guile REPL like this:

1. In a terminal, run "$ guile --listen=/tmp/guile-socket"
2. In Emacs, "M-x geiser-connect-local", then "guile", and finally "/tmp/guile-socket"

When the Guile REPL start in Emacs, I get a "No prompt found!" in the echo area, and the prompt in the REPL looks like this:

https://multimedialib.files.wordpress.com/2019/05/emacs-geiser-guile-repl-no-prompt-found-2019-05-13.png

After trying some things out with help from str1ngs on #guix, we found out that the problem is related to the ".guile" file that seems to be generated by the system by default. In my case, ".guile" looks like this:

##########
(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"))))
##########

When I remove this file and try to connect again, the "No prompt  found!" error disappears, and the prompt looks normal.


## System information

$ guix describe
Generation 1	May 06 2019 11:29:00	(current)
  guix d6a68e9
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: d6a68e90483b35bdc2ea78afe2c81873be67ec95

I'm using Emacs 26.2, Geiser 0.10, and Guile 2.2.4, all installed as Guix packages.


---
https://sirgazil.bitbucket.io/








Acknowledgement sent to sirgazil <sirgazil@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#35727; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Dec 2020 17:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.