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 15:39:59 +0000 Message-ID: <20180325153959.GB6292@ACM> References: <20180325142855.GA6292@ACM> <838taggohx.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 1521993575 21092 195.159.176.226 (25 Mar 2018 15:59:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 15:59:35 +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 17:59:30 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 1f083N-0005PU-7v for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 17:59:29 +0200 Original-Received: from localhost ([::1]:51724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f085Q-0007mP-FQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 12:01:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f083x-0006i7-Lj for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 12:00:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f083u-00086U-Ep for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 12:00:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45206) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f083u-00086K-C2 for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 12:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f083u-00032r-4G for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 12:00: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 16:00: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.152199355011611 (code B ref 30937); Sun, 25 Mar 2018 16:00:02 +0000 Original-Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 15:59:10 +0000 Original-Received: from localhost ([127.0.0.1]:53103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0834-00031D-J1 for submit@debbugs.gnu.org; Sun, 25 Mar 2018 11:59:10 -0400 Original-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 ) id 1f0830-000312-5A for 30937@debbugs.gnu.org; Sun, 25 Mar 2018 11:59:08 -0400 Original-Received: (qmail 84863 invoked by uid 3782); 25 Mar 2018 15:59:04 -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 17:59:03 +0200 Original-Received: (qmail 6821 invoked by uid 1000); 25 Mar 2018 15:39:59 -0000 Content-Disposition: inline In-Reply-To: <838taggohx.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:144599 Archived-At: 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 > > 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).