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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id A752FBB9A for ; Mon, 14 Nov 2005 01:50:55 +0100 (CET) Received: from mail27.sea5.speakeasy.net (mail27.sea5.speakeasy.net [69.17.117.29]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAE0ornE020812 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 14 Nov 2005 01:50:55 +0100 Received: (qmail 6700 invoked from network); 14 Nov 2005 00:50:51 -0000 Received: from dsl027-178-085.sfo1.dsl.speakeasy.net (HELO firebird) ([216.27.178.85]) (envelope-sender ) by mail27.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Nov 2005 00:50:51 -0000 Date: Sun, 13 Nov 2005 16:53:57 -0800 From: art yerkes To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Top level line limit? Message-Id: <20051113165357.1e03a552.ayerkes@speakeasy.net> In-Reply-To: <4362CB14.20804@rftp.com> References: <43626690.5070203@mcmaster.ca> <4362CB14.20804@rftp.com> X-Mailer: Sylpheed version 2.0.0rc (GTK+ 2.6.7; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 4377DF6D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 emacs:01 emacs:01 tuareg:01 tuareg:01 toplevel:01 toplevel:01 wrote:01 wrote:01 speakeasy:01 jacques:01 caml:02 exhibit:02 top-level:02 top-level:02 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 Fri, 28 Oct 2005 18:06:28 -0700 Robert Roessler wrote: > Jacques Carette wrote: > > A Google search found nothing, so I ask here: Is there a hard limit to > > how much code can be pasted in to the top-level at once? > > > > It seems that (at least from within emacs), there is a 20-line limit. > > Is that the top-level doing that, or is it something in the emacs setup? If you're finding that your system's clipboard is giving you trouble, emacs can submit the previous form to an inferior caml in tuareg mode automatically. Try using 'C-x e' in tuareg mode after doing 'M-x tuareg-run-caml' in tuareg mode. You should be at the end of the toplevel form you want to submit. If it seems like the toplevel is only evaluating the first of a few forms, when you paste, you might want to make sure that each toplevel insertion is terminated with ';;' also. -- Here's a simple experiment. Stand on a train track between two locomotives which are pushing on you with equal force in opposite directions. You will exhibit no net motion. None the less, you may soon begin to notice that something important is happening. -- Robert Stirniman