emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-find-revision-no-save?


From: Philip Kaludercic
Subject: Re: vc-find-revision-no-save?
Date: Mon, 24 Oct 2022 16:02:15 +0000

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 24.10.2022 03:27, John Yates wrote:
>> Notice that the default is nil.  What is the logic in allowing an
>> historic revision to be associated with a file?  Why is it not merely
>> a readonly buffer with no backing file?
>> Perhaps I have been too influenced by git...  My mental model is
>> that
>> revisions are immutable_values_.  Is that not vc's model?
>
> Caching? Easy of copying to replace the original?
>
> VC's old, and a lot of it prefers convenience over purity. Including
> the convenience of implementation.

If that is the motivation, is there a reason the files are stored on the
current working directory, instead of using /tmp or ~/.cache?  I have
set that option to t which is a great improvement IMO, as I don't want
to fill up my working directory with temporary files.



reply via email to

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