GNU bug report logs - #45518
Ctrl-G Fails to Interrupt Hung Tramp Remote-Compile in Emacs 27.1

Previous Next

Package: emacs;

Reported by: Duncan Greatwood <dgbulk <at> gmail.com>

Date: Tue, 29 Dec 2020 02:45:02 UTC

Severity: normal

Fixed in version 28.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #85 received at 45518 <at> debbugs.gnu.org (full text, mbox):

From: Duncan Greatwood <dgbulk <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 45518 <at> debbugs.gnu.org
Subject: Re: 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 part 1 (text/plain, inline)]
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 ‘tramp-sh.el’.
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.
[Message part 2 (text/html, inline)]

This bug report was last modified 238 days ago.

Previous Next


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