Subject: bug#30937: In `comment-region', C-g doesn't work.

From: Andreas Schwab <[email-masked]>
Date: Sun, 25 Mar 2018 18:07:00 +0200

On Mär 25 2018, Alan Mackenzie <[email-masked]> wrote:

> emacs-26.0.91 -Q
> C-x C-f Any largish file.c
> C-x h                 ; mark buffer.
> C-c C-c               ; comment-region.
>
> This is the sort of thing that can happen by accident.  Depending on the
> size of the file.c and the speed of your machine, you've now got a long,
> long wait.  C-g doesn't work.  This is a bug.

Does it help to set select-active-regions to nil or 'only?

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."