GNU bug report logs - #58360
28.2; tramp-archive and file-directory-p

Previous Next

Package: emacs;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Fri, 7 Oct 2022 15:37:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 28.2

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 58360 <at> debbugs.gnu.org (full text, mbox):

From: Gustavo Barros <gusbrs.2016 <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 58360 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#58360: 28.2; tramp-archive and file-directory-p
Date: Fri, 07 Oct 2022 20:25:13 -0300
Hi Stefan,

On Fri, 07 Oct 2022 at 22:51, Stefan Kangas <stefankangas <at> 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.




This bug report was last modified 2 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.