|
From: | Dmitry Gutov |
Subject: | bug#66993: [PATCH] project.el: avoid asking user about project-list-file lock |
Date: | Thu, 9 Nov 2023 13:33:29 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 09/11/2023 13:27, Eli Zaretskii wrote:
Date: Thu, 9 Nov 2023 13:05:09 +0200 Cc: sbaugh@janestreet.com, 66993@debbugs.gnu.org From: Dmitry Gutov <dmitry@gutov.dev>Can you tell why the list of projects is saved on a file that is global among all sessions of the same user? Would it make sense to make the file specific to an Emacs process?Specific, meaning in a file name e.g. suffixed with pid?For example, yes.And what happens after the restart? The list needs to be recovered.Why does it need to be recovered? Isn't it built on-the-fly anyway? Is this just some kind of optimization?
If we didn't need to read it after restart, there would be no point in writing the list to disk.
I guess I don't understand well enough why this file exists and how it is used?
Same reason as for savehist-file.
[Prev in Thread] | Current Thread | [Next in Thread] |