caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Frédéric Bour" <frederic.bour@lakaban.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] merlin autocomplete : "int" at the end of the line
Date: Sat, 18 Oct 2014 10:52:12 +0200	[thread overview]
Message-ID: <54422A3C.9030300@lakaban.net> (raw)
In-Reply-To: <54421AEA.8050209@gmail.com>

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
>
>


  reply	other threads:[~2014-10-18  8:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  7:46 Vu~ Ngo.c San
2014-10-18  8:52 ` Frédéric Bour [this message]
2014-10-18  9:32   ` [Caml-list] <DKIM> " Vu~ Ngo.c San
2014-10-19 10:31     ` Frédéric Bour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54422A3C.9030300@lakaban.net \
    --to=frederic.bour@lakaban.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).