From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#48067: 28.0.50; Tramp error: cannot determine gio monitor Date: Wed, 28 Apr 2021 18:28:54 +0000 Message-ID: <874kfq6z10.fsf@posteo.net> References: <87eeev8xq7.fsf@posteo.net> <87mttjcz6s.fsf@gmx.de> <87pmyfmmo4.fsf@posteo.net> <87h7jrj664.fsf@posteo.net> <87eeeudfkc.fsf@gmx.de> <8735vallc2.fsf@posteo.net> <87tunqbqw9.fsf@gmx.de> <87czuefu94.fsf@posteo.net> <87bl9y5x66.fsf@gmx.de> <87zgxi1nci.fsf@posteo.net> <87zgxixx8j.fsf@posteo.net> <87v9864bql.fsf@gmx.de> <87tunqxrii.fsf@posteo.net> <87fsza1f7r.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21760"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48067@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 20:33:34 2021 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 1lbp0A-0005aV-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 20:33:34 +0200 Original-Received: from localhost ([::1]:53476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbp09-0007U0-4q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 14:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbozf-0007Th-J2 for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 14:33:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lboze-0003Wm-H5 for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 14:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lboze-0005P1-Al for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2021 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48067 X-GNU-PR-Package: emacs Original-Received: via spool by 48067-submit@debbugs.gnu.org id=B48067.161963475720729 (code B ref 48067); Wed, 28 Apr 2021 18:33:02 +0000 Original-Received: (at 48067) by debbugs.gnu.org; 28 Apr 2021 18:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:54064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbozE-0005OH-JX for submit@debbugs.gnu.org; Wed, 28 Apr 2021 14:32:36 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:43205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbozA-0005O1-TA for 48067@debbugs.gnu.org; Wed, 28 Apr 2021 14:32:35 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7A74B240027 for <48067@debbugs.gnu.org>; Wed, 28 Apr 2021 20:32:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619634746; bh=7mT6+Iu1dkJVIoskeC2ahPpMsM7HBPEfF5r7dMr/YBM=; h=From:To:Cc:Subject:Date:From; b=bEPy4WOxtJrXWqBic9EcMG8CWg1jffuCVlGpar0BdDR8qM6Agy5TX7OLA94aXAGjH pwQAceGtrJpQ7a3m7ziV/fbHd1BCVNDmt30R4HimoQq/5fxzSUjJ7TLM57Md48g8dT y9tMm/XxKouScxdaO2XU4axRegQfff/sy9SEKnWhqto1P+CZdSvXrKjv02UqS0ch2J 0X67LQ5yj8SwZ75iAp2zRX6hl1EhJE+CN1Vqo0qW65m/g6N4fZomEvKOjdm84cJhQ5 OM+2yJGEtghTQvpRnP3npjZcx529zNfr/whAQAUyqr9aVw4ihYyTgZLlBX9i8DAYSQ Mecil+zw0fumA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FVnL06xbSz9rxR; Wed, 28 Apr 2021 20:32:24 +0200 (CEST) In-reply-to: <87fsza1f7r.fsf@gmx.de> 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:205130 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Michael Albinus writes: > [[PGP Encrypted Part:OK]] > Thierry Volpiatto writes: > > Hi Thierry, >>>> 17:01:06.548820 tramp-get-file-property (8) # /home/thierry/tmp file-e= xists-p t >>>> 17:01:09.974262 tramp-get-file-property (8) # /home/thierry/tmp file-d= irectory-p t >>>> 17:01:14.119915 tramp-sh-gio-monitor-process-filter (6) # # >>>> /home/thierry/tmp: /home/thierry/tmp/test.txt: created >>>> /home/thierry/tmp: /home/thierry/tmp/test.txt: changes done >>>> /home/thierry/tmp: /home/thierry/tmp/test.txt: attributes changed >>> >>> As you see, there're also local file names. >> >> Yes, I saw this it is why I don't understand how it could work on 27 and >> not on 28. > > What exactly does not work on Emacs 28? helm-find-files cache is not updated when something change in a remote directory. > Events do not arrive? Yes. > Events have wrong values? >>>> 17:01:14.121499 tramp-accept-process-output (10) # gio 0 run nil >>>> 17:01:14.121681 tramp-handle-file-notify-rm-watch (6) # Kill # >>>> 17:01:14.121981 tramp-file-notify-process-sentinel (5) # Sentinel >>>> called: `#' `processus arr=C3=AAt=C3=A9 >>>> ' >>>> 17:01:14.122501 tramp-accept-process-output (10) # gio 0 signal nil >>>> 17:01:14.122652 tramp-handle-file-notify-rm-watch (6) # Kill # >>>> 17:01:14.122948 tramp-sh-gio-monitor-process-filter (10) # Rest string: >>>> >>>> 17:01:18.684045 tramp-get-file-property (8) # /home/thierry/tmp file-d= irectory-p undef >>>> >>>> As you can see the *rm-watch is called. >>> >>> Yes. But we don't see why. >> >> This is what I would like to know ;-) >> >>> And I also don't know how this is related to your problem. >> >> I am not sure it is related to my problem, I just suspect it is. > > Maybe you can set file-notify-debug to t? You will see how events go > around. > >>> OK, a test. I use the handler from the elisp manual: >> >> Yes, I already tried similar tests. > > So I've lost you. What works, and what not? > >> Anyway, perhaps you can push your changes? They are an improvement over >> what is actually in master. > > Done. > > Best regards, Michael. > > > [[End of PGP Encrypted Part]] =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmCJqisTHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk0AMC/9DB5Jcwru6nf9EX/ATrpkGvu0GKE/C luwzUPb2FunWlgX6BKAWG/tGfFi/1igFQWZFlKiOEfCNpI5GZt3zBdef2bQAn/h1 oWsYnK3LLQJBRDWSBHejG0BXcPKDuqaZeefplB2GI432KiBlI1BQr8yTOKU25WXz wvdgOqI4JLm9ZguMPUr4JNfrL5QcLZCPvMdQgA6Yr8jbaZ6U6r7A8NjLikb0qjDE sHbXpVFaJoyiWk9E0IusS5HJQwql++nHADuHjq0jPlaZS1NrLf8w2cOFnwI3BEwV j6Vg6frbDssIBfulVuv2r+CX7LpvXpa2XKXe33mMDEd8jBmNDT52YvnIKchkIoPR mn84euFj7DO85S3gVTYHvOkidPm0bzltv1P8ugDau0V6UPP0sRcluD74ckuTn0U3 To4ea9K7SxjuU8kIEf6Z7uCZcIcyacBtGCyrfPPFvGNTzCpGoUilfP9RCguAa9wn FQX9JsPWxHDFAzgWeVl91az4WBQwwFiha6k= =ujix -----END PGP SIGNATURE----- --=-=-=--