kyagi / shell-pop-el

shell-pop.el helps you to use shell easily on Emacs. Only one key action to work.
212 stars 21 forks source link

Strange ^L? #56

Open Raphus-cucullatus opened 7 years ago

Raphus-cucullatus commented 7 years ago

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 commented 7 years ago

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

It seems OK now.

But question remains:

Fuco1 commented 5 years ago

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 commented 4 years ago

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.