unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jakub T. Jankiewicz" <jcubic@jcubic.pl>
To: emacs-devel@gnu.org
Subject: Scheme REPL in Emacs don't show the prompt
Date: Sun, 5 Jan 2025 19:15:56 +0100	[thread overview]
Message-ID: <20250105191556.5626dd1e@jcubic> (raw)

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



                 reply	other threads:[~2025-01-05 18:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20250105191556.5626dd1e@jcubic \
    --to=jcubic@jcubic.pl \
    --cc=emacs-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/emacs.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).