From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 38BF27EE4B for ; Thu, 3 Oct 2013 10:09:54 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of lukstafi@gmail.com) identity=pra; client-ip=74.125.82.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lukstafi@gmail.com"; x-sender="lukstafi@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of lukstafi@gmail.com designates 74.125.82.48 as permitted sender) identity=mailfrom; client-ip=74.125.82.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lukstafi@gmail.com"; x-sender="lukstafi@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wg0-f48.google.com) identity=helo; client-ip=74.125.82.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lukstafi@gmail.com"; x-sender="postmaster@mail-wg0-f48.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuMBAOklTVJKfVIwm2dsb2JhbABahBGCYr5WgRcIFg4BAQEBAQYLCwkUKIIcCQEBBAFAARsdAQMBCwYFAwEHOyIBEQEFARwGE4dzAQMJBp5wjFKDCoQaChknDWSJAQEFDI9FB4QjA5gBkBQYKYRQOg X-IPAS-Result: AuMBAOklTVJKfVIwm2dsb2JhbABahBGCYr5WgRcIFg4BAQEBAQYLCwkUKIIcCQEBBAFAARsdAQMBCwYFAwEHOyIBEQEFARwGE4dzAQMJBp5wjFKDCoQaChknDWSJAQEFDI9FB4QjA5gBkBQYKYRQOg X-IronPort-AV: E=Sophos;i="4.90,1024,1371074400"; d="scan'208";a="35367512" Received: from mail-wg0-f48.google.com ([74.125.82.48]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 03 Oct 2013 10:09:52 +0200 Received: by mail-wg0-f48.google.com with SMTP id n12so2014082wgh.3 for ; Thu, 03 Oct 2013 01:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V1hIAZx4zq89fPqqwXT5g0FjNZzkrG2LiCdW19eK8YU=; b=kc5mB8HPLt6YSphId16aa/qnjiESrIHHXWNZ1RqhVoohd4CqbGdlQEqjXDo339y+0s 7Zg47S7RwacBxFTvlQY5tTDhwqchitg3llAqm4A386H94cVplWKcUyYlgZe00la0QDu/ 6bQObo5/3KyeWUsmSfxOE9Hpe3aynJjJttiDxx5i4/IIjNoooyKOMc/LtJ/DVBJnzWDj 5qiWesI2PkOgPO4My6JeArUQeQe17keC3h9pCyLRSpspVXsOCUsg26DjOvQ6rxlTfznV OfIhQKeCkV1+NGYch/BJxEY6ryyt2yk5jU8MD7rz55/z5MAESIwAwYivCb3Z7JW7bSS2 X1BA== X-Received: by 10.194.20.170 with SMTP id o10mr5927405wje.4.1380787793577; Thu, 03 Oct 2013 01:09:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.181.4 with HTTP; Thu, 3 Oct 2013 01:09:32 -0700 (PDT) In-Reply-To: <524D15AE.3050600@riken.jp> References: <524D15AE.3050600@riken.jp> From: Lukasz Stafiniak Date: Thu, 3 Oct 2013 10:09:32 +0200 Message-ID: To: Francois Berenger Cc: caml users Content-Type: multipart/alternative; boundary=047d7b5d5c82f24ef104e7d1b510 Subject: Re: [Caml-list] long lines in some OCaml code --047d7b5d5c82f24ef104e7d1b510 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 3, 2013 at 8:58 AM, Francois Berenger wrote: > Is there a way to automatically cut all long lines > in a code base (and indent the cut part correctly)? > > If I wanted to do it I would write a script in Emacs. (Sorry for unhelpful answer, but the other answers were also unhelpful...) I use `auto-fill-mode' in Emacs: when I insert a space beyond a given column, it automatically breaks the line at a previous space. --047d7b5d5c82f24ef104e7d1b510 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Oct 3, 2013 at 8:58 AM, Francois Berenger <bereng= er@riken.jp> wrote:
Is there a way to automat= ically cut all long lines
in a code base (and indent the cut part correctly)?


If I wanted to do it I w= ould write a script in Emacs. (Sorry for unhelpful answer, but the other an= swers were also unhelpful...) I use `auto-fill-mode' in Emacs: when I i= nsert a space beyond a given column, it automatically breaks the line at a = previous space.
--047d7b5d5c82f24ef104e7d1b510--