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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id DF2B37ED7A for ; Tue, 18 Sep 2012 05:09:01 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of monnier@iro.umontreal.ca) identity=pra; client-ip=80.91.229.3; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="monnier@iro.umontreal.ca"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.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=mail4-smtp-sop.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 (mail4-smtp-sop.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=mail4-smtp-sop.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: AkgDABDlV1BQW+UDgWdsb2JhbABFi1uwSSIBARYmJ4IgAQEEAYEJC0YUKBuIEwYEq1KPFo5qgx8DpCeEXg X-IronPort-AV: E=Sophos;i="4.80,439,1344204000"; d="scan'208";a="156062694" Received: from plane.gmane.org ([80.91.229.3]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 18 Sep 2012 05:09:00 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TDoBF-000581-M1 for caml-list@inria.fr; Tue, 18 Sep 2012 05:08:57 +0200 Received: from 75-119-234-148.dsl.teksavvy.com ([75.119.234.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Sep 2012 05:08:57 +0200 Received: from monnier by 75-119-234-148.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Sep 2012 05:08:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Stefan Monnier Date: Mon, 17 Sep 2012 23:08:45 -0400 Message-ID: References: <5050A32C.9090809@inria.fr> <20120917.222210.832076572642519350.Christophe.Troestler@umons.ac.be> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 75-119-234-148.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:pCRvv2r0/yrCbbRfsuCzOT1gmP8= X-Validation-by: monnier@iro.umontreal.ca Subject: [Caml-list] Re: Tuareg mode: Indentation of application arguments >> Now I want to put argument_4 on a new line. Before, I would obtain: >> >> a_very_long_function_name argument_1 argument_2 argument_3 >> argument_4 >> >> which I liked. Now, I obtain: >> >> a_very_long_function_name argument_1 argument_2 argument_3 >> argument_4 >> >> Note that if I put all arguments on their own lines, indentation does >> not depend on the function name: >> >> a_very_long_function_name >> argument_1 >> argument_2 >> argument_3 >> argument_4 >> >> I did not find any variable controlling this behavior in the tuareg >> group. The nice thing about this behavior is that you don't need any config var to control it: just split your lines at a different place instead. Stefan