From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#34196: 27.0.50; tramp hangs on wrong password with global-auto-revert-mode Date: Tue, 05 Feb 2019 21:07:19 +0100 Message-ID: <87h8diov7s.fsf@gmx.de> References: <87lg36m2rp.fsf@gmx.de> <8736p3bnjh.fsf@gmx.de> <877eeewg8c.fsf@gmx.de> <87lg2uunez.fsf@gmx.de> <87ftt2ujjz.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="164211"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34196@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 05 21:31:35 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gr7NW-000gcY-DQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Feb 2019 21:31:34 +0100 Original-Received: from localhost ([127.0.0.1]:40426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr7NV-0003pX-E7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Feb 2019 15:31:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gr70m-0002FX-I8 for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 15:08:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gr70l-0005dE-T6 for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 15:08:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34497) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gr70l-0005d2-PX for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 15:08:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gr70k-0000n2-8S for bug-gnu-emacs@gnu.org; Tue, 05 Feb 2019 15:08:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Feb 2019 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 34196-submit@debbugs.gnu.org id=B34196.15493972502988 (code B ref 34196); Tue, 05 Feb 2019 20:08:02 +0000 Original-Received: (at 34196) by debbugs.gnu.org; 5 Feb 2019 20:07:30 +0000 Original-Received: from localhost ([127.0.0.1]:33778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gr70D-0000m8-SI for submit@debbugs.gnu.org; Tue, 05 Feb 2019 15:07:30 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:35605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gr70C-0000lt-Ba for 34196@debbugs.gnu.org; Tue, 05 Feb 2019 15:07:28 -0500 Original-Received: from detlef.gmx.de ([213.220.158.98]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lxgt9-1hAxJy0j5H-017D4w; Tue, 05 Feb 2019 21:07:21 +0100 In-Reply-To: (Aaron Jensen's message of "Tue, 5 Feb 2019 11:27:06 -0800") X-Provags-ID: V03:K1:vEkySntYV5zdGrpUtOHnjzFX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s-submit@debbugs.gnu.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: 209.51.188.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:155156 Archived-At: Aaron Jensen writes: >> No, I haven't tried. But auto-revert-notify-add-watch is called after >> auto-revert-active-p, so it's not sufficient to test it such late. > > Not sufficient for what, exactly? Testing it only in > auto-revert-notify-add-watch prevents the hang for me. The only thing > it wouldn't prevent is auto-revert-handler getting called, but that > doesn't seem to have any negative impact as far as I could tell, but I > could be missing an edge case. As I said earlier, I've tried to add the test in auto-revert-active-p, and this wasn't successful; the problem still happened. And auto-revert-notify-add-watch is called only if auto-revert-active-p returns non-nil. > Aaron Best regards, Michael.