From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Alan Mackenzie <acm@muc.de>, Eli Zaretskii <eliz@gnu.org>,
emacs-devel@gnu.org
Subject: Re: Optional argument for `file-local-copy'
Date: Tue, 09 Dec 2014 14:32:46 +0100 [thread overview]
Message-ID: <87iohlhrsx.fsf@gmx.de> (raw)
In-Reply-To: <jwvlhmpit72.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 02 Dec 2014 17:30:15 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
[sorry to reply late, but these days there isn't too much time I could
spend for Emacs]
> There's a big difference: with today's file-local-copy the caller is
> always responsible to delete the file, so if the caller doesn't delete
> the file, it's a bug in the caller.
>
> With your proposal, if it's not the responsibility of the caller, then
> it necessarily ends up being the handler's responsibility. Hence my
> earlier complaint that the handler is not allowed to simply ignore the
> new argument.
No, it is still the caller's responsibility to delete the file. The new
argument is not intended to move this responsibility to the handler; 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).
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.
> Stefan
Best regards, Michael.
next prev parent reply other threads:[~2014-12-09 13:32 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-29 11:29 Optional argument for `file-local-copy' Michael Albinus
2014-11-29 13:03 ` Eli Zaretskii
2014-11-29 14:08 ` Alan Mackenzie
2014-11-29 14:39 ` Eli Zaretskii
2014-11-29 15:33 ` Alan Mackenzie
2014-11-29 16:24 ` Thien-Thi Nguyen
2014-11-30 5:22 ` Stefan Monnier
2014-11-30 11:04 ` Michael Albinus
2014-11-30 14:11 ` Stefan Monnier
2014-11-30 17:24 ` Michael Albinus
2014-12-02 14:18 ` Stefan Monnier
2014-12-02 14:53 ` Michael Albinus
2014-12-02 20:55 ` Stefan Monnier
2014-12-02 21:24 ` Michael Albinus
2014-12-02 22:30 ` Stefan Monnier
2014-12-09 13:32 ` Michael Albinus [this message]
2014-12-10 14:15 ` Stefan Monnier
2014-12-11 9:20 ` Michael Albinus
2014-12-11 15:22 ` Stefan Monnier
2014-12-14 10:22 ` Michael Albinus
2014-12-14 13:46 ` Stefan Monnier
2014-12-14 14:24 ` Michael Albinus
2014-12-14 22:37 ` Stefan Monnier
2014-12-15 7:41 ` Michael Albinus
2014-11-30 10:54 ` Michael Albinus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iohlhrsx.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=acm@muc.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.