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#36159: [PATCH] auto-revert mode doesn't work when changing buffer file name Date: Sat, 15 Jun 2019 11:56:25 +0200 Message-ID: <87muij41fa.fsf@gmx.de> References: <8736kgjmag.fsf@gmx.de> <7390BA99-AA1F-4A87-85A5-FDCCF3E3C125@acm.org> <87zhmo6lwg.fsf@gmx.de> <6FC7F115-7071-4D20-8A1F-C5E804E24C06@acm.org> <87v9x7439d.fsf@gmx.de> <36A5F0D3-C244-4B22-B7C7-A40DF1166D2D@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="174115"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36159@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 15 11:59:16 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hc5Su-000j9o-Fq for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jun 2019 11:59:16 +0200 Original-Received: from localhost ([::1]:59614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hc5St-0000Lf-FZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jun 2019 05:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37084) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hc5Qo-0007po-Pw for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 05:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hc5Qn-0007aD-8g for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 05:57:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53034) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hc5Qk-0007Xx-Ce for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 05:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hc5Qk-0006Pk-7y for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2019 05:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2019 09:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36159-submit@debbugs.gnu.org id=B36159.156059260324618 (code B ref 36159); Sat, 15 Jun 2019 09:57:02 +0000 Original-Received: (at 36159) by debbugs.gnu.org; 15 Jun 2019 09:56:43 +0000 Original-Received: from localhost ([127.0.0.1]:38345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hc5QR-0006P0-J9 for submit@debbugs.gnu.org; Sat, 15 Jun 2019 05:56:43 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:35841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hc5QP-0006Og-RL for 36159@debbugs.gnu.org; Sat, 15 Jun 2019 05:56:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560592589; bh=IHnZGmegTtiDXZOFEzF69rw0MfKftjcWtsOVZj2BRXU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=dbNTwANy7Ksmwt591997lvx71spJt+uMmG4VKyierW+HUV/CRggE/urxlMTf29ANS 3lokaCFReVO8W8o10mNMqFnGm5pY8prj3GpCxltZdfoYmZIlcE0xIqhx60lNlzgYWP lNy6tXD8n1AlKbNMFLgTYhJS1KcSy2yKaI3HoNUE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([213.220.158.18]) by mail.gmx.com (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHXBp-1hpc5s1nEH-00Davz; Sat, 15 Jun 2019 11:56:29 +0200 In-Reply-To: <36A5F0D3-C244-4B22-B7C7-A40DF1166D2D@acm.org> ("Mattias \=\?utf-8\?Q\?Engdeg\=C3\=A5rd\=22's\?\= message of "Sat, 15 Jun 2019 11:26:06 +0200") X-Provags-ID: V03:K1:h9phkS1E7xDXkSAb4dC+t3/p5h/ouUbk641MOml2SxdhtRm52AQ ZRKf6iwA37XP9E02dFOwOEQi/IhDdefuY03UUURgPnUGDjB5lRJiVkQiSYdW795racsJT16 ywv0KNHzrH0jSl4Z7tw9zbtdBeN6H0qYhRnGwDr/lLcTaEtiPj9uKSg08uaUvCb0x9B2nOh gPgQgEUixH9FGoe49dTdw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Hlw/+qj0f8w=:YvBJ6n8k1l5oPzEdJkGakn JnhfzGP6sJ81DRjd0ZJykGlSNLFg0trFCtl4jAhLWRVGWXZnMAfScNt7pd0N1SXwCy1IHoZrC rbMDBjcI5fKZNBAwlLTVd9RyQ8Xt3c/SdeQMsYDxJswdOQ+inB4oFcYf8hb/yoqsw+tvlxH64 t5fMrHgzJTz7EJScy9HP+5rgPSRkKIzAXEoCJft2PPqGPlsi0k/avjK9jFvIithgzhxib4j0M fBCngG1Nq6nO3BUzWPUNfzS9zUDuzDdeEgH5HH0P9Q9le6Ne/fdQcx2I7kxDzoEmDXW2CPcl3 bi+tfRt5Kn/zAJCMcEC2OYQo05fSkc60m5GloC/05WvMda2UVRo1dW94sos9b8O4Uwh563n65 qGqgn9j7UgZAxtFtgxamFvaUOdRiRGxhl0n9ZRJIF4r/hUJb19YcjRS43w2GxI6q0jZ9tFAQQ Yrgqh5aEPxr9/lCR3OtkauPOXhyrgwjVyGl/3KVolUoAkztRQGdjj+3ORN1gK8eTIPewIm95M h3wj+euOQFTw2MCC6CgmyisZzG3j4KpSsuFQZREwPNffMq2jEuRxlhRolfdbRovssieG+uuaM +do4nDMlHm9CtasEQqDUKFfIcYsSuQHZORJoXHlunmnr18Br1Wj6GNHHq4vj19d1VlhiSWCty qRdQAM83ygZTku9INEy2GmHsCFakVpwKch+KvnU2hn1awJDcucE21tMLD3BTIp8SpPycqI6h8 16pqvxVlWIAvOswaOnuISJASd3FNJsDDIE9Dvjqc0ek5EzpmLL6PwxfzOsCpkKZHorYysvMz X-BeenThere: debbugs-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:160605 Archived-At: Mattias Engdeg=C3=A5rd writes: Hi Mattias, > I'm so sorry for having put you through all this, and I wish there > were anything I could do to make the tests more robust. Does > autorevert 'feel' reliable and responsive for remote files when you > use it manually, or is there anything that could cast the > implementation in doubt? Don't worry, that's what tests are good for :-) The basic autorevert part seems to be OK even for remote files. The trouble comes when file deletion happens; auto-revert-test02-auto-revert-deleted-file-remote, auto-revert-test05-global-notify-remote and auto-revert-test06-write-file-remote become flaky. That is, sometimes they pass, and sometimes not. I suppose problems in tramp-sh.el, but I couldn't nail it down yet. Likely, the combination of file deletion and autorevert hasn't been tested thoroughly yet for remote files. OTOH, filenotify tests pass all, also for remote files. >> For the time being I've marked remote autorevert tests as unstable, so >> they won't fail in Emacs CI tests. I hope to fix them in the future. > > Thank you once again; I suppose that will have to do for now. Yes. I believe I give myself a timeout for this, some days. After hours of unsuccessful debugging, I need a restart in mind for that problem. Best regards, Michael.