caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Irritating top-level problem
Date: Sun, 23 Nov 2008 16:37:15 +0000	[thread overview]
Message-ID: <200811231637.15807.jon@ffconsultancy.com> (raw)


I often use the OCaml top-level by copying and pasting code from a XEmacs or 
KWrite window into a KTerm. However, there appears to be a synchronization 
problem where the top-level prints two spaces after each newline at a random 
point in time. So the indentation is not only wrong but the code has random 
pairs of spaces injected into it. I assume this is a race condition between 
printing due to the pasting and printing after the top-level reads a newline.

Any ideas how to circumvent this problem? How is this synchronization supposed 
to occur?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e


             reply	other threads:[~2008-11-23 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-23 16:37 Jon Harrop [this message]
2008-11-23 16:27 ` [Caml-list] " Eric Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811231637.15807.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).