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: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 30937 <at> debbugs.gnu.org
Subject: bug#30937: In `comment-region', C-g doesn't work
Date: Sun, 25 Mar 2018 21:11:44 +0300
> From: Ivan Shmakov <ivan <at> siamics.net>
> Date: Sun, 25 Mar 2018 17:35:45 +0000
> 
>  > ???  How come it works in "emacs -nw" but not on a "Linux tty" (which
>  > is what, btw? the raw Linux console?).  In both cases, C-g should
>  > trigger a SIGINT, so Emacs should be even more responsive to C-g than
>  > on X.  What am I missing?
> 
> 	I’d think that it means “works with -nw under xterm [or some
> 	such] but not on a virtual terminal [like /dev/tty2]”.
> 
> 	Personally, I’d look at (and compare) the stty(1) settings for
> 	the respective tty devices first; like:
> 
> $ stty -a -F /dev/tty2 
> 
> $ stty -a -F /dev/pts/5 

If a SIGINT is disabled, then I'd expect Emacs on a TTY to become
completely broken wrt to C-g, because AFAIK there's no other mechanism
on a TTY for Emacs to treat C-g differently from any other key.

But it doesn't do any harm to check the stty settings.




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.