From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jakub T. Jankiewicz" Newsgroups: gmane.emacs.devel Subject: Scheme REPL in Emacs don't show the prompt Date: Sun, 5 Jan 2025 19:15:56 +0100 Message-ID: <20250105191556.5626dd1e@jcubic> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22515"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 05 19:35:32 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUVTG-0005hp-RN for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jan 2025 19:35:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUVSR-0006dd-Dz; Sun, 05 Jan 2025 13:34:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUVJI-0004eM-7h for emacs-devel@gnu.org; Sun, 05 Jan 2025 13:25:12 -0500 Original-Received: from u63.atthost.pl ([2a0c:5841::ac7:31f7]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUVJE-0004xk-N1 for emacs-devel@gnu.org; Sun, 05 Jan 2025 13:25:11 -0500 Original-Received: from localhost (unknown [127.0.0.1]) by u63.atthost.pl (Postfix) with ESMTP id 9DD5F181265 for ; Sun, 5 Jan 2025 18:16:03 +0000 (UTC) X-Virus-Scanned: amavis at atthost.pl Original-Received: from u63.atthost.pl ([77.55.253.63]) by localhost (atthost.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id H0eaHDfmjEPr for ; Sun, 5 Jan 2025 19:15:57 +0100 (CET) Original-Received: from jcubic (unknown [185.129.114.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jcubic@jcubic.pl) by u63.atthost.pl (Postfix) with ESMTPSA id 4D938181264 for ; Sun, 5 Jan 2025 19:15:57 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 u63.atthost.pl 4D938181264 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=jcubic.pl; s=atthost; t=1736100957; bh=a1C8PCddb+6fbnwqOQFY2h0Bnf25a3hbNGqXDcc+YvE=; h=Date:From:To:Subject:From; b=F9zor9nnHDI4j8QnQ1sLLVn8d3B6aDdOHZe5OUS5Mf9sltVGmzhb7KY4yBfpt3SbQ QqF30XGW/7i93M13Rx07iYRdSaiHPZqjbPNqhZMwbRk5aqpB+R4vodgue6czndJZ6p MFdMeku3FwmT5VYpeuO5yvFwLZck8lZnSxWDnofc= X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-redhat-linux-gnu) Received-SPF: pass client-ip=2a0c:5841::ac7:31f7; envelope-from=SRS0=brws=T5=jcubic.pl=jcubic@attmail.pl; helo=u63.atthost.pl X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.178, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 05 Jan 2025 13:34:30 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327726 Archived-At: I have a weird issue with my Scheme interpreter written in JavaScript. I have a prompt: 'lips> ' and I execute the REPL with: (defun lips () "call run-scheme with LIPS interpreter." (interactive) (run-scheme "/home/kuba/projects/jcubic/scheme/lips/bin/lips.js -q")) It's my git repo, but the same happen with latest version that was published to NPM. To reproduce you need to have node installed and run: npm install -g @jcubic/lips@beta and type $ whereis lips and use that path. If I change the prompt to anything else like lips$, scheme> or repl> it do work just fine. But somehow the lips> is hidden in scheme> Emacs. I've tried `emacs -Q` and have the same issue. What may be the issue? Why prompt lips> is not visible? I have a minimal Node.js REPL, where I was testing auto-indent, and when I changed the prompt from repl> to lips> it also works fine. I don't have any idea where to even look at. My Scheme REPL use to work in Emacs. -- Jakub T. Jankiewicz, Senior Front-End Developer https://jcubic.pl/me https://lips.js.org https://koduj.org