From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id C6214BBBB for ; Mon, 20 Feb 2006 20:09:49 +0100 (CET) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1KJ9mPm024574 for ; Mon, 20 Feb 2006 20:09:49 +0100 Received: by wproxy.gmail.com with SMTP id 69so937736wra for ; Mon, 20 Feb 2006 11:09:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:reply-to:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=jNPPwNuyl0g8LbAfpURAlFvKRiyVa5/YvcRwDZ4fAO/wdHvHfF0uO6+PHL+s/PeFnklG46Ww8wgbzStonTsMqLzPFoMkrGz9dsIS/dQEX9E9CD4usPgiPCdMiksxOvBWrzCmzu3e6xhWWl7PkSz9gHYOir6CHKA20sSUWHm4zX4= Received: by 10.64.96.3 with SMTP id t3mr177809qbb; Mon, 20 Feb 2006 11:09:47 -0800 (PST) Received: from ?192.168.1.10? ( [84.4.174.167]) by mx.gmail.com with ESMTP id a29sm3599998qbd.2006.02.20.11.09.46; Mon, 20 Feb 2006 11:09:47 -0800 (PST) Message-ID: <43FA1426.7070200@laposte.net> Date: Mon, 20 Feb 2006 20:10:30 +0100 Reply-To: matthieu.dubuget@laposte.net User-Agent: Mozilla Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: fr, en MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Tuareg mode under Cygwin... References: <8c64de0a0602190746x2056a24cke96da953baf76475@mail.gmail.com> <43F9F776.1020006@laposte.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit From: Matthieu Dubuget X-Miltered: at nez-perce with ID 43FA13FC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 tuareg:01 cygwin:01 matthieu:01 dubuget:01 matthieu:01 dubuget:01 tuareg:01 emacs:01 emacs:01 buffer:01 buffer:01 ocamlrun:01 c-c:01 c-e:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 Igor Peshansky a écrit : >On Mon, 20 Feb 2006, Matthieu Dubuget wrote: > > > >>Igor Peshansky a écrit : >> >> >>>On Sun, 19 Feb 2006, Jeremy Shute wrote: >>> >>> >>> >>>>Hi, >>>> >>>>When I fire up Tuareg mode under native Windows emacs and run an >>>>inferior-caml, I get what I expect (Caml running in an emacs buffer). >>>>When I do so with Cygwin's Emacs, I get an empty buffer and a process >>>>"ocamlrun.exe" dressed in new window trim, which seems completely >>>>detached from the inferior-caml buffer (meaning C-c C-e does NOT send >>>>commands to this new process). >>>> >>>>I asked Albert Cohen, Tuareg-mode's creator, but he didn't know much >>>>about Windows, and suggested I ask here. >>>> >>>>What magic Elisp incantation will shackle invocations of "ocaml" in a >>>>buffer, when using Cygwin emacs? I also tried "sh -c ocaml" to no >>>>avail... >>>> >>>>Jeremy >>>> >>>> >>>Hi, Jeremy, >>> >>>This sounds like either a Cygwin emacs bug or a bug in the commands >>>Tuareg uses to start the ocaml process that manifests only in Cygwin's >>>emacs. Since this is likely not a problem with ocaml itself (but >>>rather with either the Cygwin ocaml package or Cygwin emacs), the main >>>Cygwin list () would be a better place to >>>discuss it and track down the culprit. >>> >>>Unfortunately, I don't use emacs, and haven't tested the Cygwin O'Caml >>>package under emacs (and wouldn't know how). Thus, another reason to >>>move this to the main Cygwin list, since there are many emacs experts >>>there. >>> >>>One thing that would help is following the Cygwin problem reporting >>>guidelines at when re-posting this >>>to the main Cygwin list (particularly attaching the output of >>>"cygcheck -svr"). >>> >>>See you on the Cygwin list, :-) >>> >>>Igor Peshansky, the Cygwin O'Caml volunteer maintainer >>> >>> >>Last time I had a similar problem, I discovered that recompiling the >>ocaml toplevel was solving the problem. >> >>Maybe this will work for you ? >> >> > >Hmm, indeed. Though don't forget, Matthieu, that Cygwin is still at >version 3.08.1... > >Jeremy, if recompiling works for you, please let me know, and I'll release >a rebuit version of ocaml for Cygwin. You can download the ocaml source >package using Cygwin setup and run the packaging script to build (use the >"--help" option for a list of possible steps). > >Igor Peshansky, the Cygwin O'Caml volunteer maintainer > > I would have describe my problem the same way as Jeremy. I do use one standard native distribution of Ocaml, and cygwin version of emacs. I did not used the right term though: I did not meant re-compiling the toplevel. Just creating a new one with ocamlmktop -custom ... Salutations Matthieu