English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] toplevel is hanging
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-24 (19:18)
From: Stefan Monnier <monnier+lists.caml/news/@r...>
Subject: Re: [Caml-list] toplevel is hanging
>>>>> "wester" == wester  <wester@ilt.fhg.de> writes:
>> 2.  Fix emacs.  The documentation for process-send-region says "If the
>> region is more than 500 characters long, it is sent in several bunches. 
>> This may happen even for shorter regions. Output from processes can arrive
>> in between bunches."  They did this to fix this exact process interlock
>> problem.  Of course, this is not what the source code does.  The source
>> only breaks up _lines_ that are longer than a certain length, but the
>> problem is the regions we're sending have short lines, but lots of newlines.
>> If the code actually did what the docs say then this wouldn't have
>> happened.  I did not feel like messing with the heinous emacs source
>> (this function is particularly beautiful :), so I did #1.

I can't remember seeing this particular bug-report, but I'll look into it.
Of course, there's a third solution (the one used in sml-mode) which
is for tuareg to use a temporary file.

To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr