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 2CD04BBBB for ; Mon, 20 Feb 2006 17:25:21 +0100 (CET) Received: from access1.cims.nyu.edu (ACCESS1.CIMS.NYU.EDU [128.122.81.155]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1KGPKaj001308 for ; Mon, 20 Feb 2006 17:25:20 +0100 Received: from localhost (localhost [127.0.0.1]) by access1.cims.nyu.edu (8.12.10+Sun/8.12.10) with ESMTP id k1KGPEfo019305; Mon, 20 Feb 2006 11:25:14 -0500 (EST) Date: Mon, 20 Feb 2006 11:25:13 -0500 (EST) From: Igor Peshansky X-X-Sender: pechtcha@access1.cims.nyu.edu Reply-To: caml-list@yquem.inria.fr To: Jeremy Shute Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Tuareg mode under Cygwin... In-Reply-To: <8c64de0a0602190746x2056a24cke96da953baf76475@mail.gmail.com> Message-ID: References: <8c64de0a0602190746x2056a24cke96da953baf76475@mail.gmail.com> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/Plain; charset=US-ASCII X-Miltered: at nez-perce with ID 43F9ED70.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 tuareg:01 cygwin:01 tuareg:01 emacs:01 emacs:01 buffer:01 buffer:01 ocamlrun:01 c-c:01 c-e:01 invocations:01 ocaml:01 cygwin:01 ocaml: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=none autolearn=disabled version=3.0.3 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 -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac"