On Fri, Oct 21, 2022 at 09:46:47AM +0200, Pascal Quesseveur wrote: [...] > file-remote-p works only when you use a special file name syntax. This > is not clear from the docstring. I think it's not about the syntax per se, but about whether Emacs handles the remoteness itself or it is the operating system's job. In the second case (e.g. an NFS mount or something similar) I don't know whether there is a systematic way for Emacs to know. Cheers -- t