From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Very interesting analysis of "the state of Emacs" Date: Sat, 03 May 2008 15:24:17 -0400 Message-ID: References: <481693C3.70901@emf.net> <4816CDB6.6000006@pajato.com> <4817D79F.8040508@gmail.com> <874p9jhsa7.fsf@localhorst.mine.nu> <87bq3qodp4.fsf@bar.jrock.us> <87od7qikyc.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209842706 16842 80.91.229.12 (3 May 2008 19:25:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 May 2008 19:25:06 +0000 (UTC) Cc: emacs-devel@gnu.org, jon@jrock.us, miles@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 03 21:25:39 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JsNMO-0006wy-7Y for ged-emacs-devel@m.gmane.org; Sat, 03 May 2008 21:25:29 +0200 Original-Received: from localhost ([127.0.0.1]:34496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsNLe-0001F5-Ji for ged-emacs-devel@m.gmane.org; Sat, 03 May 2008 15:24:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JsNLZ-0001Ey-Mn for emacs-devel@gnu.org; Sat, 03 May 2008 15:24:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsNLT-0001Dh-85 for emacs-devel@gnu.org; Sat, 03 May 2008 15:24:37 -0400 Original-Received: from [199.232.76.173] (port=46905 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsNLT-0001Dd-5J for emacs-devel@gnu.org; Sat, 03 May 2008 15:24:31 -0400 Original-Received: from 206-248-152-33.dsl.teksavvy.com ([206.248.152.33] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JsNLI-0003nK-JD; Sat, 03 May 2008 15:24:21 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6C7B270049; Sat, 3 May 2008 15:24:17 -0400 (EDT) In-Reply-To: (Richard M. Stallman's message of "Sat, 03 May 2008 04:09:28 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Greylist: delayed 1945 seconds by postgrey-1.27 at monty-python; Sat, 03 May 2008 15:24:20 EDT X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:96386 Archived-At: > The way I see it, multithreading within a buffer is a problem we can > ignore for the next 20 years. > I am not sure of that. In multi-terminal use it is very likely that > more than one terminal will be operating in the same buffer. Good point. But I don't think it's a problem either: what I meant by "multithreading within a single buffer" is that we'd have a lock per buffer. Whenever lisp code enters a buffer, we'd acquire the lock. I.e. just because the user is looking at a buffer doesn't mean some other user (with its own thread) elsewhere can't look at that buffer either. Just that their respective actions will be serialized by the buffer's lock. Stefan