On Fri, Aug 11, 2023 at 10:03:49AM +0300, Eli Zaretskii wrote: [...] > This stuff was discussed lately in several threads on this list. And > yes, finding which parts of the global state to leave shared and which > to make private to threads is a large part of the issue. My personal > opinion is that introducing concurrency into Emacs will need redesign > of the internals, not just some changes. But that's me. Not only you -- I do agree thoroughly. The hard part is that most of Emacs isn't aware that things can happen behind their respective backs. Providing the low level mechanism is just putting the can opener to Pandora's box: dealing with what comes out is definitely the more interesting part :-) (Don't get me wrong: the metaphor I used might imply I don't think it's desirable. Quite on the contrary). Cheers -- t