|
From: | Dmitry Gutov |
Subject: | Re: Emacs design and architecture. How about copy-on-write? |
Date: | Sat, 23 Sep 2023 15:53:11 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 23/09/2023 14:23, Eli Zaretskii wrote:
As a trivial example, any function that modifies a file-visiting buffer could prompt the user if the file was meanwhile modified on disk. This prompt is completely out of control of any Lisp program which does something that modifies buffer text. How do we handle these cases? their name is a legion.
Any function that prompts the user is not supposed to be fast. So it might as well acquire any number of global locks to do that.
So it's not an issue for concurrency - though it might become a stumbling block for the "concurrent redisplay" sub-project.
[Prev in Thread] | Current Thread | [Next in Thread] |