|
From: | Richard M Stallman |
Subject: | Re: buffer transactions (was Re: Very interesting analysis of "the state of Emacs") |
Date: | Mon, 05 May 2008 11:14:47 -0400 |
Just an idle thought... has anyone considered transactional support for buffer modification in emacs? This would enable simultaneous access to buffers by different processes/threads and (it seems) could be implemented by changing the insert primitives in scope for a background process to record a transaction log of all the changes a it wants to make to a buffer (or variable for that matter) and merging it with the state of the actual buffer on completion of the process. We should just make `atomic-change-group' bind a variable to temporarily prevent thread switches. That would do the job and would be much simpler.
[Prev in Thread] | Current Thread | [Next in Thread] |