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

From: Alan Mackenzie <[email-masked]>
Date: Sun, 25 Mar 2018 16:01:26 +0000

Hello, Andreas.

On Sun, Mar 25, 2018 at 18:07:00 +0200, Andreas Schwab wrote:
> 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?

Sort of, yes.  But I run with transient-mark-mode disabled, and on a
Linux tty.  What has select-active-regions got to do with my platform?

> Andreas.

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

-- 
Alan Mackenzie (Nuremberg, Germany).