unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Tramp: needs file notification program on remote machine, what to install?
@ 2023-08-25  9:39 Gregor Zattler
  2023-08-25 12:38 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler @ 2023-08-25  9:39 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hello, I'm visiting a directory which is under version
control (git) on a remote machine (still debian/buster)
and get the following error:

Tramp: Opening connection nil for root@fs2 using ssh...done
File notification error: No file notification program found on /ssh:root@fs2:

While I can work with the files there the message is
shown all the time and is at least annoying, and file
notification might be useful.  But I did not find what
to do in the fine manual.

I assume I should instal a helper program on the remote
machine, but AFAIK there are several file system change
notifiers.  Does anyone know which is best/easiest for
tramp?

Thanks, Gregor



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tramp: needs file notification program on remote machine, what to install?
  2023-08-25  9:39 Gregor Zattler
@ 2023-08-25 12:38 ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2023-08-25 12:38 UTC (permalink / raw)
  To: help-gnu-emacs

Gregor Zattler <telegraph@gmx.net> writes:

Hi Gregor,

> While I can work with the files there the message is
> shown all the time and is at least annoying, and file
> notification might be useful.  But I did not find what
> to do in the fine manual.
>
> I assume I should instal a helper program on the remote
> machine, but AFAIK there are several file system change
> notifiers.  Does anyone know which is best/easiest for
> tramp?

Tramp supports "inotifywait" and "gio monitor" calls on the remote side.

> Thanks, Gregor

Best regards, Michael.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tramp: needs file notification program on remote machine, what to install?
@ 2023-08-27  9:25 Gregor Zattler
  2023-08-27  9:44 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler @ 2023-08-27  9:25 UTC (permalink / raw)
  To: Michael Albinus, help-gnu-emacs

Hi Michael,
* Michael Albinus <michael.albinus@gmx.de> [2023-08-25; 14:38 +02]:
> Gregor Zattler <telegraph@gmx.net> writes:
>> While I can work with the files there the message is
>> shown all the time and is at least annoying, and file
>> notification might be useful.  But I did not find what
>> to do in the fine manual.
>>
>> I assume I should instal a helper program on the remote
>> machine, but AFAIK there are several file system change
>> notifiers.  Does anyone know which is best/easiest for
>> tramp?
>
> Tramp supports "inotifywait" and "gio monitor" calls on the remote side.

So I installed the inotify-tools package.  I still get
the

File notification error: No file notification program found on /ssh:root@fs2:

message, though.

But automatic refresh of dired buffers in tramp does
now work.

What about those messages?

Ciao; Gregor



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Tramp: needs file notification program on remote machine, what to install?
  2023-08-27  9:25 Tramp: needs file notification program on remote machine, what to install? Gregor Zattler
@ 2023-08-27  9:44 ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2023-08-27  9:44 UTC (permalink / raw)
  To: help-gnu-emacs

Gregor Zattler <telegraph@gmx.net> writes:

> Hi Michael,

Hi Gregor,

> So I installed the inotify-tools package.  I still get
> the
>
> File notification error: No file notification program found on /ssh:root@fs2:
>
> message, though.

Did you restart Emacs, in order to avoid stale caches?

> But automatic refresh of dired buffers in tramp does
> now work.

Hmm.

> What about those messages?

They tell you to run Tramp with tramp-verbose 6, and to send the Tramp
debug buffer. Preferred directly to me, in order not to clog the mailing
list.

As usual, start with

--8<---------------cut here---------------start------------->8---
# emacs -Q --eval '(setq tramp-verbose 6)'
--8<---------------cut here---------------end--------------->8---

> Ciao; Gregor

Best regards, Michael.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-27  9:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-27  9:25 Tramp: needs file notification program on remote machine, what to install? Gregor Zattler
2023-08-27  9:44 ` Michael Albinus
  -- strict thread matches above, loose matches on Subject: below --
2023-08-25  9:39 Gregor Zattler
2023-08-25 12:38 ` Michael Albinus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).