3 ms·
Doesn't work if emacs itself is blocked waiting on the process. I just tab over to a terminal and use pgrep/pkill for this.
by SoftTalker 4y ago
Doesn't work if emacs itself is blocked waiting on the process.
I just tab over to a terminal and use pgrep/pkill for this.
- omnicognate 4y agoWhether that matters depends on your use. Usually when I want to kill a process it's a program I'm working on and unrelated to emacs itself. This will be very useful for that and I can still always fire up an external terminal to kill things in the rare case where emacs itself is stuck waiting foe something and I can't C-g it. (Actually, since I use emacs EXWM as the window manager, in that situation I would Ctrl-Alt-Fkey to another tty and kill emacs if SIGUSR2 doesn't wake it up - a very rare situation indeed.)
- gpderetta 4y agoI use aggressive-indent-mode with lsp and often clangd gives an error about "something something non added document" and emacs hangs. The only way to unblock it is to kill clangd from a shell. Quite annoying, but haven't spent much time debugging it