From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#19636: [TRAMP] global minor mode hangs connection when accessing files in :lighter Date: Fri, 14 Jul 2017 15:12:18 +0200 Message-ID: <87inivp3gt.fsf@detlef> References: <87d268jejx.fsf@gmx.de> <87bmsm96ze.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500037995 1149 195.159.176.226 (14 Jul 2017 13:13:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2017 13:13:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 19636-done@debbugs.gnu.org To: Philippe Vaucher Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 14 15:13:12 2017 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 1dW0P9-000056-3T for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jul 2017 15:13:11 +0200 Original-Received: from localhost ([::1]:38003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW0PE-000733-HI for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jul 2017 09:13:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dW0P5-00071n-8z for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:13:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dW0P0-0002Fs-AO for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:13:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35221) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dW0P0-0002Fl-6b for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dW0Oz-0003Xy-Qr for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2017 09:13:01 -0400 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jul 2017 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 19636 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 19636@debbugs.gnu.org, michael.albinus@gmx.de, philippe.vaucher@gmail.com Original-Received: via spool by 19636-done@debbugs.gnu.org id=D19636.150003794913591 (code D ref 19636); Fri, 14 Jul 2017 13:13:01 +0000 Original-Received: (at 19636-done) by debbugs.gnu.org; 14 Jul 2017 13:12:29 +0000 Original-Received: from localhost ([127.0.0.1]:37898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW0OT-0003X9-6S for submit@debbugs.gnu.org; Fri, 14 Jul 2017 09:12:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:54591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW0OR-0003Ww-B0 for 19636-done@debbugs.gnu.org; Fri, 14 Jul 2017 09:12:27 -0400 Original-Received: from detlef.gmx.de ([79.140.120.145]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LdIBN-1dwZhS2yFV-00iTBm; Fri, 14 Jul 2017 15:12:19 +0200 In-Reply-To: (Philippe Vaucher's message of "Mon, 27 Mar 2017 17:46:58 +0200") X-Provags-ID: V03:K0:w2fGXbtZCH+xu88hVE7F4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nu.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:134554 Archived-At: Version: 26.1 Philippe Vaucher writes: Hi Philippe, > > Basically, do nothing if there's no reliable way of getting the > > information yet (we are remote and not connected yet). > > Sounds reasonable for me, thanks for reporting the status. I also > recommend to test with the development version of Emacs (aka > 26.0.50), because there have been serious changes in Tramp. > > Good idea. > > Well, I don't see what could be done else here on emacs-devel. > What do you expect us to do else? > > Oh, I was just reporting my findings. Not much you can do except keep > in mind people *do* call various emacs api on buffer-file inside : > lighter or even inside the function that has to decide wether a mode > should be on or off, so the emacs api should be resilient to errors > reguarding this. Currently it fails kinda catastrophically when you > don't check with `file-remote-p` beforehand (emacs hang and one has to > furiously press C-g or C-c to get emacs back, and often this is not > sufficient as any command you want to type hangs again, so one has to > quit). I'm closing this bug, because there's nothing left to do. Tramp 2.3.2 of Emacs 26.0.50 has seen some patches for improving asynchronous processes. Maybe they help you. > Philippe Best regards, Michael.