From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr 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 EEA177F734 for ; Tue, 22 Sep 2015 19:25:05 +0200 (CEST) IronPort-PHdr: 9a23:9M/i+hCnYNGLuXF7JhqHUyQJP3N1i/DPJgcQr6AfoPdwSP7+pMbcNUDSrc9gkEXOFd2CrakU16yK6+u5ATxIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/ni6buo9aKO1UArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIYTGZn9Kq8xSLgdCDU9L0g04tfqvF/NV1ih/HwZB2oflh5FDA/t5wv7GJr3qS7i8ORnkGm3OMzyTLd8ezm5fbwjZxbsjCoIMHYQ6mDekY0j3+pgvBu9qkknkMbva4aPOa8mcw== Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=gallego@cri.ensmp.fr; spf=Pass smtp.mailfrom=gclci-caml-list@m.gmane.org; spf=Pass smtp.helo=postmaster@plane.gmane.org Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gallego@cri.ensmp.fr) identity=pra; client-ip=80.91.229.3; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="gallego@cri.ensmp.fr"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of gclci-caml-list@m.gmane.org designates 80.91.229.3 as permitted sender) identity=mailfrom; client-ip=80.91.229.3; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="gclci-caml-list@m.gmane.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@plane.gmane.org designates 80.91.229.3 as permitted sender) identity=helo; client-ip=80.91.229.3; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="postmaster@plane.gmane.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AzBAADjgFWgQPlW1BdhGHHJjwQAQEBAQEBAQEQAQEWMy6CHYIIAQQBfgsLISUPAQQoGxmIJgwBy1OLcIUrhBUFlWeoLDiBdQEBCAKCLW+JbQEBAQ X-IPAS-Result: A0AzBAADjgFWgQPlW1BdhGHHJjwQAQEBAQEBAQEQAQEWMy6CHYIIAQQBfgsLISUPAQQoGxmIJgwBy1OLcIUrhBUFlWeoLDiBdQEBCAKCLW+JbQEBAQ X-IronPort-AV: E=Sophos;i="5.17,574,1437429600"; d="scan'208";a="178935383" Received: from plane.gmane.org ([80.91.229.3]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 22 Sep 2015 19:25:05 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZeRJP-0002gZ-UC for caml-list@inria.fr; Tue, 22 Sep 2015 19:25:03 +0200 Received: from nat-int-rnt.cri.ensmp.fr ([195.83.117.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Sep 2015 19:25:03 +0200 Received: from gallego by nat-int-rnt.cri.ensmp.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Sep 2015 19:25:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: gallego@cri.ensmp.fr (Emilio =?utf-8?Q?Jes=C3=BAs?= Gallego Arias) Date: Tue, 22 Sep 2015 19:14:45 +0200 Message-ID: <84io72z88q.fsf@cri.ensmp.fr> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-int-rnt.cri.ensmp.fr User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:YhCdwpceonun53SCs7oXTJyXV/Q= X-Validation-by: gallego@cri.ensmp.fr Subject: Re: [Caml-list] How can I change the margin size in the toplevel? Hi Alan, Alan Schmitt writes: > Format.pp_set_margin Format.err_formatter 200 > > and > > Format.pp_set_margin Format.std_formatter 200 > > inside the toplevel but it does not change the formatter for these > messages. I recall having some trouble with Format margins too, this snippet worked for me(TM) in a custom application: let set_pp fmt = Format.pp_set_ellipsis_text fmt "[...]"; Format.pp_set_margin fmt (fmt_margin + 1); (* Don't ever ask *) Format.pp_set_max_indent fmt fmt_margin in set_pp Format.std_formatter; set_pp Format.err_formatter; > Is there a way to access the formatter used by the toplevel? And if not, > is it possible to change the column at which word wrap happens? Best regards, Emilio