[Caml-list] Logging

2010-12-21 Thread Gregory Bellier
Hello. Until now, whenever I needed to log something, I used my own function to log. From now on, I face new problems and I would like to use syslog to get rid of my logging functions and use the proper unix ones. However, from what I've seen, syslog logs in messages, user,... but I can't log in

[Caml-list] Re: Lwt and OCamlMakefile

2010-12-21 Thread Sylvain Le Gall
On 21-12-2010, Jérémie Dimino jere...@dimino.org wrote: On Mon, Dec 20, 2010 at 09:36:39PM -0500, orb...@ezabel.com wrote: Thanks, I forgot to mention that I am setting that: (*pp camlp4o pa_lwt.cmo *) This one should work: (*pp camlp4o `ocamlfind query -i-format lwt` `ocamlfind query

Re: [Caml-list] Re: Logging

2010-12-21 Thread Török Edwin
On 2010-12-21 13:16, Gregory Bellier wrote: 2010/12/21 Sylvain Le Gall sylv...@le-gall.net: There is also Lwt_log. http://ocsigen.org/lwt/doc/api/Lwt_log.html To be more verbose, I have two processes with two different effective uid If both processes start out as root then you can open

Re: [Caml-list] Re: Logging

2010-12-21 Thread Gabriel Kerneis
On Tue, Dec 21, 2010 at 01:21:44PM +0200, Török Edwin wrote: On 2010-12-21 13:16, Gregory Bellier wrote: 2010/12/21 Sylvain Le Gall sylv...@le-gall.net: There is also Lwt_log. http://ocsigen.org/lwt/doc/api/Lwt_log.html To be more verbose, I have two processes with two different

Re: [Caml-list] Re: Logging

2010-12-21 Thread Michael Ekstrand
On 12/21/2010 05:16 AM, Gregory Bellier wrote: 2010/12/21 Sylvain Le Gall sylv...@le-gall.net: There is also Lwt_log. http://ocsigen.org/lwt/doc/api/Lwt_log.html To be more verbose, I have two processes with two different effective uid and I would like them to be able to log in the very same

Re: [Caml-list] Lwt and OCamlMakefile

2010-12-21 Thread orbitz
Great, that looks like it's working. Many thanks. On Dec 20, 2010, at 10:02 PM, Michael Ekstrand wrote: On 12/20/2010 08:36 PM, orb...@ezabel.com wrote: Thanks, I forgot to mention that I am setting that: (*pp camlp4o pa_lwt.cmo *) (that is where it is coming from in my paste) But it is

[Caml-list] Lwt and Tuareg mode

2010-12-21 Thread orbitz
Are there any modified versions of Tuareg mode to work with Lwt syntax extensions? I looked around but didn't see anything. I don't know Emacs lisp particularly well but will try to hack something out of nothing exists. Thanks ___ Caml-list

Re: [Caml-list] Lwt and Tuareg mode

2010-12-21 Thread bluestorm
What would really be interesting is an emacs mode that use camlp4 for parsing and indentation of OCaml code, instead of hand-written regexes. It is much more complicated, but would scale to arbitrary camlp4 extensions. ___ Caml-list mailing list.

Re: [Caml-list] Lwt and Tuareg mode

2010-12-21 Thread Jérémie Dimino
On Tue, Dec 21, 2010 at 01:54:32PM -0500, orb...@ezabel.com wrote: Are there any modified versions of Tuareg mode to work with Lwt syntax extensions? I looked around but didn't see anything. I don't know Emacs lisp particularly well but will try to hack something out of nothing exists.