GNU bug report logs -
#30937
In `comment-region', C-g doesn't work.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Sun, 25 Mar 2018 14:49:01 UTC
Severity: normal
Tags: moreinfo, unreproducible
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 30937 <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 25 Mar 2018 17:15:10 +0000
> Cc: 30937 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
>
> > In both cases, C-g should trigger a SIGINT, so Emacs should be even
> > more responsive to C-g than on X.
>
> For what it's worth, quit-flag is getting set on a C-g (I hacked up my
> own quit mechanism to test this). It would appear that nothing is
> testing quit-flag during the comment-region.
comment-region doesn't need to test that explicitly, it is tested in
many underlying primitives. Moreover, on a TTY, C-g triggers a
SIGINT, which should cause a throw to top-level even if quit-flag is
not tested, just because it's a signal.
Can you see if SIGINT is delivered to Emacs when you type C-g on that
console?
This bug report was last modified 5 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.