bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48067: 28.0.50; Tramp error: cannot determine gio monitor


From: Thierry Volpiatto
Subject: bug#48067: 28.0.50; Tramp error: cannot determine gio monitor
Date: Wed, 28 Apr 2021 10:56:23 +0000

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thievol@posteo.net> writes:
>
>>> Hi Michael,
>
> Hi Thierry,
>
>> More exactly, it seems gio command is correctly extracted in
>> `tramp-sh-handle-file-notify-add-watch` with
>> (tramp-get-remote-gio-monitor v) but later in the process filter
>> (tramp-connection-property-p proc "gio-file-monitor") returns nil.
>
> Does the appended patch fixes this?

Partially. No more error but the watcher have no effect like on
emacs-27.
helm-find-files is caching the directories it visits and for each
directory is adding a watcher, for example on emacs-27:

M-x helm-find-files => navigate to /sudo::/home/me/tmp/ directory:

foo.txt
bar.txt
baz.txt

Now from a shell:

touch ~/tmp/test.txt

M-x helm-find-files => navigate to /sudo::/home/me/tmp/ directory:

foo.txt
bar.txt
baz.txt
test.txt

test.txt is not added with emacs-28, that's mean the watcher didn't
notify helm to remove tmp directory from cache.

Thanks.

-- 
Thierry

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]