I use Emacs Dired to manage files. Accidentally, I hit Enter on an image file, Emacs tries to open the image and stop response. Is there a way to kill this process?
(Since I am running other processes at the same time, I don't want to restart Emacs.)
Edit:
Is there a way to list all the processes within Emacs and kill a certain one like in shell: kill -9 process-id
?
Edit 2:
Although very slow, I managed to press C-x C-b
to list all the buffers, and d
mark the buffer caused Emacs no-response, x
to execute delete. It succeed.
This only works as long as Emacs could response to my key. I really don't know what to do if I can't list all the buffers.