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: Emacs Scheme Mode, REPL, and scheme-send-definition
Date: Fri, 2 Feb 2024 18:39:55 +0100	[thread overview]
Message-ID: <20240202183955.4bfd4f64@jcubic> (raw)

Hi,

Is there a way to implement something in Scheme REPL that will disable
continuations prompts when running C-C C-e?

I have Scheme REPL for my own implementation, but the same thing happen with
guile:

scheme@(guile-user)> (
... define x 10)
scheme@(guile-user)> ... ... ... ... scheme@(guile-user)>
scheme@(guile-user)> 

I've typed open parenthesis and press enter, and the next thing was calling
scheme-send-definition to the REPL.

Is there a way to detect Emacs copy-paste and don't show the continue prompt?
Maybe show simple message "loaded"? If not in REPL then maybe in Inferior
Scheme.

I use this to run the REPL:

(defun scheme ()
  "call run-scheme with guile scheme interpreter."
  (interactive)
  (run-scheme "/usr/bin/guile"))

Thanks,
Jakub

--
Jakub T. Jankiewicz, Senior Front-End Developer
https://jcubic.pl/me
https://lips.js.org
https://koduj.org



                 reply	other threads:[~2024-02-02 17:39 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=20240202183955.4bfd4f64@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).