* [Caml-list] a question about Merlin
@ 2015-12-17 11:46 Matej Košík
2015-12-17 14:11 ` Erkki Seppala
0 siblings, 1 reply; 2+ messages in thread
From: Matej Košík @ 2015-12-17 11:46 UTC (permalink / raw)
To: caml-list
Hi,
I've found a situation, in which Merlin's Locate command fails (?) in Emacs.
When, whithin my program, I position my cursor on "option" type
identifier and invoke the Locate command, I get the message:
"didn't manage to find option"
In some cases Merlin is able to "jump into" the standard library
(e.g., in case of functions defined therein)
but not in case of types.
Is this something to be expected?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] a question about Merlin
2015-12-17 11:46 [Caml-list] a question about Merlin Matej Košík
@ 2015-12-17 14:11 ` Erkki Seppala
0 siblings, 0 replies; 2+ messages in thread
From: Erkki Seppala @ 2015-12-17 14:11 UTC (permalink / raw)
To: caml-list
Hello,
Matej Košík <5764c029b688c1c0d24a2e97cd764f@gmail.com> writes:
> When, whithin my program, I position my cursor on "option" type
> identifier and invoke the Locate command, I get the message:
>
> "didn't manage to find option"
Yes, this is something to expect. The option type (among with int, char,
etc) is built into the compiler and is created programmatically during
compile time.
You can find the predefined types from typing/predef.ml, but they are
not defined in a form that's suitable for Merlin to find.
Though it would be totally awesome if it did, along with jumping to C
code. Maybe with some annotations.. :-)
--
_____________________________________________________________________
/ __// /__ ____ __ http://www.modeemi.fi/~flux/\ \
/ /_ / // // /\ \/ / \ /
/_/ /_/ \___/ /_/\_\@modeemi.fi \/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-17 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-17 11:46 [Caml-list] a question about Merlin Matej Košík
2015-12-17 14:11 ` Erkki Seppala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox