[Top][All Lists]

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

Re: Optional argument for `file-local-copy'

From: Stefan Monnier
Subject: Re: Optional argument for `file-local-copy'
Date: Tue, 02 Dec 2014 15:55:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>>> The caller does not need to know whether a file is cached.  File name
>>> handlers implementation shall keep *always* the information about a
>>> local copy of a remote file (the local name, the result of
>>> file-attributes of the remote file).
>> That means that the file-local-copy handlers *always* have to obey
>> REUSE-IF-ALREADY-EXISTS, rather only doing so if they use a cache.
> Well, it does not need to obey that argument.

No: if the handler ignores the argument and the caller doesn't delete
the file, we're left with a garbage file that noone will delete.


reply via email to

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