tramp-devel
[Top][All Lists]
Advanced

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

Re: When no date, use now, instead of 0 (1970)


From: Michael Albinus
Subject: Re: When no date, use now, instead of 0 (1970)
Date: Fri, 10 Jan 2020 18:38:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> writes:

>     tramp-time-dont-know is a variable defined in ‘tramp.el’.
>     Its value is (0 0 0 1000)
>
>       This variable may be risky if used as a file-local variable.
>
>     Documentation:
>     An invalid time value, used as "Don’t know" value.
>
> Maybe add
>
> "set to ... ... ... ... to enable just using the current time."

No. There are good reason for this special value. And it isn't used only
for copy-file. Please don't change it yourself.

A better aproach might be to investigate, how you have invoked
copy-file. I suppose you haven't called it directly, but rather
indirectly in dired or so. Maybe there is an option to use current-time
for the copy target.

Best regards, Michael.



reply via email to

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