From: Gustavo Barros <gusbrs.2016@gmail.com>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 58360@debbugs.gnu.org, Michael Albinus <michael.albinus@gmx.de>
Subject: bug#58360: 28.2; tramp-archive and file-directory-p
Date: Fri, 07 Oct 2022 20:25:13 -0300 [thread overview]
Message-ID: <87h70f5hsh.fsf@gmail.com> (raw)
In-Reply-To: <CADwFkmnNp=H=3REJ4sZjHzbAC1o+51ZHsNWdnyqW87JA9iQ4Aw@mail.gmail.com>
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.
next prev parent reply other threads:[~2022-10-07 23:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-07 15:23 bug#58360: 28.2; tramp-archive and file-directory-p Gustavo Barros
2022-10-07 20:51 ` Stefan Kangas
2022-10-07 23:25 ` Gustavo Barros [this message]
2022-10-08 11:47 ` Michael Albinus
2022-10-08 12:23 ` Stefan Kangas
2022-10-08 12:57 ` Michael Albinus
2022-10-08 20:23 ` Gustavo Barros
2022-10-08 11:38 ` Michael Albinus
2022-10-08 19:03 ` Stefan Kangas
2022-10-08 20:07 ` Gustavo Barros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h70f5hsh.fsf@gmail.com \
--to=gusbrs.2016@gmail.com \
--cc=58360@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
--cc=stefankangas@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).