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

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

bug#58360: 28.2; tramp-archive and file-directory-p


From: Gustavo Barros
Subject: bug#58360: 28.2; tramp-archive and file-directory-p
Date: Fri, 07 Oct 2022 20:25:13 -0300
User-agent: mu4e 1.8.10; emacs 28.2

Hi Stefan,

On Fri, 07 Oct 2022 at 22:51, Stefan Kangas <stefankangas@gmail.com> wrote:

I can reproduce this on current master using:

    0. touch /tmp/file.odt
    1. emacs -Q --batch -eval \
'(message "%s" (file-directory-p (expand-file-name "/tmp/file.odt/")))'

I get this output on stderr:

    t
    Tramp: Unmounting /tmp/file.odt

Maybe Michael has some ideas (in Cc).

Thanks for checking.

Putting things in this form made me think of something else which might be worth discussing as well. Running the predicate alone is enough to trigger the mounting of the file. Isn't this overstepping?

Best regards,
Gustavo.





reply via email to

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