From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Fri, 05 Dec 2008 12:10:19 +0200 Message-ID: References: <87abbiody1.fsf@master.homenet> <877i6l5d8s.fsf@master.homenet> <874p1npvtj.fsf@master.homenet> <87ej0qci8g.fsf@master.homenet> <87y6yxm7xr.fsf@master.homenet> <87oczroysm.fsf@master.homenet> <87oczr6jrn.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1228471833 5705 80.91.229.12 (5 Dec 2008 10:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2008 10:10:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul R Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 05 11:11:38 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 1L8Xer-0007yV-5i for ged-emacs-devel@m.gmane.org; Fri, 05 Dec 2008 11:11:37 +0100 Original-Received: from localhost ([127.0.0.1]:49590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8Xdg-0003me-Cn for ged-emacs-devel@m.gmane.org; Fri, 05 Dec 2008 05:10:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8XdZ-0003lV-SS for emacs-devel@gnu.org; Fri, 05 Dec 2008 05:10:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8XdY-0003kH-Ac for emacs-devel@gnu.org; Fri, 05 Dec 2008 05:10:16 -0500 Original-Received: from [199.232.76.173] (port=37562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8XdX-0003jx-U9 for emacs-devel@gnu.org; Fri, 05 Dec 2008 05:10:16 -0500 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:31340) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8XdW-0002NH-R9 for emacs-devel@gnu.org; Fri, 05 Dec 2008 05:10:15 -0500 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KBE00500EHE0K00@i-mtaout1.012.net.il> for emacs-devel@gnu.org; Fri, 05 Dec 2008 12:12:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.111.178]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KBE003WDF0QTH20@i-mtaout1.012.net.il>; Fri, 05 Dec 2008 12:12:26 +0200 (IST) In-reply-to: <87oczr6jrn.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:106603 Archived-At: > From: Paul R > Date: Fri, 05 Dec 2008 10:42:04 +0100 > > I hope this would allow a better on-the-fly processing of text as well. > I'm thinking of spell checking, code validation (this is called flymake > in emacs IIRC), or even a smoother syntax highlighting. Any Emacs feature which, like spell-checking, uses a subprocess to do its job, already uses a kind of non-preemptive multi-threading built into wait_reading_process_output and its subroutines. This is because Emacs checks all the possible sources of input, including sub-process output, when it is idle.