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

esc and sub characters visible #66

Closed
srvarey opened this issue Jan 23, 2018 · 9 comments
Closed

esc and sub characters visible #66

srvarey opened this issue Jan 23, 2018 · 9 comments

Comments

@srvarey
Copy link

srvarey commented Jan 23, 2018

atom-problem

I am using atom with lisp
and in the repl I always get these characters after executing any form e.g. (+ 2 3)

esc 3 sub esc

"hello world"
esc hello world sub esc

Hiding invisibles does nothing to stop
Would appreciate any help - otherwise back to emacs

I installed
atom-slime
lisp-paredit
language-lisp

I have tried this on 2 windows machines and one linux machine
same problem on all 3

@vindarel
Copy link

vindarel commented Jan 23, 2018

related to #64 ?

It's ok with me, I have Atom 1.18.0 on linux x64, Atom-Slime 2.8.0, language-common-lisp 0.9.5, lisp-paredit 0.6.0. I tried with language-lisp 0.2.

Can you tell your packages versions ?

ps: you also have other lisp editors, namely Lem (very Emacs-like though).

@sjlevine
Copy link
Owner

Hi all, thanks for the comments, and apologies on my slow reply (been quite busy).

The root of this problem is the way in which atom-slime handles syntax highlighting. Special (usually invisible) characters are inserted into the REPL, which then trigger Atom's grammar scope highlighting to change their color appropriately. I agree this isn't the best way to do things though, and I believe in a recent release of Atom they've introduced a new text type decoration that would be a better way to handle syntax highlighting in the REPL.

@sjlevine
Copy link
Owner

(Interestingly though, my version doesn't show those characters -- wonder why it appears for some but not others)

@srvarey
Copy link
Author

srvarey commented Jan 23, 2018 via email

@srvarey
Copy link
Author

srvarey commented Jan 23, 2018 via email

@srvarey
Copy link
Author

srvarey commented Jan 23, 2018 via email

@sjlevine
Copy link
Owner

Fixed by #78!

@BlueManCZ
Copy link

BlueManCZ commented Mar 21, 2019

Hello, I have a similar problem on Linux. Look at this picture:

Screenshot

System:
Linux 4.19.0-2-amd64 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux

Versions of packages:
atom 1.35.1 x64
atom-slime 2.8.0
slime 2.23

#Edit
On laptop:

Screenshot2

@neil-lindquist
Copy link
Contributor

As mentioned in #80, the fix is in master, but @sjlevine hasn't made a new release since this was added to master. You can use the fixed version by using Atom's package development mode and using the master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants