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 993FB7EFCD for ; Sat, 18 Oct 2014 10:53:09 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of frederic.bour@lakaban.net) identity=pra; client-ip=213.251.185.180; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="frederic.bour@lakaban.net"; x-sender="frederic.bour@lakaban.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of frederic.bour@lakaban.net designates 213.251.185.180 as permitted sender) identity=mailfrom; client-ip=213.251.185.180; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="frederic.bour@lakaban.net"; x-sender="frederic.bour@lakaban.net"; 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.lakaban.net) identity=helo; client-ip=213.251.185.180; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="frederic.bour@lakaban.net"; x-sender="postmaster@mail.lakaban.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUEABUpQlTV+7m0/2dsb2JhbABbg2FYzA6HDD4CgScBfYQDAQEEOAgBATYCDwsYCRYPCQMCAQIBRRMIAQGIPwm3TYV6AQWPNAEBCAEBAQEYBpBUFoQ1kwyDP4hDPIV8ijmEAYN5agWCRgEBAQ X-IPAS-Result: ArUEABUpQlTV+7m0/2dsb2JhbABbg2FYzA6HDD4CgScBfYQDAQEEOAgBATYCDwsYCRYPCQMCAQIBRRMIAQGIPwm3TYV6AQWPNAEBCAEBAQEYBpBUFoQ1kwyDP4hDPIV8ijmEAYN5agWCRgEBAQ X-IronPort-AV: E=Sophos;i="5.04,744,1406584800"; d="scan'208";a="101781843" Received: from pepper.lakaban.net (HELO mail.lakaban.net) ([213.251.185.180]) by mail2-smtp-roc.national.inria.fr with ESMTP; 18 Oct 2014 10:53:09 +0200 Received: from [10.0.237.1] (unknown [188.64.32.226]) (Authenticated sender: defre@ygg-drasil.fr) by mail.lakaban.net (Postfix) with ESMTPSA id 963D52C117E for ; Sat, 18 Oct 2014 08:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lakaban.net; s=default; t=1413621446; bh=NlD28QKSxVthg9VD7eVgnSfqt0QYGKImTBLoVlhn4+0=; h=Date:From:To:Subject:References:In-Reply-To:From; b=yKuZ7/OIg/UTdhMfCjVK4Tx1jixAxVwHaujTjec5BBTZcE8h6r8TaoWP7+ytQ/C9A AMQylpFw6aP4tYOV4XAXEIZVmr8+XbKEH4jDHCyTUl2I/ROPhC0p3ujrqDx9ZgrRi2 aDE8goby2vsTTzB2U95m0OUhJxKsCv1rzwzmUtS8= Message-ID: <54422A3C.9030300@lakaban.net> Date: Sat, 18 Oct 2014 10:52:12 +0200 From: =?ISO-8859-15?Q?Fr=E9d=E9ric_Bour?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: caml-list@inria.fr References: <54421AEA.8050209@gmail.com> In-Reply-To: <54421AEA.8050209@gmail.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] merlin autocomplete : "int" at the end of the line That's just auto-complete default behavior, which you can customize ( http://cx4a.org/software/auto-complete/ ). The current beta of merlin (which you have if you are using 4.02 on opam) allows you to (setq merlin-use-auto-complete 'easy) to override defaults. See https://github.com/the-lambda-church/merlin/blob/a015e9aaca6ce997a835c152051d0611885c38dd/emacs/merlin.el#L1918 for the corresponding settings. On 18/10/2014 09:46, Vu~ Ngo.c San wrote: > Hello > > I'm trying the combination tuareg+merlin+ocp-indent to work nicely in > my emacs. I'm puzzled by this behavior: > suppose you end your line with "in" (which is quite common, right ?) > and then type "return": > The "in" has been autocompleted to "int". > > This can't be a default behavior; what do I do wrong ? > Following > https://github.com/realworldocaml/book/wiki/Installation-Instructions, > have in my .emacs: > (setq merlin-use-auto-complete-mode t) > > regards > San > >