Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input is truncated when \. is inside a string. #1

Open
austinhaas-cambia opened this issue Jun 15, 2020 · 1 comment
Open

Input is truncated when \. is inside a string. #1

austinhaas-cambia opened this issue Jun 15, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@austinhaas-cambia
Copy link

austinhaas-cambia commented Jun 15, 2020

Steps to reproduce:

  1. Connect to REPL.
  2. Enter "\." at the REPL prompt.

Actual behavior:
The REPL responds with a message: "Unsupported escape character: \.", and no prompt is returned.

Expected behavior:
Same error message, but a prompt is returned.

@austinhaas austinhaas added the bug Something isn't working label Jun 16, 2020
@austinhaas
Copy link
Owner

austinhaas commented Jun 16, 2020

Sending a single " will terminate the input and cause a new prompt to be returned.

This isn't an Emacs issue, because:

  • According to ngrep -d any port 5555, the complete string is sent.
  • This problem can be reproduced directly by launching a REPL with clj and entering "\.".

clojure.core.server/io-prepl has the same behavior.

nRepl and Rebel don't have this problem.

So, there's nothing wrong with what scrim or emacs are doing, but these other REPLs are working around it.

I filed a bug with Clojure here: https://clojure.atlassian.net/browse/CLJ-2575

@austinhaas austinhaas added wontfix This will not be worked on and removed bug Something isn't working labels Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants