From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: multithreading in Elisp? Date: 03 Jun 2003 15:19:45 +0200 Organization: Organization?!? 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 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054647114 21996 80.91.224.249 (3 Jun 2003 13:31:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 13:31:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 15:31:51 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 19NBtG-0005iJ-00 for ; Tue, 03 Jun 2003 15:31:51 +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 19NBnD-0001o1-6B for gnu-help-gnu-emacs@m.gmane.org; Tue, 03 Jun 2003 09:25:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: news.t-online.com 1054646385 05 2453 PFNEVFmbEApp6 030603 13:19:45 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: Z6SDLMZrgeqekKkx88APhxl6AxlBHC74XyYT425ZeiBOMxMacwf5Q1 X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:114037 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:10531 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10531 Florian von Savigny writes: > 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. Look up comint-mode in the Elisp manual. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum