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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 67DA27EE25 for ; Fri, 15 Nov 2013 14:51:43 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=pra; client-ip=212.227.126.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=mailfrom; client-ip=212.227.126.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@moutng.kundenserver.de designates 212.227.126.187 as permitted sender) identity=helo; client-ip=212.227.126.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="postmaster@moutng.kundenserver.de"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtUHABomhlLU4367lGdsb2JhbABZgkN8g0mCL7l+gSYWDgEBAQEHCwsJEiqCJQEBBAEjVgULCxgJIQICDwFHBgESh3sKCa4tkkQEiTuDUoIpMweCa4FGA61G X-IPAS-Result: AtUHABomhlLU4367lGdsb2JhbABZgkN8g0mCL7l+gSYWDgEBAQEHCwsJEiqCJQEBBAEjVgULCxgJIQICDwFHBgESh3sKCa4tkkQEiTuDUoIpMweCa4FGA61G X-IronPort-AV: E=Sophos;i="4.93,708,1378850400"; d="scan'208,217";a="35723417" Received: from moutng.kundenserver.de ([212.227.126.187]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 15 Nov 2013 14:51:42 +0100 Received: from agaric.localnet (jua06-3-88-189-115-104.fbx.proxad.net [88.189.115.104]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LvNnr-1VYPj42zOl-010eHE; Fri, 15 Nov 2013 14:51:42 +0100 From: Louis Gesbert To: caml-list@inria.fr, =?ISO-8859-1?Q?Rapha=EBl?= Proust Cc: =?ISO-8859-1?Q?Fran=E7ois?= Bobot Date: Fri, 15 Nov 2013 14:51:40 +0100 Message-ID: <1783206.VOne7zSJ3k@agaric> Organization: OCamlPro User-Agent: KMail/4.10.5 (Linux/3.10-3-amd64; KDE/4.10.5; x86_64; ; ) In-Reply-To: References: <528620FF.7050905@cea.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart8348679.hMmXentDv6" Content-Transfer-Encoding: 7Bit X-Provags-ID: V02:K0:b4IDLFHBp4AHK48CAnnVLlZ103MzDCkAZk/3I0mDyNO 9gticdgkU90u4wLRz/DRWQcuv/e4f3m8RH75B2cDxjQb/Si3+T asR30GUPxT5tWG4XuU95Kf+GLgTHW3zvC4Pzn/zwQKLNWthu9C wA+RCIeu1ifzRuE1eNEXEYVcGzECfyisKTSQTj0tCGsgQgdBJr C8qWHo4PeXggG8gdfkzVt9vJRqgpI3UXP4P9w37U8E5/i2mtoL /H5eiGizX4Q06BqEOtEEQxRjRauh3b0sAhOhORHOiJ+ltWgVgZ E8w0S05ucW7JQpk8euk+sdHYQa0+Xh62xWRdOmDlHz0YZesU41 6vTxbhqvdKilKJXtQskM= X-Validation-by: louis.gesbert@ocamlpro.com Subject: Re: [Caml-list] Merlin question about configuration file This is a multi-part message in MIME format. --nextPart8348679.hMmXentDv6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Le vendredi 15 novembre 2013 13:35:19 Rapha=C3=ABl Proust a =C3=A9crit : > On Fri, Nov 15, 2013 at 1:26 PM, Fran=C3=A7ois Bobot wrote: > > On 15/11/2013 13:52, Johan Mazel wrote: > >> [=E2=80=A6] > > There is another glitch if you have a big code base with many > > sub-...-subdirectories: merlin look for the .merlin in the current dire= ctory > > and the parent directory.[=E2=80=A6] >=20 > Maybe there should be an option for Merlin to look arbitrarily far > into parent directories, stopping whenever a .git, .svn, _darcs, &c. > is found. (This is generally a good indication that one is at the root > of a project.) >=20 > Does that make sense? > Would that help? >=20 That's what I do in ocp-index, a bit of a hack but quite handy, and I've no= t had problems with it so far. (As Fran=C3=A7ois points out, .svn is probab= ly not a good idea though) Implementation here: https://github.com/OCamlPro/ocp-index/blob/master/src/= indexOptions.ml#L62 --nextPart8348679.hMmXentDv6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

Le vendredi= 15 novembre 2013 13:35:19 Rapha=C3=ABl Proust a =C3=A9crit=C2=A0:

> On Fri= , Nov 15, 2013 at 1:26 PM, Fran=C3=A7ois Bobot <francois.bobot@cea.fr>= ; wrote:

> > O= n 15/11/2013 13:52, Johan Mazel wrote:

> >&g= t; [=E2=80=A6]

> > T= here is another glitch if you have a big code base with many

> > s= ub-...-subdirectories: merlin look for the .merlin in the current directory=

> > a= nd the parent directory.[=E2=80=A6]

>

> Maybe = there should be an option for Merlin to look arbitrarily far

> into p= arent directories, stopping whenever a .git, .svn, _darcs, &c.

> is fou= nd. (This is generally a good indication that one is at the root

> of a p= roject.)

>

> Does t= hat make sense?

> Would = that help?

>

&nb= sp;

That's what= I do in ocp-index, a bit of a hack but quite handy, and I've not had probl= ems with it so far. (As Fran=C3=A7ois points out, .svn is probably not a go= od idea though)

&nb= sp;

Implementat= ion here: https://github.com/OCamlPro/ocp-index/blob/master/src/indexOption= s.ml#L62

&nb= sp;

= --nextPart8348679.hMmXentDv6--