Version française
Home     About     Download     Resources     Contact us    
Browse thread
Top level line limit?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: art yerkes <ayerkes@s...>
Subject: Re: [Caml-list] Top level line limit?
On Fri, 28 Oct 2005 18:06:28 -0700
Robert Roessler <roessler@rftp.com> 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