From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Florian von Savigny Newsgroups: gmane.emacs.help Subject: Re: multithreading in Elisp? Date: 03 Jun 2003 15:14:00 +0200 Organization: Linux Private Site Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <844r38vqlk.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054643450 3576 80.91.224.249 (3 Jun 2003 12:30:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 12:30:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 14:30:48 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NAvX-0000u5-00 for ; Tue, 03 Jun 2003 14:30:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NArE-0001NF-D2 for gnu-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2003 08:25:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!feed.news.nacamar.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: pd9506f47.dip0.t-ipconnect.de Original-X-Trace: online.de 1054643060 26798 217.80.111.71 (3 Jun 2003 12:24:20 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Tue, 3 Jun 2003 12:24:20 +0000 (UTC) X-Newsreader: Gnus v5.7/Emacs 20.6 Original-Xref: shelby.stanford.edu gnu.emacs.help:114033 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10525 kai.grossjohann@gmx.net (Kai Großjohann) writes: > You can do cooperative multitasking, MacOS-style, by using timers or > process filters or the like. (MacOS means before X.) Do you have an (arbitrary) code example at hand? My imagination does not reach far enough to implement commands that run in parallel by means of a process filter (maybe you mean "outsourcing" the task that is to run in the background with start-process?). I have no idea, on the other hand, what a timer is (it doesn't have to do with the diary, does it ... ?). I would not really care whether the multitasking is preemptive or cooperative, as long as the possibility is there at all. What I would like to achieve is to have emacs retrieve some text from an external program and write it in a different buffer, while it still allows the user to edit his text. Florian v. Savigny If you are going to reply in private, please be patient, as I only check for mail something like once a week. - Si vous allez répondre personellement, patientez s.v.p., car je ne lis les courriels qu'environ une fois par semaine.