From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Duncan Greatwood Newsgroups: gmane.emacs.bugs Subject: bug#45518: Ctrl-G Fails to Interrupt Hung Tramp Remote-Compile in Emacs 27.1 Date: Mon, 15 Mar 2021 18:36:16 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000191ab305bd9d6578" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26434"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45518@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 16 02:37:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLye7-0006ni-JS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Mar 2021 02:37:19 +0100 Original-Received: from localhost ([::1]:52420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLye6-0000yD-J8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Mar 2021 21:37:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLydq-0000xf-Hg for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 21:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54335) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLydq-0001YG-A0 for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 21:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLydq-0005ln-7G for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 21:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Duncan Greatwood Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Mar 2021 01:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45518 X-GNU-PR-Package: emacs Original-Received: via spool by 45518-submit@debbugs.gnu.org id=B45518.161585859422138 (code B ref 45518); Tue, 16 Mar 2021 01:37:02 +0000 Original-Received: (at 45518) by debbugs.gnu.org; 16 Mar 2021 01:36:34 +0000 Original-Received: from localhost ([127.0.0.1]:37647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLydO-0005kz-I9 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 21:36:34 -0400 Original-Received: from mail-io1-f48.google.com ([209.85.166.48]:36685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLydM-0005kk-TK for 45518@debbugs.gnu.org; Mon, 15 Mar 2021 21:36:33 -0400 Original-Received: by mail-io1-f48.google.com with SMTP id n14so35533816iog.3 for <45518@debbugs.gnu.org>; Mon, 15 Mar 2021 18:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=1Z9hQCkfxu+kE/cy+MEq9nm8hILMluEHGTMKKjDU8cc=; b=r9mr56gFZfPMorblhh5u7iZCpBnlhduYs3HbBPD6uOX+nmo26a0aUYLC2rq8pR8tx/ UlRPm5GcsMOZSIB3aqg/DVTZPpNswY3ztjqVq4Iv0W8/4SdIhpjWlU3KcgZf8qXdPGx4 Ul7A+wuRzS1gNfB2z41zR6OMdnN1N7AZrxsA1zhnHd+1DEI1rAxhXjTmKaYoehPhPaWp GKlUcnoQNI6klt+kwQlw7vKYDkTLhDFYmnfjsqP6h4vP461jF/xEAp1OIKFbWYZbx3wd W1la9Ni6dN+wScUjwgNh2p2ImUvN98CE+Ogux9mtX4KEgf/hBi1bR/zhv0VZGxyQEGs0 DWTA== 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:cc; bh=1Z9hQCkfxu+kE/cy+MEq9nm8hILMluEHGTMKKjDU8cc=; b=KTLQDX6FcDthpHwDT1LZHiHQVG0Mq3tDMs6sXHAPJRjWhr+VkpGJMOMZ0CbPAsAe/P TPuos9U5k63kkoZ3g2+X0v+1aSPvE3SuUNWAe0sbDKRGTtsmvPfNTfpLzj6lMCf8vcve Dgy0dW3zNSzo2dBTCKgPC3NzX+FqcZpEGqVuAngv/QUa8uS9MUFigvm0zEDHye8spvoi ldXK5moYlxgKMp/eLJrb9hT1gm+SsRFCHVl4c3Lqs+fxoS7DHUcq2cLCOEPyONeOVJd6 /ZZuSBg7RXy+PPwi4xT5IeAB5b9D8/bQC7Q7suSeECAoMpj3322oCrAVF38ghDEqmAzZ kzWg== X-Gm-Message-State: AOAM533F10lkQ0jqBkIVcBN9g7yBC4BoElyJtGt5T8Ew0PGfLkeSVR74 0FL0BETlL4imxzia6y6zXUSwxoG/jXUpsulHWaw= X-Google-Smtp-Source: ABdhPJzFawm/P+0jvWWcywxIroTGFLRMXYSF+2qzLrgDLNnWycvGaTCgnlvGEvcIXSoUzJRIwyizlpMK1bA+e4tMmNM= X-Received: by 2002:a5e:8610:: with SMTP id z16mr1615878ioj.57.1615858587210; Mon, 15 Mar 2021 18:36:27 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202444 Archived-At: --000000000000191ab305bd9d6578 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Michael - > I will still need some time to find a final solution, but for the time > being you could set tramp-use-ssh-controlmaster-options to nil before > you open a remote connection. This shall prevent the problem. I would > appreciate if you could confirm this. [DG] Happy to. I checked that I still see the issue (clicking on an error message suspends compilation until ctrl-G) without this variable being reset. I then restarted emacs and changed the variable, as confirmed by this help-variable output: tramp-use-ssh-controlmaster-options is a variable defined in =E2=80=98tramp= -sh.el=E2=80=99. Its value is nil Original value was t As you predicted, the issue does *not* show-up once tramp-use-ssh-controlmaster-options has been reset to nil like this. This was using the version of tramp that ships with emacs 27.1. The compile.el patch we discussed earlier is applied. JFYI, the version of ssh on my mac is: $ ssh -V OpenSSH_8.1p1, LibreSSL 2.7.3 Best regards, Duncan. --000000000000191ab305bd9d6578 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Michael -

> I will still need so= me time to find a final solution, but for the time
> being you could = set tramp-use-ssh-controlmaster-options to nil before
> you open a re= mote connection. This shall prevent the problem. I would
> appreciate= if you could confirm this.
[DG] Happy to.

I checked that I still see the issue (clicking on an error message s= uspends compilation until ctrl-G) without this variable being reset.
<= div>
I then restarted emacs and changed the variable, as conf= irmed by this help-variable output:
tramp-use-ssh-controlmaster-options= is a variable defined in =E2=80=98tramp-sh.el=E2=80=99.
Its value is ni= l
Original value was t

A= s you predicted, the issue does *not* show-up once=C2=A0tramp-use-ssh-contr= olmaster-options has been reset to nil like this.

= This was using the version of tramp that ships with emacs 27.1. The compile= .el patch we discussed earlier is applied. JFYI, the version of ssh on my m= ac is:
$ ssh -V
OpenSSH_8.1p1, LibreSSL 2.7.3

= Best regards,
Duncan.


--000000000000191ab305bd9d6578--