When emacs frozen, I restart it and I see that 84;0;0c
may end up writting into very first line of the latest open file.
The way I start emacs daemon: emacsclient -c -qut file.txt 2>/dev/null
. While this process is on-going when I type enter or some characters they show up on the opened file.
$ cat file.txt
MY_FILE_STARTS
$ kill -9 $(ps auxww | grep -E "[e]macsclient" | awk '{print $2}')
$ emacsclient -qut file.txt 2>/dev/null
alper
alper
alper
Than opened file shown as follows:
lper
alper
alper
84;0;0cMY_FILE_STARTS
Simple solution would be not to enter any keys while emacs daemon is starting but accidently I may end up typing enter once in a while.
What does 84;0;0c
stands for and is it possible to prevent writing those characters when emacs is unresponsive?
pkill -SIGUSR2 emacs
? That should start the debugger. It may be necessary to callpkill -SIGUSR2 emacs
multiple times. – Tobias May 20 '22 at 12:34emacsclient -qut 2>/dev/null
after this when I press any key like enter that writting into 1st line of the open file followed by84;0;0c
– alper Jun 08 '22 at 13:09zsh
; it happens withbash
as well. – alper Jun 10 '22 at 13:27-qut
do? I don't find them in myemacsclient
man page at all. As for "starting the emacs daemon", I don't understand what you mean: emacsclient cannot start the daemon - instead you start emacs with--daemon
and it runs in the background without a frame, but starts a server to listen. Then you invokeemacsclient
to connect to the server. In short, I don't think you are describing the situation you are facing accurately enough, so nobody can figure out what's really happening, let alone fix it. – NickD Jun 10 '22 at 20:58) but I cannot find one that ends in
c`. – NickD Jun 10 '22 at 21:01(setq xterm-extra-capabilities nil)
– alper Jun 21 '22 at 19:22