From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30937: In `comment-region', C-g doesn't work Date: Sun, 25 Mar 2018 21:11:44 +0300 Message-ID: <83sh8of2jj.fsf@gnu.org> References: <20180325142855.GA6292@ACM> <838taggohx.fsf@gnu.org> <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@gnu.org> <87bmfc5a8e.fsf_-_@violet.siamics.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1522001410 15567 195.159.176.226 (25 Mar 2018 18:10:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 18:10:10 +0000 (UTC) Cc: 30937@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 25 20:10:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0A5l-0003vW-Gz for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 20:10:05 +0200 Original-Received: from localhost ([::1]:52140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0A7n-0005ek-7C for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 14:12:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0A7h-0005eL-Ax for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 14:12:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0A7e-0006PU-4F for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 14:12:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45269) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0A7d-0006PP-Vv for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 14:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0A7d-0006DC-Pw for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 14:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Mar 2018 18:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30937 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30937-submit@debbugs.gnu.org id=B30937.152200150623855 (code B ref 30937); Sun, 25 Mar 2018 18:12:01 +0000 Original-Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 18:11:46 +0000 Original-Received: from localhost ([127.0.0.1]:53166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0A7O-0006Ch-IH for submit@debbugs.gnu.org; Sun, 25 Mar 2018 14:11:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0A7N-0006CT-Kn for 30937@debbugs.gnu.org; Sun, 25 Mar 2018 14:11:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0A7F-00065U-E7 for 30937@debbugs.gnu.org; Sun, 25 Mar 2018 14:11:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0A7F-00065P-AS; Sun, 25 Mar 2018 14:11:37 -0400 Original-Received: from [176.228.60.248] (port=2020 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f0A7E-0004gR-Po; Sun, 25 Mar 2018 14:11:37 -0400 In-reply-to: <87bmfc5a8e.fsf_-_@violet.siamics.net> (message from Ivan Shmakov on Sun, 25 Mar 2018 17:35:45 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144609 Archived-At: > From: Ivan Shmakov > 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.