X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
Resent-From: Allen Li <vianchielfaura@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 10 Jan 2018 06:17:02 +0000
Resent-Message-ID: <handler.30059.B.1515564989858 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 30059 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.1515564989858
(code B ref -1); Wed, 10 Jan 2018 06:17:02 +0000
Received: (at submit) by debbugs.gnu.org; 10 Jan 2018 06:16:29 +0000
Received: from localhost ([127.0.0.1]:50209 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1eZ9ga-0000Dm-RU
for submit <at> debbugs.gnu.org; Wed, 10 Jan 2018 01:16:29 -0500
Received: from eggs.gnu.org ([208.118.235.92]:34182)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <vianchielfaura@HIDDEN>) id 1eZ9gZ-0000DZ-JS
for submit <at> debbugs.gnu.org; Wed, 10 Jan 2018 01:16:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <vianchielfaura@HIDDEN>) id 1eZ9gT-0002iw-BZ
for submit <at> debbugs.gnu.org; Wed, 10 Jan 2018 01:16:22 -0500
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,FREEMAIL_FROM,
T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54494)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <vianchielfaura@HIDDEN>)
id 1eZ9gT-0002ik-8R
for submit <at> debbugs.gnu.org; Wed, 10 Jan 2018 01:16:21 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53323)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <vianchielfaura@HIDDEN>) id 1eZ9gP-0003TN-7G
for bug-gnu-emacs@HIDDEN; Wed, 10 Jan 2018 01:16:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <vianchielfaura@HIDDEN>) id 1eZ9gO-0002fF-Bw
for bug-gnu-emacs@HIDDEN; Wed, 10 Jan 2018 01:16:17 -0500
Received: from mail-qk0-x229.google.com ([2607:f8b0:400d:c09::229]:33626)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from <vianchielfaura@HIDDEN>)
id 1eZ9gO-0002er-7C
for bug-gnu-emacs@HIDDEN; Wed, 10 Jan 2018 01:16:16 -0500
Received: by mail-qk0-x229.google.com with SMTP id i141so180307qke.0
for <bug-gnu-emacs@HIDDEN>; Tue, 09 Jan 2018 22:16:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=LgcCz1oskBvbRzceIWBUrThUG97pVUwkPHdFnIjarvA=;
b=bpAm1QbkVGdyxrFe8FudEUGGzbvnFQc1Jmx4c4XToyMovfDION+9Y7GHq6VCB7Caui
EOsZQUI1f1DGAgMQ4CCbGX/Aa5Fl98X412MRMyj7ZzkV0emGSbq5oBIsBZCElHQrHL4r
szP2FhgbZeTLM9oMqI//e6nAvBoNwJ48C64X5VUBvnSk688ITgd7t5ByFhK2wxY7a9gZ
6mc3+3KuR4phtcPPs+zshr9DZzbaKMALsdi0gt2KDrO3knaGuFEQsFMfcI4ItrC+mSfk
q5pNcpq7zm/8CcsBUyb9QuvKbTqiKkP7siK1lTd/SrXFN3Qj+x17tBYDHw1QeUeNRiLs
HdJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=LgcCz1oskBvbRzceIWBUrThUG97pVUwkPHdFnIjarvA=;
b=GSo/C+f9s3tvjYiHTvxKmP/XOFjvZpNUap2XySi2bBXGgSwrz3hWyyB1M1n++EaXvJ
b8417ev698nmsGLgA0OS+3n3n9g7/zHIEsWWrFm+yhKZZQ0tICtwBDmvzt5c66vYp9iy
/CALkSCyI+eqV0jv6GkuzTrti9b09aXFpi11qhLVKIHEv5JIPcQzkJggWMf6BxDYDgp/
pBKQTPcNyxOBgEzuq6trYdkSiCIY0OO+RPWMC+7iOiLnvdLcWDjsrQ5IIrKioByTpJnh
r1ERj90nKjtm0GywIbzV/BqdESffTjeRViyxbN+WUhymiynUGCuXT1KEXJ2OMdjdD9KG
ktpA==
X-Gm-Message-State: AKwxytfewiLU3XYqAM1Ts1WWfz/qWr71KJSGd0pam58Y0h/UQJr52O3x
J4N0hCvip3T326BXm8oQBkHcDqPHOM/Fsdend3Bd+lNG
X-Google-Smtp-Source: ACJfBosetd1iic3mR7s4rOlyMLt7dr3WcpK/g3z28L4F8IefmRt3OzcvNwmwPLkUK6HKEAksavKK4d8mwf5poitOWXA=
X-Received: by 10.55.133.2 with SMTP id h2mr24928300qkd.329.1515564975371;
Tue, 09 Jan 2018 22:16:15 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.55.36 with HTTP; Tue, 9 Jan 2018 22:16:15 -0800 (PST)
From: Allen Li <vianchielfaura@HIDDEN>
Date: Tue, 9 Jan 2018 22:16:15 -0800
Message-ID: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
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.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: -4.0 (----)
If comint-process-echoes is set to t and the subprocess does not echo
input (e.g., Bash depending on configuration), comint-send-input (RET)
will hang on a long-running process that does not write output.
comint should remove the echoed input line asynchronously.
In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
of 2017-12-04 built on arojas
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
Configured using:
'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
--localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
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: Allen Li <vianchielfaura@HIDDEN> Subject: bug#30059: Acknowledgement (25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang) Message-ID: <handler.30059.B.1515564989858.ack <at> debbugs.gnu.org> References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN> X-Gnu-PR-Message: ack 30059 X-Gnu-PR-Package: emacs Reply-To: 30059 <at> debbugs.gnu.org Date: Wed, 10 Jan 2018 06:17: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 30059 <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 30059: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30059 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 09 Dec 2020 18:37:02 +0000
Resent-Message-ID: <handler.30059.B30059.16075390123834 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Allen Li <vianchielfaura@HIDDEN>
Cc: 30059 <at> debbugs.gnu.org
Received: via spool by 30059-submit <at> debbugs.gnu.org id=B30059.16075390123834
(code B ref 30059); Wed, 09 Dec 2020 18:37:02 +0000
Received: (at 30059) by debbugs.gnu.org; 9 Dec 2020 18:36:52 +0000
Received: from localhost ([127.0.0.1]:36076 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kn4KZ-0000zm-Qc
for submit <at> debbugs.gnu.org; Wed, 09 Dec 2020 13:36:51 -0500
Received: from quimby.gnus.org ([95.216.78.240]:41250)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1kn4KX-0000zX-OU
for 30059 <at> debbugs.gnu.org; Wed, 09 Dec 2020 13:36:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=pDOZ2pB65i4K2x/PkMJiw5f1HjymKCZHeGfBvzmVIzQ=; b=a88kxzd3oUh5BKwP6sAaDGBriD
mnXSQw7sbRKW099ZmtV/AhDOffyS9v2QwRIKhPLgqwWUmvxUS1vuA2i9rexNFkchtoZFDm0F2/bI4
ZFn7P1UhtMAPp9n741H7R1QNp94m0mIAbTqqqnNyT/2PJMyD3UnTKr6Vc2vlaJww7l18=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1kn4KL-0004FL-T4; Wed, 09 Dec 2020 19:36:43 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
X-Now-Playing: Aksak Maboul's _Figures (1)_: "Silhouettes"
Date: Wed, 09 Dec 2020 19:36:36 +0100
In-Reply-To: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
(Allen Li's message of "Tue, 9 Jan 2018 22:16:15 -0800")
Message-ID: <87lfe6x1vv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Allen Li <vianchielfaura@HIDDEN> writes: > If
comint-process-echoes
is set to t and the subprocess does not echo > input (e.g., Bash depending
on configuration), comint-send-input (RET) > will hang on a long-running
process that does not wri [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
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 (-)
Allen Li <vianchielfaura@HIDDEN> writes:
> If comint-process-echoes is set to t and the subprocess does not echo
> input (e.g., Bash depending on configuration), comint-send-input (RET)
> will hang on a long-running process that does not write output.
>
> comint should remove the echoed input line asynchronously.
(This bug report unfortunately got no response at the time.)
This behaviour is still present in Emacs 28... but is it a bug? It's a
setting that's supposed to be used if the shell echoes the inputs, and
you're not supposed to use it if that's not the case.
Recipe to reproduce:
emacs -Q -f shell
M-: (setq comint-process-echoes t)
sleep 10
I'm leaning towards this working as intended. Any opinions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
Resent-From: Allen Li <darkfeline@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Dec 2020 03:37:02 +0000
Resent-Message-ID: <handler.30059.B30059.160757137613386 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 30059 <at> debbugs.gnu.org
Received: via spool by 30059-submit <at> debbugs.gnu.org id=B30059.160757137613386
(code B ref 30059); Thu, 10 Dec 2020 03:37:02 +0000
Received: (at 30059) by debbugs.gnu.org; 10 Dec 2020 03:36:16 +0000
Received: from localhost ([127.0.0.1]:36627 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1knCka-0003Tq-0l
for submit <at> debbugs.gnu.org; Wed, 09 Dec 2020 22:36:16 -0500
Received: from mail-pg1-f177.google.com ([209.85.215.177]:42987)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <darkfeline@HIDDEN>) id 1knCkY-0003Tc-6y
for 30059 <at> debbugs.gnu.org; Wed, 09 Dec 2020 22:36:14 -0500
Received: by mail-pg1-f177.google.com with SMTP id w16so2905473pga.9
for <30059 <at> debbugs.gnu.org>; Wed, 09 Dec 2020 19:36:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=felesatra-moe.20150623.gappssmtp.com; s=20150623;
h=from:to:cc:subject:references:date:in-reply-to:message-id
:user-agent:mime-version;
bh=MfdRtbh7/WmzQqBANjdmPg8EtZK8JwpoeYlkon2GZUo=;
b=im4OqLOmwVIaF4j6MktNwETwEtpiRSDJFb5fk0l6mPnZr254D/Gjv4QnorBPPU4iJH
trCFe2B/FUrN2HaWstwo4KhXHbsKmVZJFC7RX0BzgcDFomWk5FXID0yFXdGsRbhxaMXl
36ADRRaXBoqKLr2F8BLVzAnjT6sDGcunKDxHZbeN/P/3h7ED9kV22QNDoejWu/9fNeZi
IRmDgWnQLFNnkTAEp/1l97uaAAZYTqD5K1XE9Ni52MGUe8YJt3I9bei7/7WT+lCh6f4E
JcvFT/1KV1bBEhohgqkC5w0IsFVPrMtH5CFGvf/uRQYxPpZlbZ6Z6v7Zx/2M7zFeRXqZ
gY4w==
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=MfdRtbh7/WmzQqBANjdmPg8EtZK8JwpoeYlkon2GZUo=;
b=oqkWGjQrXWuzdo9Nv+IN+GVP9wlcxwBAJ+BZo38d2u9Zx6Josykv51YPAnXxoCzHdf
JxQ0mBJ+MkD66oKqTIPSCK5eG+QpnIblYxrG77D71mBiy5QCpzOuEXLiCiOXimNAPY6s
dLjorEaip9LEtWY6nNIFBDQvyK824qfqPx6CnhJCQEWEXZQaZ3jOImT5l7ecvhMUItmz
xO4knBX0e+WCJV6FRT/P/r52S+niqucLFphu1fRrbJ+xiBbGDZ1Vtivslq0ob9Hj3BpP
h3G3H782YJRwzaKPam+aLrUT7f556Y/+AVjVTqEQyRn6UrW8bUnGuAxSUjc/pLbax3MG
XGmA==
X-Gm-Message-State: AOAM5305Ts4Kf13+aDBYaaUcSIsbcxixDlnkz9LYFMmoxy9LWfFLUvsq
kW1CCPZ1H8pfbs9eacAYoGnWtA==
X-Google-Smtp-Source: ABdhPJy/qBWHFPScJ3t1TpQJ1KERZzL4dvumD8Y0qqmjgnNUV+hQEOCMzsdJORFaCdHz6u0MU+jniw==
X-Received: by 2002:a63:5418:: with SMTP id i24mr4830171pgb.165.1607571368225;
Wed, 09 Dec 2020 19:36:08 -0800 (PST)
Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc])
by smtp.gmail.com with ESMTPSA id 193sm4276328pfz.36.2020.12.09.19.36.07
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 09 Dec 2020 19:36:07 -0800 (PST)
From: Allen Li <darkfeline@HIDDEN>
References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
<87lfe6x1vv.fsf@HIDDEN>
Date: Wed, 09 Dec 2020 19:36:06 -0800
In-Reply-To: <87lfe6x1vv.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Wed,
09 Dec 2020 19:36:36 +0100")
Message-ID: <80blf2wcwp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: -1.0 (-)
Lars Ingebrigtsen <larsi@HIDDEN> writes:
> Allen Li <vianchielfaura@HIDDEN> writes:
>
>> If comint-process-echoes is set to t and the subprocess does not echo
>> input (e.g., Bash depending on configuration), comint-send-input (RET)
>> will hang on a long-running process that does not write output.
>>
>> comint should remove the echoed input line asynchronously.
>
> (This bug report unfortunately got no response at the time.)
>
> This behaviour is still present in Emacs 28... but is it a bug? It's a
> setting that's supposed to be used if the shell echoes the inputs, and
> you're not supposed to use it if that's not the case.
Whether it's a bug is arguable, and I would argue that that is beside
the point.
Regardless of whether it is a bug, changing the behavior as I suggested
would improve the overall Emacs experience. It should not be a
particularly difficult change IIRC from reading the code. Of course, I
understand if making this change is not high priority.
Additional observation:
Setting comint-process-echoes "works" even if the process does not echo
(IIRC anyway); Emacs checks that the output doesn't match the input and
allows the output to pass unmodified. It's only when the process
doesn't echo immediately that causes undesirable behavior.
Thus, this also affects the case where the process does echo, but only
after a delay. Emacs will freeze while waiting for the echoed output,
which is undesirable. Of course, this situation is likely to be rare as
a process that echoes generally echoes immediately.
>
> Recipe to reproduce:
>
> emacs -Q -f shell
> M-: (setq comint-process-echoes t)
> sleep 10
>
> I'm leaning towards this working as intended. Any opinions?
X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Dec 2020 14:43:02 +0000
Resent-Message-ID: <handler.30059.B30059.160769774824652 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Allen Li <darkfeline@HIDDEN>
Cc: 30059 <at> debbugs.gnu.org
Received: via spool by 30059-submit <at> debbugs.gnu.org id=B30059.160769774824652
(code B ref 30059); Fri, 11 Dec 2020 14:43:02 +0000
Received: (at 30059) by debbugs.gnu.org; 11 Dec 2020 14:42:28 +0000
Received: from localhost ([127.0.0.1]:40716 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1knjcp-0006PY-Mh
for submit <at> debbugs.gnu.org; Fri, 11 Dec 2020 09:42:27 -0500
Received: from quimby.gnus.org ([95.216.78.240]:34954)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1knjcm-0006PJ-Os
for 30059 <at> debbugs.gnu.org; Fri, 11 Dec 2020 09:42:26 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=/t8b2eTtTvr+mOBZR8iW2nbQLDW1FXkDKb9dw7+soSA=; b=rifB7tAntO54IZzJDf2WSV/Pry
Jl7Ns9e+xr9MJ5EYkakw/TdkB/rlLtj6xo60NPuz3HUxXruvj+raewu1mkGyI9b74yOeyJ0kwoVZa
+ujg/uOkBgIx47WioJwbySgCxqwvq3mwtpc3VpVnK58/8dDXdcopuKQCjZf3WmCqA+Y4=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1knjce-0003YC-4B; Fri, 11 Dec 2020 15:42:18 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
<87lfe6x1vv.fsf@HIDDEN> <80blf2wcwp.fsf@HIDDEN>
X-Now-Playing: Porridge Radio's _Every Bad_: "Born Confused"
Date: Fri, 11 Dec 2020 15:42:14 +0100
In-Reply-To: <80blf2wcwp.fsf@HIDDEN> (Allen Li's message of "Wed, 09
Dec 2020 19:36:06 -0800")
Message-ID: <87wnxo9zg9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Allen Li <darkfeline@HIDDEN> writes: > Whether it's
a bug is arguable, and I would argue that that is beside > the point. > >
Regardless of whether it is a bug, changing the behavior as I suggested >
would improve the overall Emacs exper [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
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 (-)
Allen Li <darkfeline@HIDDEN> writes:
> Whether it's a bug is arguable, and I would argue that that is beside
> the point.
>
> Regardless of whether it is a bug, changing the behavior as I suggested
> would improve the overall Emacs experience. It should not be a
> particularly difficult change IIRC from reading the code. Of course, I
> understand if making this change is not high priority.
I'm not opposed to making comint be more asynchronous even if
comint-process-echoes is set. Could you propose a patch for this,
perhaps?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
In-Reply-To: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
Resent-From: Richard Sharman <rsharman@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 07 Feb 2021 00:36:02 +0000
Resent-Message-ID: <handler.30059.B30059.161265815825044 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 30059 <at> debbugs.gnu.org
Received: via spool by 30059-submit <at> debbugs.gnu.org id=B30059.161265815825044
(code B ref 30059); Sun, 07 Feb 2021 00:36:02 +0000
Received: (at 30059) by debbugs.gnu.org; 7 Feb 2021 00:35:58 +0000
Received: from localhost ([127.0.0.1]:46685 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1l8Y3S-0006Vr-CO
for submit <at> debbugs.gnu.org; Sat, 06 Feb 2021 19:35:58 -0500
Received: from mx4.ncf.ca ([172.83.172.18]:55070)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <rsharman@HIDDEN>) id 1l8Y3Q-0006Vf-8n
for 30059 <at> debbugs.gnu.org; Sat, 06 Feb 2021 19:35:56 -0500
Received: from localhost (localhost [127.0.0.1])
by mx4.ncf.ca (Postfix) with ESMTP id EEF8219AE7
for <30059 <at> debbugs.gnu.org>; Sat, 6 Feb 2021 19:35:50 -0500 (EST)
X-Virus-Scanned: Ubuntu amavisd-new at
Received: from mx4.ncf.ca ([127.0.0.1])
by localhost (mx4.ncf.ca [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 2SY1ISjCxVfI for <30059 <at> debbugs.gnu.org>;
Sat, 6 Feb 2021 19:35:50 -0500 (EST)
Received: from mail.ncf.ca (mail.ncf.ca [172.83.172.45])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx4.ncf.ca (Postfix) with ESMTPS id 66BB819AE6
for <30059 <at> debbugs.gnu.org>; Sat, 6 Feb 2021 19:35:50 -0500 (EST)
Received: from [192.168.0.103] (172.103.218.35.cable.tpia.cipherkey.com
[172.103.218.35])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
(Authenticated sender: fo019@HIDDEN)
by mail.ncf.ca (Postfix) with ESMTPSA id 2C26128448
for <30059 <at> debbugs.gnu.org>; Sat, 6 Feb 2021 19:35:50 -0500 (EST)
From: Richard Sharman <rsharman@HIDDEN>
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\))
Message-Id: <E3B50CED-E070-43A6-8F33-1516D36D0B67@HIDDEN>
Date: Sat, 6 Feb 2021 16:35:49 -0800
X-Mailer: Apple Mail (2.3445.9.7)
X-Spam-Score: 0.7 (/)
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.3 (/)
I=E2=80=99ve been hit by this a few times and it=E2=80=99s quite =
annoying. Starting from emacs -Q evaluate the following 2 lines
(setq comint-process-echoes t)
(shell)
then at the shell command enter =E2=80=9Ccat -n=E2=80=9D . This =
completely locks up emacs (at least under macos 10.13); control-G and =
control-C have no effect; the emacs process has to be killed.
In GNU Emacs 27.1 (build 2, x86_64-apple-darwin17.7.0, NS appkit-1561.61 =
Version 10.13.6 (Build 17G14033))
of 2020-12-13 built on henry.local
Windowing system distributor 'Apple', version 10.3.1561
System Description: Mac OS X 10.13.6
X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
In-Reply-To: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
Resent-From: Richard Sharman <rsharman@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 07 Feb 2021 01:05:02 +0000
Resent-Message-ID: <handler.30059.B30059.161265988127653 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 30059 <at> debbugs.gnu.org
Received: via spool by 30059-submit <at> debbugs.gnu.org id=B30059.161265988127653
(code B ref 30059); Sun, 07 Feb 2021 01:05:02 +0000
Received: (at 30059) by debbugs.gnu.org; 7 Feb 2021 01:04:41 +0000
Received: from localhost ([127.0.0.1]:46701 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1l8YVF-0007Bx-IL
for submit <at> debbugs.gnu.org; Sat, 06 Feb 2021 20:04:41 -0500
Received: from mx4.ncf.ca ([172.83.172.18]:56786)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <rsharman@HIDDEN>) id 1l8YVC-0007Bj-TI
for 30059 <at> debbugs.gnu.org; Sat, 06 Feb 2021 20:04:39 -0500
Received: from localhost (localhost [127.0.0.1])
by mx4.ncf.ca (Postfix) with ESMTP id 757E719C8E
for <30059 <at> debbugs.gnu.org>; Sat, 6 Feb 2021 20:04:33 -0500 (EST)
X-Virus-Scanned: Ubuntu amavisd-new at
Received: from mx4.ncf.ca ([127.0.0.1])
by localhost (mx4.ncf.ca [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id W80oLVylnFRo for <30059 <at> debbugs.gnu.org>;
Sat, 6 Feb 2021 20:04:33 -0500 (EST)
Received: from mail.ncf.ca (mail.ncf.ca [172.83.172.45])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx4.ncf.ca (Postfix) with ESMTPS id F00D319BD1
for <30059 <at> debbugs.gnu.org>; Sat, 6 Feb 2021 20:04:32 -0500 (EST)
Received: from [192.168.0.103] (172.103.218.35.cable.tpia.cipherkey.com
[172.103.218.35])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
(Authenticated sender: fo019@HIDDEN)
by mail.ncf.ca (Postfix) with ESMTPSA id ABD1728833
for <30059 <at> debbugs.gnu.org>; Sat, 6 Feb 2021 20:04:32 -0500 (EST)
From: Richard Sharman <rsharman@HIDDEN>
Content-Type: multipart/mixed;
boundary="Apple-Mail=_55E134F4-5A10-4F73-9123-7582717FEA60"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\))
Message-Id: <BF56047E-F0EA-4727-B81A-5BA235A48525@HIDDEN>
Date: Sat, 6 Feb 2021 17:04:31 -0800
X-Mailer: Apple Mail (2.3445.9.7)
X-Spam-Score: 0.7 (/)
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.3 (/)
--Apple-Mail=_55E134F4-5A10-4F73-9123-7582717FEA60
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
A simple fix is to add a timeout value to the call to =
accept-process-output. For example, adding a 1 second timeout not only =
allows it to recover but also allows Control-g to be honoured. Because =
control-g now is not ignored, the value could be increased =
substantially, say to 10 [seconds].
--Apple-Mail=_55E134F4-5A10-4F73-9123-7582717FEA60
Content-Disposition: attachment;
filename=Patch-comint-send-input.txt
Content-Type: text/plain;
x-unix-mode=0644;
name="Patch-comint-send-input.txt"
Content-Transfer-Encoding: 7bit
--- comint.el.orig 2021-02-06 16:55:28.000000000 -0800
+++ comint.el 2021-02-06 16:57:24.000000000 -0800
@@ -1922,7 +1922,7 @@
;; Wait for all input to be echoed:
(while (and (> (+ comint-last-input-end echo-len)
(point-max))
- (accept-process-output proc)
+ (accept-process-output proc 1)
(zerop
(compare-buffer-substrings
nil comint-last-input-start
--Apple-Mail=_55E134F4-5A10-4F73-9123-7582717FEA60--
X-Loop: help-debbugs@HIDDEN
Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 13 Aug 2021 12:56:01 +0000
Resent-Message-ID: <handler.30059.B30059.162885932710416 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 30059
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Richard Sharman <rsharman@HIDDEN>
Cc: 30059 <at> debbugs.gnu.org
Received: via spool by 30059-submit <at> debbugs.gnu.org id=B30059.162885932710416
(code B ref 30059); Fri, 13 Aug 2021 12:56:01 +0000
Received: (at 30059) by debbugs.gnu.org; 13 Aug 2021 12:55:27 +0000
Received: from localhost ([127.0.0.1]:40810 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1mEWiY-0002hr-Vr
for submit <at> debbugs.gnu.org; Fri, 13 Aug 2021 08:55:27 -0400
Received: from quimby.gnus.org ([95.216.78.240]:51280)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1mEWiT-0002hV-FH
for 30059 <at> debbugs.gnu.org; Fri, 13 Aug 2021 08:55:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
:In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
List-Post:List-Owner:List-Archive;
bh=tkAg9pDCB2h4xOajdV7QeYzm7QwSHXwUaN1O0kNx56Q=; b=Uw2sYSyfZYPjIccjyfd4J1QPyX
vp4NAupzIPSsl+INtReqPK+zj+9G1PTxe1fcE/tfTtsUip+It5xNNVPlYcXMvPUw1aOfHDzeS1GIZ
lGCEvzBp5cbjb3tX2pdwimINL9vVVjHUcm6t2Cb9Trspa8srIX5OKJXWWLooUxnC8vs4=;
Received: from [84.212.220.105] (helo=elva)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1mEWiI-00042k-4O; Fri, 13 Aug 2021 14:55:10 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAJr1M6dsVr8d0q8CEic7+=3e9XGjG+mAPca=Vidc5n_yVbAODA@HIDDEN>
<E3B50CED-E070-43A6-8F33-1516D36D0B67@HIDDEN>
Date: Fri, 13 Aug 2021 14:55:05 +0200
In-Reply-To: <E3B50CED-E070-43A6-8F33-1516D36D0B67@HIDDEN> (Richard
Sharman's message of "Sat, 6 Feb 2021 16:35:49 -0800")
Message-ID: <87eeaxcxna.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Richard Sharman <rsharman@HIDDEN> writes: > =?UTF-8?Q?I=E2=80=99ve?= been
hit by this a few times and =?UTF-8?Q?it=E2=80=99s?= quite annoying. Starting > from emacs
-Q evaluate the following 2 lines > > (setq comint-process-echoes t) > (shell)
> > then at the shell command ente [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: -2.3 (--)
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: -3.3 (---)
Richard Sharman <rsharman@HIDDEN> writes:
> I=E2=80=99ve been hit by this a few times and it=E2=80=99s quite annoying=
. Starting
> from emacs -Q evaluate the following 2 lines
>
> (setq comint-process-echoes t)
> (shell)
>
> then at the shell command enter =E2=80=9Ccat -n=E2=80=9D . This complete=
ly locks up
> emacs (at least under macos 10.13); control-G and control-C have no
> effect; the emacs process has to be killed.
I can reproduce this in Emacs 27.1, but `C-g' works fine in Emacs 28 (at
least in Debian).
--=20
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.