caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Vu~ Ngo.c San" <san.vungoc@gmail.com>
To: "Frédéric Bour" <frederic.bour@lakaban.net>, caml-list@inria.fr
Subject: Re: [Caml-list] <DKIM> Re: merlin autocomplete : "int" at the end of the line
Date: Sat, 18 Oct 2014 11:32:54 +0200	[thread overview]
Message-ID: <544233C6.8090604@gmail.com> (raw)
In-Reply-To: <54422A3C.9030300@lakaban.net>

I currently use opam with 4.01.0 (= system)

do you suggest to change "return" to some other key for autocompletion ?
I fact I don't mind using "return", except in few cases, and "in" is one 
of them. Can one impose such exceptions ?

Le 18/10/2014 10:52, Frédéric Bour a écrit :
> 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  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  7:46 [Caml-list] " Vu~ Ngo.c San
2014-10-18  8:52 ` Frédéric Bour
2014-10-18  9:32   ` Vu~ Ngo.c San [this message]
2014-10-19 10:31     ` [Caml-list] <DKIM> " 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=544233C6.8090604@gmail.com \
    --to=san.vungoc@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=frederic.bour@lakaban.net \
    /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).