From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#30937: In `comment-region', C-g doesn't work Date: Sun, 25 Mar 2018 17:35:45 +0000 Message-ID: <87bmfc5a8e.fsf_-_@violet.siamics.net> 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=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521999268 4098 195.159.176.226 (25 Mar 2018 17:34:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 17:34:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: 30937@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 25 19:34:24 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 1f09XD-0000xx-Tm for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 19:34:24 +0200 Original-Received: from localhost ([::1]:52027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f09ZH-00043O-FA for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Mar 2018 13:36:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f09Yr-0003qT-C1 for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f09Yo-0008OJ-9I for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:36:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45260) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f09Yn-0008O9-UP for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f09Yn-0005Js-O7 for bug-gnu-emacs@gnu.org; Sun, 25 Mar 2018 13:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Mar 2018 17:36: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.152199935320432 (code B ref 30937); Sun, 25 Mar 2018 17:36:01 +0000 Original-Received: (at 30937) by debbugs.gnu.org; 25 Mar 2018 17:35:53 +0000 Original-Received: from localhost ([127.0.0.1]:53157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f09Yd-0005JQ-HO for submit@debbugs.gnu.org; Sun, 25 Mar 2018 13:35:53 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:48010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f09Yb-0005JI-N0 for 30937@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=; Original-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 ) id 1f09YZ-0006Me-GB for 30937@debbugs.gnu.org; Sun, 25 Mar 2018 17:35:47 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtp (Exim 4.84_2) (envelope-from ) id 1f09YX-0003Wv-G7 for 30937@debbugs.gnu.org; Sun, 25 Mar 2018 17:35:45 +0000 X-License: CC-BY-SA-3.0+ (original contributions only) In-Reply-To: <831sg8gkzj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 25 Mar 2018 19:48:00 +0300") 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:144607 Archived-At: >>>>> Eli Zaretskii writes: >>>>> 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?). 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/