Subject: bug#11268: Rgrep can get out of hand, so...

From: Juri Linkov <[email-masked]>
Date: Wed, 18 Apr 2012 08:28:12 +0300

> Rgrep can cause massive searches.
>
> Killing its buffer won't stop it!
>
> Also it should say what keys to kill it right there at the top.
>
> Indeed, not even (describe-function (quote rgrep)) or (describe-function
> (quote grep)) says how to kill a runaway [r]grep.

You can kill the running grep with `C-c C-k'.

Also when you kill its buffer with `C-x k',
it asks you the question:

  "Buffer "*grep*" has a running process; kill it? (yes or no)"

Just say yes.

If you can't find the buffer where grep runs, use
`M-x list-processes RET' to find the ruinning process.