From: Michael Albinus <michael.albinus@gmx.de>
To: Sam Steingold <sds@gnu.org>
Cc: 47601@debbugs.gnu.org
Subject: bug#47601: 28.0.50; tramp-sh-handle-file-newer-than-file-p works on MacOS but not on Linux
Date: Tue, 06 Apr 2021 09:59:20 +0200 [thread overview]
Message-ID: <878s5vzvvr.fsf@gmx.de> (raw)
In-Reply-To: <868s5wg7wi.fsf@gnu.org> (Sam Steingold's message of "Mon, 05 Apr 2021 09:47:41 -0400")
Sam Steingold <sds@gnu.org> writes:
Hi Sam,
> I get this error on Linux but not on MacOS:
>
> Debugger entered--Lisp error: (file-error "Files /home/sds/.emacs.d/notes and /scp:fence:/home/s/sds/.emacs.d/notes must have same method, user, host")
> signal(file-error ("Files /home/sds/.emacs.d/notes and /scp:fence:/hom..."))
> tramp-sh-handle-file-newer-than-file-p("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
> apply(tramp-sh-handle-file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
> tramp-sh-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
> apply(tramp-sh-file-name-handler file-newer-than-file-p ("/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes"))
> tramp-file-name-handler(file-newer-than-file-p "/home/sds/.emacs.d/notes" "/scp:fence:/home/s/sds/.emacs.d/notes")
> file-newer-than-file-p("~/.emacs.d/notes" "/scp:fence:~/.emacs.d/notes")
One of the both files returns tramp-time-dont-know in
file-attributes. However, there's no reason to fire an error in
Tramp. I've fixed this in master, could you, pls, check?
Best regards, Michael.
next prev parent reply other threads:[~2021-04-06 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-05 13:47 bug#47601: 28.0.50; tramp-sh-handle-file-newer-than-file-p works on MacOS but not on Linux Sam Steingold
2021-04-06 7:59 ` Michael Albinus [this message]
2021-05-06 10:31 ` Lars Ingebrigtsen
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=878s5vzvvr.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=47601@debbugs.gnu.org \
--cc=sds@gnu.org \
/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).