From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#30937: In `comment-region', C-g doesn't work. Date: Sun, 25 Mar 2018 17:15:10 +0000 Message-ID: <20180325171510.GD6292@ACM> References: <20180325142855.GA6292@ACM> <838taggohx.fsf@gnu.org> <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1521999192 31637 195.159.176.226 (25 Mar 2018 17:33:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 17:33:12 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 30937@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 25 19:33:08 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 1f09Vz-00084f-6n for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 19:33:07 +0200 Original-Received: from localhost ([::1]:52019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f09Y0-0003Ei-VJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 13:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f09Xt-0003Cx-Nb for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f09Xq-0007md-Jc for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:35:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f09Xq-0007mU-GJ for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f09Xq-0005IC-AT for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Mar 2018 17:35:02 +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.152199926020287 (code B ref 30937); Sun, 25 Mar 2018 17:35:02 +0000 Original-Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 17:34:20 +0000 Original-Received: from localhost ([127.0.0.1]:53152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f09XA-0005H9-0J for submit@debbugs.gnu.org; Sun, 25 Mar 2018 13:34:20 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:41658 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1f09X6-0005Gu-Ju for 30937@debbugs.gnu.org; Sun, 25 Mar 2018 13:34:17 -0400 Original-Received: (qmail 5061 invoked by uid 3782); 25 Mar 2018 17:34:15 -0000 Original-Received: from acm.muc.de (p5B14605B.dip0.t-ipconnect.de [91.20.96.91]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 25 Mar 2018 19:34:14 +0200 Original-Received: (qmail 8240 invoked by uid 1000); 25 Mar 2018 17:15:10 -0000 Content-Disposition: inline In-Reply-To: <831sg8gkzj.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:144606 Archived-At: Hello, Eli. On Sun, Mar 25, 2018 at 19:48:00 +0300, Eli Zaretskii wrote: > > Date: Sun, 25 Mar 2018 15:39:59 +0000 > > Cc: 30937@debbugs.gnu.org > > From: Alan Mackenzie > > Yes, I've just tried it on X. It works there (except it leaves point in > > a suboptimal position: the starting point. It should really leave point > > after the last newly commented line when the quit happened). It works > > on emacs -nw, with the same proviso. > > It doesn't work at all on a Linux tty. > ??? How come it works in "emacs -nw" but not on a "Linux tty" (which > is what, btw? the raw Linux console?). Yes, the raw Linux console. I don't know why it doesn't work, here. > 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. > What am I missing? I honestly don't know. -- Alan Mackenzie (Nuremberg, Germany).