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

Strange ^L? #56

Open
Raphus-cucullatus opened this issue Aug 8, 2017 · 3 comments
Open

Strange ^L? #56

Raphus-cucullatus opened this issue Aug 8, 2017 · 3 comments

Comments

@Raphus-cucullatus
Copy link

Raphus-cucullatus commented Aug 8, 2017

image

Every time I open shell-pop (trigger by default keybind ), there is a ^L character in the prompt.

What is the meaning of this line in shell-pop.el? Has something to do with this?

image

Environment:
Ubuntu 16.04,
Emacs 24.5.1

@Raphus-cucullatus
Copy link
Author

Raphus-cucullatus commented Aug 8, 2017

I comment this line out (and re-compile the .elc file):
image

It seems OK now.

But question remains:

  • Is it necessary to term-send-raw-string a "\C-l"?
  • Is it safe to remove this line without leading to other issues?

@Fuco1
Copy link
Collaborator

Fuco1 commented Jan 7, 2019

I think the idea here was to clear the shell. What shell are you using? Anyway I don't think there's any harm done if you remove it.

It should work fine in bash so if you are using something else maybe we should conditionally check for that (if that's even possible). Otherwise I agree that it's more annoying than helpful.

@ghost
Copy link

ghost commented Jan 5, 2020

I comment this line out (and re-compile the .elc file):
image

I have been hit by this annoying bug. I use Spacemacs (develop branch) atop a Guix-installed GNU Emacs 26.3 on Debian buster. My shell is Bash. I solved the problem by commenting out the evil line per the comment quoted above. That was a couple days ago and it has been working fine.

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

2 participants