GNU bug report logs - #30937
In `comment-region', C-g doesn't work.

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Alan Mackenzie <acm <at> muc.de>, 30937 <at> debbugs.gnu.org
Subject: bug#30937: In `comment-region', C-g doesn't work.
Date: Sun, 25 Mar 2018 20:43:15 +0200
On Mär 25 2018, Eli Zaretskii <eliz <at> gnu.org> wrote:

> 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.

SIGINT only sets quit-flag.  If you want it to take effect you need to
call maybe_quit.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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.