<Kakadu>
in emacs after pressing C-c l it prints "Package to use:<cursor>". With a space after ':' it will look like nicer
djcoin has quit [Quit: WeeChat 0.4.0]
rwmjones has quit [Ping timeout: 260 seconds]
<def-lkb>
Kakadu: we'll fix that, thanks
<Kakadu>
two connected questions
<Kakadu>
1) Is it theoretically possible to have a hotkey for "A-x merlin-switch-to-ml <module-under-cursor>"
<Kakadu>
?
<Kakadu>
pardon, M-x*
<def-lkb>
Certainly yes
_andre has joined #ocaml
<Kakadu>
2) I have module Name and Name.ml for it. I'm trying to use M-x merlin-swith-to-ml ENTER Name ENTER and it says that module is not found. Yes, I have "S ." in my .merlin. What I'm doing wrong?
<kerneis>
Kakadu: you need B as well I believe
<Kakadu>
B _build exists too
<rks`>
not for that.
<rks`>
Kakadu: no idea what's going wrong here
djcoin has joined #ocaml
<Kakadu>
strange
<Kakadu>
there it autocompletion when I enter module name
rwmjones has joined #ocaml
<def-lkb>
Kakadu: it may be a bug i fixed recently in experimental branch
<Kakadu>
but after ENTER it says No such file (message: Not_found)
<Kakadu>
ah
<Kakadu>
What about merlin identation engine in emacs? Does it use tuareg's, ocp-indent's or it's own? Can you mention it in README?
<def-lkb>
merlin does nothing with indentation
<def-lkb>
you can use whatever engine you want :)
ollehar has joined #ocaml
Neros has joined #ocaml
n06rin has joined #ocaml
jayprich has joined #ocaml
<gasche>
kerneis: I thought about it a bit more and decided to pull the feature out
<gasche>
I will apply my fix du jour in trunk, and revert version/4.01 changes corresponding to that feature
<Kakadu>
okay
<Kakadu>
I have 1 :: 2 :: [] in my .ml file. I have set cursor on "::" and I press C-c C-l
<Kakadu>
emacs/merlin says that 'nil not found
<Kakadu>
+'
<Kakadu>
it seems it happens with (|!) operator too
<Kakadu>
is it a bug?
<def-lkb>
I don't know how it is done on emacs side, but lexing identifiers in this context is very fragile (an hack :p)
skchrko has joined #ocaml
talzeus has quit [Remote host closed the connection]
<kerneis>
gasche: sounds reasonable
<Drup>
Kakadu: :: is not really an operator, that's not a good example :/
jbrown has quit [Remote host closed the connection]
skchrko has quit [Read error: Connection timed out]
skchrko has joined #ocaml
ontologiae has joined #ocaml
n06rin has quit [Read error: Connection reset by peer]
n06rin has joined #ocaml
csakatok_ has joined #ocaml
rwmjones has quit [Ping timeout: 240 seconds]
csakatoku has quit [Ping timeout: 264 seconds]
dfan has joined #ocaml
rwmjones has joined #ocaml
walter has quit [Quit: This computer has gone to sleep]
csakatok_ has quit [Remote host closed the connection]
Simn has quit [Read error: Connection reset by peer]
Simn has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
talzeus has joined #ocaml
Neros_ has joined #ocaml
alexs__ has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
Yoric1 has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
librarian has joined #ocaml
<librarian>
Hi all! want to write a utility (for training purposes), that will parse log file with regex (Pcre), and I couln't understand from documentation http://mmottl.bitbucket.org/projects/pcre-ocaml/api/Pcre.html is there a function, that will return array of matches, for example:
<librarian>
And there are two errors: 1. Error: Reference to undefined global `Batteries' when I try to use regex " " (default regex) and 2. Exception: Pcre.Error Pcre.MatchLimit. when I try to use regex "^\\[(.*)+\\]\\[(.*)+\\] ([0-9.]+)"
* ggole
idly wonders why one of the type signatures has a _
<companion_cube>
just because it does not use the type variable
<ggole>
But neither does is_empty, and that has a variable?
<ggole>
(Makes sense though.)
Yoric has quit [Ping timeout: 256 seconds]
olasd has quit [Ping timeout: 264 seconds]
olasd has joined #ocaml
<companion_cube>
right
<nlucaroni>
I'm having a hell of a time getting compilation with ocamlbuild -use-ocamlfind with c-libraries to build a cma file w/out "missing external function" messages on execution. Can someone suggest a myocamlbuild.ml file and compare where I may be going wrong?
<nlucaroni>
... or if someone can help me figure out the proper final link command. I feel like I've tried every permutation of options.
Yoric has joined #ocaml
amirmc has quit [Quit: Leaving.]
<companion_cube>
sorry nlucaroni, I never compiled C stubs :(
void64 has joined #ocaml
Yoric has quit [Ping timeout: 256 seconds]
Drup has quit [Ping timeout: 246 seconds]
ontologiae has quit [Ping timeout: 240 seconds]
Neros has quit [Ping timeout: 248 seconds]
Drup has joined #ocaml
contempt has quit [Remote host closed the connection]
contempt has joined #ocaml
introom has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
Yoric has joined #ocaml
Yoric has quit [Ping timeout: 256 seconds]
mcclurmc has quit [Quit: Leaving.]
introom has quit [Read error: Connection reset by peer]
introom has joined #ocaml
Neros has joined #ocaml
darkf has quit [Quit: Leaving]
introom has quit [Read error: Connection reset by peer]
introom_ has joined #ocaml
introom_ has quit [Remote host closed the connection]
Yoric has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
Yoric has joined #ocaml
n06rin has quit [Quit: Leaving.]
<adrien>
nlucaroni: try setting up an oasis project
<adrien>
nlucaroni: I find that ocamlbuild is fairly annoying for C stubs without a myocamlbuil.ml
<adrien>
and oasis will give you one
<adrien>
(properly set)
ontologiae has joined #ocaml
tianon has quit [Quit: "I'm a very important man. I've got a tower!"]
amirmc has joined #ocaml
_andre has quit [Quit: leaving]
zpe has quit [Remote host closed the connection]
carleastlund has joined #ocaml
oriba has joined #ocaml
ontologiae has quit [Ping timeout: 264 seconds]
jayprich has quit [Quit: jayprich]
Snark has quit [Quit: leaving]
tianon has joined #ocaml
ggole has quit []
Neros has quit [Ping timeout: 240 seconds]
stevej has joined #ocaml
zpe has joined #ocaml
zpe has quit [Remote host closed the connection]
Yoric has quit [Remote host closed the connection]
tane has quit [Ping timeout: 261 seconds]
Yoric has joined #ocaml
Yoric has quit [Remote host closed the connection]
Yoric has joined #ocaml
thomasga has quit [Quit: Leaving.]
zpe has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
zpe has quit [Ping timeout: 260 seconds]
Neros has joined #ocaml
<nlucaroni>
adien: I had used oasis, but I have c-files that are generated with rules and wasn't able to include them persistently when remaking the setup. Unless there was something I missed in the docs...
<nlucaroni>
adrien* opps, sorry.
dfan has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
snearch has joined #ocaml
amirmc has quit [Quit: Leaving.]
nlucaroni has quit [Quit: leaving]
Yoric has quit [Ping timeout: 246 seconds]
smondet has quit [Remote host closed the connection]
pkrnj has joined #ocaml
beginner42 has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
Neros has quit [Remote host closed the connection]