GNU logs - #30937, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Alan Mackenzie <acm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 14:49:01 +0000
Resent-Message-ID: <handler.30937.B.152198929930226 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 30937 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.152198929930226
          (code B ref -1); Sun, 25 Mar 2018 14:49:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 Mar 2018 14:48:19 +0000
Received: from localhost ([127.0.0.1]:53052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f06wV-0007rQ-Bt
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 10:48:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35355)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <acm@HIDDEN>) id 1f06wS-0007r9-Mq
 for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 10:48:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <acm@HIDDEN>) id 1f06wM-0001jP-Qy
 for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 10:48:11 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54006)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <acm@HIDDEN>) id 1f06wM-0001j2-NW
 for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 10:48:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54545)
 by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <acm@HIDDEN>)
 id 1f06wL-00008p-In
 for bug-gnu-emacs@HIDDEN; Sun, 25 Mar 2018 10:48:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <acm@HIDDEN>) id 1f06wG-0001f8-Jq
 for bug-gnu-emacs@HIDDEN; Sun, 25 Mar 2018 10:48:09 -0400
Received: from colin.muc.de ([193.149.48.1]:62289 helo=mail.muc.de)
 by eggs.gnu.org with smtp (Exim 4.71) (envelope-from <acm@HIDDEN>)
 id 1f06wG-0001d1-8W
 for bug-gnu-emacs@HIDDEN; Sun, 25 Mar 2018 10:48:04 -0400
Received: (qmail 62180 invoked by uid 3782); 25 Mar 2018 14:48:00 -0000
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 16:47:59 +0200
Received: (qmail 6311 invoked by uid 1000); 25 Mar 2018 14:28:55 -0000
Date: Sun, 25 Mar 2018 14:28:55 +0000
Message-ID: <20180325142855.GA6292@ACM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.7.2 (2016-11-26)
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alan Mackenzie <acm@HIDDEN>
X-Primary-Address: acm@HIDDEN
X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.4 (----)

Hello, Emacs.

emacs-26.0.91 -Q
C-x C-f Any largish file.c
C-x h                 ; mark buffer.
C-c C-c               ; comment-region.

This is the sort of thing that can happen by accident.  Depending on the
size of the file.c and the speed of your machine, you've now got a long,
long wait.  C-g doesn't work.  This is a bug.

(The same applies to `uncomment-region'.)

-- 
Alan Mackenzie (Nuremberg, Germany).




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Alan Mackenzie <acm@HIDDEN>
Subject: bug#30937: Acknowledgement (In `comment-region', C-g doesn't work.)
Message-ID: <handler.30937.B.152198929930226.ack <at> debbugs.gnu.org>
References: <20180325142855.GA6292@ACM>
X-Gnu-PR-Message: ack 30937
X-Gnu-PR-Package: emacs
Reply-To: 30937 <at> debbugs.gnu.org
Date: Sun, 25 Mar 2018 14:49:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 30937 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
30937: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30937
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 15:33:02 +0000
Resent-Message-ID: <handler.30937.B30937.15219919361698 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Mackenzie <acm@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.15219919361698
          (code B ref 30937); Sun, 25 Mar 2018 15:33:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 15:32:16 +0000
Received: from localhost ([127.0.0.1]:53075 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f07d1-0000RK-TL
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 11:32:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50095)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f07d0-0000R6-En
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 11:32:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f07cq-0003cR-8Q
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 11:32:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39631)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f07cq-0003c8-3i; Sun, 25 Mar 2018 11:32:04 -0400
Received: from [176.228.60.248] (port=1776 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f07cp-0005BC-Gr; Sun, 25 Mar 2018 11:32:03 -0400
Date: Sun, 25 Mar 2018 18:32:10 +0300
Message-Id: <838taggohx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <20180325142855.GA6292@ACM> (message from Alan Mackenzie on Sun, 
 25 Mar 2018 14:28:55 +0000)
References: <20180325142855.GA6292@ACM>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sun, 25 Mar 2018 14:28:55 +0000
> From: Alan Mackenzie <acm@HIDDEN>
> 
> emacs-26.0.91 -Q
> C-x C-f Any largish file.c
> C-x h                 ; mark buffer.
> C-c C-c               ; comment-region.
> 
> This is the sort of thing that can happen by accident.  Depending on the
> size of the file.c and the speed of your machine, you've now got a long,
> long wait.  C-g doesn't work.  This is a bug.

C-g does work for me just fine in the above recipe.  Maybe it's
platform dependent, and the problem happens only on X?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Alan Mackenzie <acm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 16:00:02 +0000
Resent-Message-ID: <handler.30937.B30937.152199355011611 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152199355011611
          (code B ref 30937); Sun, 25 Mar 2018 16:00:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 15:59:10 +0000
Received: from localhost ([127.0.0.1]:53103 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f0834-00031D-J1
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 11:59:10 -0400
Received: from colin.muc.de ([193.149.48.1]:45704 helo=mail.muc.de)
 by debbugs.gnu.org with smtp (Exim 4.84_2)
 (envelope-from <acm@HIDDEN>) id 1f0830-000312-5A
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 11:59:08 -0400
Received: (qmail 84863 invoked by uid 3782); 25 Mar 2018 15:59:04 -0000
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 17:59:03 +0200
Received: (qmail 6821 invoked by uid 1000); 25 Mar 2018 15:39:59 -0000
Date: Sun, 25 Mar 2018 15:39:59 +0000
Message-ID: <20180325153959.GB6292@ACM>
References: <20180325142855.GA6292@ACM>
 <838taggohx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <838taggohx.fsf@HIDDEN>
User-Agent: Mutt/1.7.2 (2016-11-26)
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alan Mackenzie <acm@HIDDEN>
X-Primary-Address: acm@HIDDEN
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello, Eli.

On Sun, Mar 25, 2018 at 18:32:10 +0300, Eli Zaretskii wrote:
> > Date: Sun, 25 Mar 2018 14:28:55 +0000
> > From: Alan Mackenzie <acm@HIDDEN>

> > emacs-26.0.91 -Q
> > C-x C-f Any largish file.c
> > C-x h                 ; mark buffer.
> > C-c C-c               ; comment-region.

> > This is the sort of thing that can happen by accident.  Depending on the
> > size of the file.c and the speed of your machine, you've now got a long,
> > long wait.  C-g doesn't work.  This is a bug.

> C-g does work for me just fine in the above recipe.  Maybe it's
> platform dependent, and the problem happens only on X?

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.  Sorry I didn't try X before
reporting the bug.

-- 
Alan Mackenzie (Nuremberg, Germany).




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 16:08:02 +0000
Resent-Message-ID: <handler.30937.B30937.152199402612377 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Mackenzie <acm@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152199402612377
          (code B ref 30937); Sun, 25 Mar 2018 16:08:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 16:07:06 +0000
Received: from localhost ([127.0.0.1]:53108 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f08Aj-0003DY-Dp
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:07:06 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:42298)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f08Ah-0003DE-3P
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:07:03 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 408Mbp1Mrlz1qtdd;
 Sun, 25 Mar 2018 18:07:02 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 408Mbp0m98z1qqkT;
 Sun, 25 Mar 2018 18:07:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 0Nd8m6VI2EI1; Sun, 25 Mar 2018 18:07:01 +0200 (CEST)
X-Auth-Info: iJXtY80/ByUWtkbyVUmc+CjGKCbijGCLd6PO2cESjp4YcJOeB9WTjVzmCNSmFw/u
Received: from localhost (ppp-188-174-159-50.dynamic.mnet-online.de
 [188.174.159.50])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun, 25 Mar 2018 18:07:01 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id CD6D92C20A5; Sun, 25 Mar 2018 18:07:00 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <20180325142855.GA6292@ACM>
X-Yow: Is something VIOLENT going to happen to a GARBAGE CAN?
Date: Sun, 25 Mar 2018 18:07:00 +0200
In-Reply-To: <20180325142855.GA6292@ACM> (Alan Mackenzie's message of "Sun, 25
 Mar 2018 14:28:55 +0000")
Message-ID: <87tvt46swr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Mär 25 2018, Alan Mackenzie <acm@HIDDEN> wrote:

> emacs-26.0.91 -Q
> C-x C-f Any largish file.c
> C-x h                 ; mark buffer.
> C-c C-c               ; comment-region.
>
> This is the sort of thing that can happen by accident.  Depending on the
> size of the file.c and the speed of your machine, you've now got a long,
> long wait.  C-g doesn't work.  This is a bug.

Does it help to set select-active-regions to nil or 'only?

Andreas.

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Alan Mackenzie <acm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 16:21:02 +0000
Resent-Message-ID: <handler.30937.B30937.152199483413594 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Andreas Schwab <schwab@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152199483413594
          (code B ref 30937); Sun, 25 Mar 2018 16:21:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 16:20:34 +0000
Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f08Nm-0003XC-3T
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:20:34 -0400
Received: from colin.muc.de ([193.149.48.1]:58688 helo=mail.muc.de)
 by debbugs.gnu.org with smtp (Exim 4.84_2)
 (envelope-from <acm@HIDDEN>) id 1f08Nk-0003X3-FH
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:20:33 -0400
Received: (qmail 90056 invoked by uid 3782); 25 Mar 2018 16:20:31 -0000
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 18:20:30 +0200
Received: (qmail 7249 invoked by uid 1000); 25 Mar 2018 16:01:26 -0000
Date: Sun, 25 Mar 2018 16:01:26 +0000
Message-ID: <20180325160126.GC6292@ACM>
References: <20180325142855.GA6292@ACM>
 <87tvt46swr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <87tvt46swr.fsf@HIDDEN>
User-Agent: Mutt/1.7.2 (2016-11-26)
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alan Mackenzie <acm@HIDDEN>
X-Primary-Address: acm@HIDDEN
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello, Andreas.

On Sun, Mar 25, 2018 at 18:07:00 +0200, Andreas Schwab wrote:
> On Mr 25 2018, Alan Mackenzie <acm@HIDDEN> wrote:

> > emacs-26.0.91 -Q
> > C-x C-f Any largish file.c
> > C-x h                 ; mark buffer.
> > C-c C-c               ; comment-region.

> > This is the sort of thing that can happen by accident.  Depending on the
> > size of the file.c and the speed of your machine, you've now got a long,
> > long wait.  C-g doesn't work.  This is a bug.

> Does it help to set select-active-regions to nil or 'only?

Sort of, yes.  But I run with transient-mark-mode disabled, and on a
Linux tty.  What has select-active-regions got to do with my platform?

> Andreas.

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

-- 
Alan Mackenzie (Nuremberg, Germany).




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 16:49:01 +0000
Resent-Message-ID: <handler.30937.B30937.152199648416107 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Mackenzie <acm@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152199648416107
          (code B ref 30937); Sun, 25 Mar 2018 16:49:01 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 16:48:04 +0000
Received: from localhost ([127.0.0.1]:53139 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f08oN-0004Bj-Uz
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:48:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f08oL-0004BE-IA
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:48:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f08oD-0004V5-0H
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 12:47:56 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42160)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f08oC-0004Ut-TQ; Sun, 25 Mar 2018 12:47:52 -0400
Received: from [176.228.60.248] (port=1958 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f08oC-0001Qz-B6; Sun, 25 Mar 2018 12:47:52 -0400
Date: Sun, 25 Mar 2018 19:48:00 +0300
Message-Id: <831sg8gkzj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <20180325153959.GB6292@ACM> (message from Alan Mackenzie on Sun, 
 25 Mar 2018 15:39:59 +0000)
References: <20180325142855.GA6292@ACM>
 <838taggohx.fsf@HIDDEN> <20180325153959.GB6292@ACM>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sun, 25 Mar 2018 15:39:59 +0000
> Cc: 30937 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm@HIDDEN>
> 
> 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?).  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?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Alan Mackenzie <acm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 17:35:02 +0000
Resent-Message-ID: <handler.30937.B30937.152199926020287 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152199926020287
          (code B ref 30937); Sun, 25 Mar 2018 17:35:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 17:34:20 +0000
Received: from localhost ([127.0.0.1]:53152 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f09XA-0005H9-0J
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 13:34:20 -0400
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 <acm@HIDDEN>) id 1f09X6-0005Gu-Ju
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 13:34:17 -0400
Received: (qmail 5061 invoked by uid 3782); 25 Mar 2018 17:34:15 -0000
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
Received: (qmail 8240 invoked by uid 1000); 25 Mar 2018 17:15:10 -0000
Date: Sun, 25 Mar 2018 17:15:10 +0000
Message-ID: <20180325171510.GD6292@ACM>
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <831sg8gkzj.fsf@HIDDEN>
User-Agent: Mutt/1.7.2 (2016-11-26)
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alan Mackenzie <acm@HIDDEN>
X-Primary-Address: acm@HIDDEN
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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 <at> debbugs.gnu.org
> > From: Alan Mackenzie <acm@HIDDEN>

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work 
Resent-From: Ivan Shmakov <ivan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 17:36:01 +0000
Resent-Message-ID: <handler.30937.B30937.152199935320432 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152199935320432
          (code B ref 30937); Sun, 25 Mar 2018 17:36:01 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 17:35:53 +0000
Received: from localhost ([127.0.0.1]:53157 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f09Yd-0005JQ-HO
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 13:35:53 -0400
Received: from fely.am-1.org ([78.47.74.50]:48010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ivan@HIDDEN>) id 1f09Yb-0005JI-N0
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 13:35:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net
 ; s=a2013295;
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:
 Message-ID:In-Reply-To:Date:Sender:References:X-License:To:Subject:From:
 Reply-To:Cc:Content-ID:Content-Description;
 bh=4nyZegR4c2o0mJ3C56vLTBWI2iQH9wOFlj6pS/g29P4=; b=eU5+GmL/lhQh6hPnUbPlOcNg87
 c1ef4z52DJfoKUU2Oj9xDBEHpib2ZwGB0VwvOneaIl0wWkVwJI1jjKymogbVdwJsJU9Pg2wss//8z
 Irtv2jZXOFgsPN5t0O3YdZQmw0TywAndUvibGp/pQ1eglq6GaTZmoWGke8HxuTh9fa6k=;
Received: from oneingray-1-pt.tunnel.tserv10.par1.ipv6.he.net
 ([2001:470:1f12:1eb::2] helo=violet.siamics.net)
 by fely.am-1.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.89) (envelope-from <ivan@HIDDEN>) id 1f09YZ-0006Me-GB
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 17:35:47 +0000
Received: from localhost ([::1] helo=violet.siamics.net)
 by violet.siamics.net with esmtp (Exim 4.84_2)
 (envelope-from <ivan@HIDDEN>) id 1f09YX-0003Wv-G7
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 17:35:45 +0000
From: Ivan Shmakov <ivan@HIDDEN>
X-License: CC-BY-SA-3.0+ (original contributions only) 
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
Date: Sun, 25 Mar 2018 17:35:45 +0000
In-Reply-To: <831sg8gkzj.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 25 Mar
 2018 19:48:00 +0300")
Message-ID: <87bmfc5a8e.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

>>>>> Eli Zaretskii <eliz@HIDDEN> writes:
>>>>> From: Alan Mackenzie <acm@HIDDEN>

 >> 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?).  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=E2=80=99d think that it means =E2=80=9Cworks with -nw under xterm [or so=
me
	such] but not on a virtual terminal [like /dev/tty2]=E2=80=9D.

	Personally, I=E2=80=99d look at (and compare) the stty(1) settings for
	the respective tty devices first; like:

$ stty -a -F /dev/tty2=20

$ stty -a -F /dev/pts/5=20

--=20
FSF associate member #7257  http://am-1.org/~ivan/




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 18:09:01 +0000
Resent-Message-ID: <handler.30937.B30937.152200133423553 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Mackenzie <acm@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152200133423553
          (code B ref 30937); Sun, 25 Mar 2018 18:09:01 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 18:08:54 +0000
Received: from localhost ([127.0.0.1]:53161 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f0A4c-00067p-2u
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:08:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51569)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f0A4a-00067d-Cm
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:08:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f0A4R-0002mt-TJ
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:08:47 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44306)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f0A4R-0002mp-Q9; Sun, 25 Mar 2018 14:08:43 -0400
Received: from [176.228.60.248] (port=2019 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f0A4R-0004I5-B1; Sun, 25 Mar 2018 14:08:43 -0400
Date: Sun, 25 Mar 2018 21:08:51 +0300
Message-Id: <83tvt4f2oc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <20180325171510.GD6292@ACM> (message from Alan Mackenzie on Sun, 
 25 Mar 2018 17:15:10 +0000)
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
 <20180325171510.GD6292@ACM>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> Date: Sun, 25 Mar 2018 17:15:10 +0000
> Cc: 30937 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm@HIDDEN>
> 
> > 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?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 18:12:01 +0000
Resent-Message-ID: <handler.30937.B30937.152200150623855 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Ivan Shmakov <ivan@HIDDEN>
Cc: 30937 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152200150623855
          (code B ref 30937); Sun, 25 Mar 2018 18:12:01 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 18:11:46 +0000
Received: from localhost ([127.0.0.1]:53166 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f0A7O-0006Ch-IH
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:11:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52691)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f0A7N-0006CT-Kn
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:11:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f0A7F-00065U-E7
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:11:40 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44387)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f0A7F-00065P-AS; Sun, 25 Mar 2018 14:11:37 -0400
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 <eliz@HIDDEN>)
 id 1f0A7E-0004gR-Po; Sun, 25 Mar 2018 14:11:37 -0400
Date: Sun, 25 Mar 2018 21:11:44 +0300
Message-Id: <83sh8of2jj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87bmfc5a8e.fsf_-_@HIDDEN> (message from Ivan Shmakov
 on Sun, 25 Mar 2018 17:35:45 +0000)
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
 <87bmfc5a8e.fsf_-_@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Ivan Shmakov <ivan@HIDDEN>
> 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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 18:44:02 +0000
Resent-Message-ID: <handler.30937.B30937.152200340126913 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Alan Mackenzie <acm@HIDDEN>, 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152200340126913
          (code B ref 30937); Sun, 25 Mar 2018 18:44:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 18:43:21 +0000
Received: from localhost ([127.0.0.1]:53183 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f0Abx-000701-3S
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:43:21 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:58582)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f0Abv-0006zt-43
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 14:43:19 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 408R46100Dz1qtHl;
 Sun, 25 Mar 2018 20:43:18 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 408R460N5Yz1qql7;
 Sun, 25 Mar 2018 20:43:18 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id 1xyNn5E_Y5f2; Sun, 25 Mar 2018 20:43:17 +0200 (CEST)
X-Auth-Info: QrWqfV7cy/i1dD5hBHfw+XbCvc5pICb4hgZ6SdnBrbEgEDlYicTN8WenmZL6z0a5
Received: from localhost (ppp-188-174-159-50.dynamic.mnet-online.de
 [188.174.159.50])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun, 25 Mar 2018 20:43:17 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id AB8842C32DD; Sun, 25 Mar 2018 20:43:15 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
 <20180325171510.GD6292@ACM> <83tvt4f2oc.fsf@HIDDEN>
X-Yow: An air of FRENCH FRIES permeates my nostrils!!
Date: Sun, 25 Mar 2018 20:43:15 +0200
In-Reply-To: <83tvt4f2oc.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 25 Mar
 2018 21:08:51 +0300")
Message-ID: <87po3s6loc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Mär 25 2018, Eli Zaretskii <eliz@HIDDEN> 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@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 19:15:01 +0000
Resent-Message-ID: <handler.30937.B30937.152200526129644 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Andreas Schwab <schwab@HIDDEN>
Cc: acm@HIDDEN, 30937 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152200526129644
          (code B ref 30937); Sun, 25 Mar 2018 19:15:01 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 19:14:21 +0000
Received: from localhost ([127.0.0.1]:53202 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f0B5x-0007i4-CZ
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 15:14:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47688)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1f0B5u-0007hr-W0
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 15:14:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1f0B5m-0008RT-M7
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 15:14:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46064)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1f0B5m-0008RI-Ib; Sun, 25 Mar 2018 15:14:10 -0400
Received: from [176.228.60.248] (port=2071 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1f0B5m-0007zr-0g; Sun, 25 Mar 2018 15:14:10 -0400
Date: Sun, 25 Mar 2018 22:14:17 +0300
Message-Id: <83r2o8ezna.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87po3s6loc.fsf@HIDDEN> (message from Andreas Schwab on
 Sun, 25 Mar 2018 20:43:15 +0200)
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
 <20180325171510.GD6292@ACM> <83tvt4f2oc.fsf@HIDDEN>
 <87po3s6loc.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Andreas Schwab <schwab@HIDDEN>
> Cc: Alan Mackenzie <acm@HIDDEN>,  30937 <at> debbugs.gnu.org
> Date: Sun, 25 Mar 2018 20:43:15 +0200
> 
> SIGINT only sets quit-flag.

No, sometimes it also calls quit_throw_to_read_char.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 25 Mar 2018 21:09:02 +0000
Resent-Message-ID: <handler.30937.B30937.15220120977188 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: acm@HIDDEN, 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.15220120977188
          (code B ref 30937); Sun, 25 Mar 2018 21:09:02 +0000
Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 21:08:17 +0000
Received: from localhost ([127.0.0.1]:53225 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f0CsC-0001rs-T3
	for submit <at> debbugs.gnu.org; Sun, 25 Mar 2018 17:08:17 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:38791)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1f0CsB-0001rk-25
 for 30937 <at> debbugs.gnu.org; Sun, 25 Mar 2018 17:08:15 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 408VHL0ywZz1qtfD;
 Sun, 25 Mar 2018 23:08:14 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 408VHL0NSKz1qqkg;
 Sun, 25 Mar 2018 23:08:14 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id G7K8JN03duAc; Sun, 25 Mar 2018 23:08:13 +0200 (CEST)
X-Auth-Info: IT5j0vMFDEKtEXyU6pvMUfFhps2WFiZOSsh0otIp+vSz+uTPgfWJvx04IA0Fv+dO
Received: from localhost (ppp-188-174-159-50.dynamic.mnet-online.de
 [188.174.159.50])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Sun, 25 Mar 2018 23:08:13 +0200 (CEST)
Received: by localhost (Postfix, from userid 1000)
 id CB7482C3804; Sun, 25 Mar 2018 23:08:12 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <831sg8gkzj.fsf@HIDDEN>
 <20180325171510.GD6292@ACM> <83tvt4f2oc.fsf@HIDDEN>
 <87po3s6loc.fsf@HIDDEN> <83r2o8ezna.fsf@HIDDEN>
X-Yow: Yow!!  That's a GOOD IDEA!!  Eating a whole FIELD of COUGH MEDICINE
 should make you feel MUCH BETTER!!
Date: Sun, 25 Mar 2018 23:08:12 +0200
In-Reply-To: <83r2o8ezna.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 25 Mar
 2018 22:14:17 +0300")
Message-ID: <87d0zr6eyr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On Mär 25 2018, Eli Zaretskii <eliz@HIDDEN> wrote:

>> From: Andreas Schwab <schwab@HIDDEN>
>> Cc: Alan Mackenzie <acm@HIDDEN>,  30937 <at> debbugs.gnu.org
>> Date: Sun, 25 Mar 2018 20:43:15 +0200
>> 
>> SIGINT only sets quit-flag.
>
> No, sometimes it also calls quit_throw_to_read_char.

Only while waiting for input, thus it cannot arbitrarily interrupt the
Lisp interpreter.

Andreas.

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Noam Postavsky <npostavs@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 31 Mar 2018 14:22:02 +0000
Resent-Message-ID: <handler.30937.B30937.152250607411107 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Alan Mackenzie <acm@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.152250607411107
          (code B ref 30937); Sat, 31 Mar 2018 14:22:02 +0000
Received: (at 30937) by debbugs.gnu.org; 31 Mar 2018 14:21:14 +0000
Received: from localhost ([127.0.0.1]:33067 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f2HNa-0002t5-Cw
	for submit <at> debbugs.gnu.org; Sat, 31 Mar 2018 10:21:14 -0400
Received: from mail-it0-f51.google.com ([209.85.214.51]:54696)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f2HNY-0002ss-Vv
 for 30937 <at> debbugs.gnu.org; Sat, 31 Mar 2018 10:21:13 -0400
Received: by mail-it0-f51.google.com with SMTP id h143-v6so14471995ita.4
 for <30937 <at> debbugs.gnu.org>; Sat, 31 Mar 2018 07:21:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=8O+R2RnQVJ4neHUNyJ0xj5IPFxkkDYfB4Mpd03ifkIM=;
 b=hmyfPZioTa+Xk1mW9TwE5Ga1NZa87wBiIIm7P/GwNhelKuKqJg7Fc79AwsAlVbpK95
 t6yncC29Q+nEAQDVHMu5551t6lacYoH0UqfdofUERHCPGZ0aZ5xDFw1AziNTBROLEAG1
 a2rBY7tjF6KS/0WkEbrdlkt66uuMsceH7XtPsM1gikaeLv3KkKRK3Tq7KdYX/BbAwY/H
 tavslAVIqh31lyyLY7S+GDNBERnw607JLHlrli3uWKZvsYJ7Ul20wH7mGjzcruXmgeT1
 nzlu0/YCum2TJSQEEqcVvkPxnAjpm8Zg1pCIzNoFBOvFepJFo/ZuMjXBgQwzUpMTXNmF
 KDJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=8O+R2RnQVJ4neHUNyJ0xj5IPFxkkDYfB4Mpd03ifkIM=;
 b=CCqF5Fc8tZuDNHYKRpT1WW2rriaRrm2A83K6ffRCaOJkMdsBcHaGzlfjig485+kOsW
 uprsjKlc9ibYWtFKKlWCSN8qxQbJyj3snZISvBTJU2xQ+3drG3Gymm/Zdc5dtw+eyBwH
 AaTa1OPhP89SP1T2Xp4lGs2HTWbbCOo7w6uudCuS3AVhyyNNpXvy7o+HdFg+wwt0Hp2e
 nczW23nOcD5RZamy7T0PRt4yja/IycHePDk2mF09HgRekcoPo1Pw/CaJUsj+wrFxbX1m
 BiQlkIJXQcvjwuH5oEt6TAu0omFBZ5YxNDhzvRlLO7aJ0NJm6zC/02VWZvwC2Cr0wYxx
 ww7w==
X-Gm-Message-State: AElRT7HXr2BFLg+XcZeNsUVA+PobdxD+Q8p5pWOL/Q4ppwv52GNjPKI3
 7AhpGrv45YiGvf4r8A1DuhXxPg==
X-Google-Smtp-Source: AIpwx49tlq9Qv+04LC0lK2auZc0R+fsKTp7HNKVSc1hMbBTTYbBcufqNFF56Qt6CkcfCBQ2n2A460g==
X-Received: by 2002:a24:594e:: with SMTP id
 p75-v6mr7159618itb.135.1522506067260; 
 Sat, 31 Mar 2018 07:21:07 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 72-v6sm3396273itg.36.2018.03.31.07.21.05
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 31 Mar 2018 07:21:06 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM>
Date: Sat, 31 Mar 2018 10:21:05 -0400
In-Reply-To: <20180325153959.GB6292@ACM> (Alan Mackenzie's message of "Sun, 25
 Mar 2018 15:39:59 +0000")
Message-ID: <87fu4gpbqm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Alan Mackenzie <acm@HIDDEN> writes:

> Hello, Eli.
>
> On Sun, Mar 25, 2018 at 18:32:10 +0300, Eli Zaretskii wrote:
>> > Date: Sun, 25 Mar 2018 14:28:55 +0000
>> > From: Alan Mackenzie <acm@HIDDEN>
>
>> > emacs-26.0.91 -Q
>> > C-x C-f Any largish file.c
>> > C-x h                 ; mark buffer.
>> > C-c C-c               ; comment-region.
>
>> > This is the sort of thing that can happen by accident.  Depending on the
>> > size of the file.c and the speed of your machine, you've now got a long,
>> > long wait.  C-g doesn't work.  This is a bug.
>
>> C-g does work for me just fine in the above recipe.  Maybe it's
>> platform dependent, and the problem happens only on X?
>
> 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.  Sorry I didn't try X before
> reporting the bug.

I'm not able to reproduce this on a Linux tty (I assume that means the
virtual terminal you get when pressing Ctrl+Alt+F1).





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 5 Apr 2018 23:01:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 05 19:01:07 2018
Received: from localhost ([127.0.0.1]:39714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f4DsR-0007Qt-0Q
	for submit <at> debbugs.gnu.org; Thu, 05 Apr 2018 19:01:07 -0400
Received: from mail-io0-f169.google.com ([209.85.223.169]:40888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1f4DsP-0007QI-Tj
 for control <at> debbugs.gnu.org; Thu, 05 Apr 2018 19:01:06 -0400
Received: by mail-io0-f169.google.com with SMTP id e79so32548582ioi.7
 for <control <at> debbugs.gnu.org>; Thu, 05 Apr 2018 16:01:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=4XTCKqOgP3EzHPuyY46KBxIIYpYaHWHtDAZrA5Ke+KY=;
 b=RypauKn42KUE/SdRV0GnHD2E1Rt1HT7iKBC4QPCQjFV9RUFDi9dAyJy8LGIWZUt89V
 HoMguPz/vwsEboYro2r0xHchUv91bjQBT35T6qoNsli8pOcEnlfDlXVNLKjlUgrF62Up
 PrJxVLb7jlrseZcwbP39k/AHRBnDDPB+1dFG8Ricg8kHlmBAxOiB9ou475E7AogJYtww
 L++bOMSHG6v/p1dgIzqkK1a0Q4a+kvomjCEgUTEkq7HiNHTW7cLvrxCd9Tb8kD8yMLUu
 r45K4fQqqYknM1nYBheOdCIxUTBK/eT+N0T5aCvfUJy76WT1kWEhsIq7HmZsXp1tIkaH
 AxIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=4XTCKqOgP3EzHPuyY46KBxIIYpYaHWHtDAZrA5Ke+KY=;
 b=qUXIu9Es/KOia+dzKxIayR7uxceSUFIvYKuz9oc3cy90Ba1+6dnNsb9DIzVYaZ4Jgl
 B9Il+qQ4iByD7hAsBYsxf95HmoPJu/P3zf5obJlqtHMhUz0MfR4lM80MglBr8sBo2O2L
 SJo5CLfz5AXBP6eKPp8R/4X/uiExeqcWNgy6FM7ZBwmrZBmKdnw7y6JRnrim/L/KZCJK
 LhgrngdRDCuRD/ETxQAeVdUJBCuiCFnSwPzQRBvXM9X9A6+mOuk0gMrxb+mUQIF2U6/w
 NrobMUVjxrygeNHA0RAUT9QJPsHsokDsn7Mt/ub0ovLaAy2R9d0Tl27vvl+Xg2MibqG2
 FwGw==
X-Gm-Message-State: ALQs6tD/floNSaSC7uHVjFPbvFstiElVcIbVuj55FQv95xklJiyvVOSN
 pzxdeIZTsjaDh5a+mLU2YdKZkg==
X-Google-Smtp-Source: AIpwx4+vAFiUiFGLkZ8qBlSgQ2mEl/giX1JdqA2bZa5IHRrY5B1Mu/i+k5G7GfiTNq/ozjydljFw6g==
X-Received: by 10.107.180.143 with SMTP id d137mr23077343iof.77.1522969260243; 
 Thu, 05 Apr 2018 16:01:00 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 m142-v6sm2112136itg.2.2018.04.05.16.00.58
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 05 Apr 2018 16:00:59 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #30937
Date: Thu, 05 Apr 2018 19:00:58 -0400
Message-ID: <87o9ixntqt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

tags 30937 + moreinfo unreproducible
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#30937: In `comment-region', C-g doesn't work.
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Jan 2019 01:08:01 +0000
Resent-Message-ID: <handler.30937.B30937.154699604224693 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30937
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo unreproducible
To: Noam Postavsky <npostavs@HIDDEN>
Cc: Alan Mackenzie <acm@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 30937 <at> debbugs.gnu.org
Received: via spool by 30937-submit <at> debbugs.gnu.org id=B30937.154699604224693
          (code B ref 30937); Wed, 09 Jan 2019 01:08:01 +0000
Received: (at 30937) by debbugs.gnu.org; 9 Jan 2019 01:07:22 +0000
Received: from localhost ([127.0.0.1]:50745 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gh2L4-0006QC-5J
	for submit <at> debbugs.gnu.org; Tue, 08 Jan 2019 20:07:22 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52687)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1gh2L2-0006Q0-1E
 for 30937 <at> debbugs.gnu.org; Tue, 08 Jan 2019 20:07:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1gh2Kw-0007Lm-CU
 for 30937 <at> debbugs.gnu.org; Tue, 08 Jan 2019 20:07:15 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48928)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1gh2Ki-0006hh-0I; Tue, 08 Jan 2019 20:07:00 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1gh2Kh-0002du-RP; Tue, 08 Jan 2019 20:06:59 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <20180325142855.GA6292@ACM> <838taggohx.fsf@HIDDEN>
 <20180325153959.GB6292@ACM> <87fu4gpbqm.fsf@HIDDEN>
X-Spook: LABLINK Domestic Nuclear Detection Office Rootkit Cyber
X-Ran: }-zS8J9#w0X8+JX&XH7"DcN<BpqDNCP\t`+0UwSfjr7i`{sU*ok2v.:/Y{?2XG~m/63-b0
X-Hue: blue
X-Attribution: GM
Date: Tue, 08 Jan 2019 20:06:59 -0500
In-Reply-To: <87fu4gpbqm.fsf@HIDDEN> (Noam Postavsky's message of "Sat, 31
 Mar 2018 10:21:05 -0400")
Message-ID: <9x1s5mhc5o.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:470:142:3::e
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Noam Postavsky wrote:

> I'm not able to reproduce this on a Linux tty (I assume that means the
> virtual terminal you get when pressing Ctrl+Alt+F1).

Me neither. I tried on two different systems.

My suggestion is to close this report, since it has been months and
it doesn't seem to be leading anywhere.





Last modified: Wed, 9 Jan 2019 01:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.