shell-pop-el icon indicating copy to clipboard operation
shell-pop-el copied to clipboard

Strange ^L?

Open Raphus-cucullatus opened this issue 7 years ago • 3 comments

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 avatar Aug 08 '17 03:08 Raphus-cucullatus

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?

Raphus-cucullatus avatar Aug 08 '17 04:08 Raphus-cucullatus

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.

Fuco1 avatar Jan 07 '19 18:01 Fuco1

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.

ghost avatar Jan 05 '20 14:01 ghost