From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#45518: Ctrl-G Fails to Interrupt Hung Tramp Remote-Compile in Emacs 27.1 Date: Thu, 31 Dec 2020 09:42:15 +0100 Message-ID: <87y2he74ew.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32671"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 45518@debbugs.gnu.org To: Duncan Greatwood Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 31 09:43:15 2020 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 1kutYB-0008Pw-1r for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Dec 2020 09:43:15 +0100 Original-Received: from localhost ([::1]:35040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kutYA-0004gm-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 31 Dec 2020 03:43:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kutXy-0004gc-Nt for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 03:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kutXy-00030c-HI for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 03:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kutXy-0007wn-EP for bug-gnu-emacs@gnu.org; Thu, 31 Dec 2020 03:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Dec 2020 08:43: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.160940414530446 (code B ref 45518); Thu, 31 Dec 2020 08:43:02 +0000 Original-Received: (at 45518) by debbugs.gnu.org; 31 Dec 2020 08:42:25 +0000 Original-Received: from localhost ([127.0.0.1]:52685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kutXM-0007v0-NL for submit@debbugs.gnu.org; Thu, 31 Dec 2020 03:42:25 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:50135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kutXL-0007un-EI for 45518@debbugs.gnu.org; Thu, 31 Dec 2020 03:42:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609404136; bh=F2p7rLhgFN+Q/poa5C9yS1+p/XJPfjCCOdGpzrJbvYg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=h3wO6/nh65JzkqTx+mpEhFmpQa08mk6P1ZUh+L8kUORVAhMsneg2rfXDmFQR0jjM3 lNo+Y81yjt+ybV7jI20QyVUQmN4PuNgCcZu0qGx8CCWNZbI2Xf3RtgyzapifH49MBo YhhH6AV9uM0N0A2daO9XfDDgpeELLGjdl6QMQzrc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.52.148]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8QS2-1kzJO42s9Q-004QER; Thu, 31 Dec 2020 09:42:16 +0100 In-Reply-To: (Duncan Greatwood's message of "Wed, 30 Dec 2020 13:13:31 -0800") X-Provags-ID: V03:K1:zLpPVd5KIX16SzBwo/PB55J1mLgqnGCjJtdymrc8eQQqLOu2FMF hJ5xVsI7vy+g7qh63iXlphwCBmTml8KcsskSw9xCC06pL+s6+S8C2sNX7M98ilu8s3P+eLo OzCUG7aGs3PhkIpCiaFWErpcCznqHRm8KSZCvE50xV9zoRhxRzY0/fmiUfjPawauBk/LCvu aqbJ0AY2tvNm31x7YK65Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:enk20hNY7+Q=:UtyzM8f0c2OtGwUSu7BEaQ +FljE4wkCFYXQbxjVys32KscmC2WVP2OP6QkEnmlqey7HpYVcQjZgNwmr3YIyypY5er1CcBxC naaBAqIICaDBYvZQX/czNbO8Od6ic9PtxU3JEASZvKDjHqdycORxGu2XxBYUWXrqQSGUAWitA tjX5UQQE0tpnn6oHW9VC2PhMSK4AAJj47u/tqE9WUX2RJhhbn5biI9AIIvb4AwICl3ryK/wdM YP93kuN9HmSpVazCDY2mEcpn+5+Eyg8KWPLwXh5HWUz8NfYZyQohotHwb5xIwShH4wtSiAT7s 2DJcvaX7afYWj2tRSGeln1mbXTauSeN+VHKJSr4kJZ5dWg/BQh3gaN2EHHo1Sy+fSD9/QlXWB M8ZZo0IWeUZbGnvvs1pQvHtEcR5vaxRHOIJtZTqY0zYnpHBn7AXoCmlj1wFPIe75Q2x3173Yy Othu7fWUWQhZbPlgM18oTsFP2qR/Z6aEPfaYUJ/KfZZ4cLVorHsABaJQX07cCUFmXu15arTIw Ad0yfW0RHzP+x8I3lDQ3j5JjXPyRA0wYIPZl1WDG+k8OxEYSvIydWlZkkEK4oXP2W1XJllBvZ mg6PLUML8HrWHzWdWStFC/VcuX3saQbTeOMM4GVSJPq9S2b1KnOtFoeM/K1mN6hprbG6bx3fl D/CVf8SHNau55RLr2QmWDEPkUFJAeWOcc+rdgteX0RsJIgvfTr1hQ6qUx+qkMLttW8UwnNGA1 dKDpVSgletPGTTAmfvu42wjVCgf3a7imrVBrXYaaiZXS14fHm1L76M19+ZGHwRVXdK+0ZOxy 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:197076 Archived-At: Duncan Greatwood writes: > Hi Michael, Hi Duncan, > [DG] I note in passing that in my emacs 27.1 build, I already have > Tramp 2.5.0 installed as per: > M-x list-packages > ... > tramp 2.5.0 available Well, this doe NOT mean it is installed already. It is available in the package archive. > Nonetheless, I downloaded from this page: > https://elpa.gnu.org/packages/tramp.html > tramp-2.5.0.tar, 2020-Dec-29, 1.61 MiB > I expanded the tar to a local directory, call it ~/.../tramp-2.5.0 > > I then added the following to my .emacs file: > (add-to-list 'load-path (expand-file-name "~/.../tramp-2.5.0")) > (require 'tramp) That's one way to do it. The more natural way is "M-x package-install RET tramp". Or, in the *Packages* buffer, mark the package with "i", and install it via "x". > Happy news - with this addition to .emacs, pressing ctrl-g three times > once again interrupts the hung Tramp window, and .emacs as a whole > does not crash. > > I tried adding and removing the .emacs lines several times, and the > matter produces perfectly: ctrl-gx3 always works when the .emacs lines > are present, and never works when they are not in emacs 27.1. Great! > The only slight wrinkle I noticed with this newest version of tramp > (vs. emacs 26.2 tramp) is that, after pressing ctrl-gx3, it feels I > have to click around to another window and back in order to see the > error output from the compile appear in the tramp compile window, > wheres in emacs 26.2 the error output would start appearing in the > tramp compile window as soon as ctrl-gx3 was pressed. No terrible > hardship but JFYI. > > Is there anything I can do that would help diagnose / pinpoint or > whatever? Either with the ctrl-gx3 matter, or indeed with the > underlying hang in the tramp compile window which requires the use of > ctrl-gx3. I will try to reproduce it locally. Since I don't know where to start with debugging, I cant give you instructions for this yet. > Best regards, > Duncan Best regards, Michael.