emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 10 Dec 2014 09:15:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> No, it is still the caller's responsibility to delete the file.

Ah, that definitely was not clear until now.  So the handler never
needs to track those files.

> I expect the caller to keep the file only for a while when it is
> expecting that a given file is needed several times (like meta
> information if a file in vc).

I'm wondering how often the caller will be able to make use of this
(i.e. how often it will happen that two or more calls to file-local-copy
will require the same file and will know enough about each other to
coordinate the file-deletion).

Do you have some callers in mind?

> Additional functionality (remove local copies at the end of an Emacs
> session; give the local copies a timeout after which they expire, and so
> on) should be only additional support.

Right, and this support will not be used on the handlers's side but on
the callers's side.


        Stefan



reply via email to

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