From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 9F63B7FACB for ; Wed, 3 Sep 2014 09:40:35 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=pra; client-ip=212.227.126.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of louis.gesbert@ocamlpro.com) identity=mailfrom; client-ip=212.227.126.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="louis.gesbert@ocamlpro.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mout.kundenserver.de) identity=helo; client-ip=212.227.126.187; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="louis.gesbert@ocamlpro.com"; x-sender="postmaster@mout.kundenserver.de"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AksCAK7EBlTU4367m2dsb2JhbABagkeBGVeFKokGqE6EAI0/h1ABgQ0WEAEBAQEBBgsLCRQphAQBBAF+CwshJQ8BRyKIMQwJvUkXiWSCSoI3NToWhDYFinCELYMVkVyEcgSLEYFIagGCTgEBAQ X-IPAS-Result: AksCAK7EBlTU4367m2dsb2JhbABagkeBGVeFKokGqE6EAI0/h1ABgQ0WEAEBAQEBBgsLCRQphAQBBAF+CwshJQ8BRyKIMQwJvUkXiWSCSoI3NToWhDYFinCELYMVkVyEcgSLEYFIagGCTgEBAQ X-IronPort-AV: E=Sophos;i="5.04,455,1406584800"; d="scan'208,217";a="77562502" Received: from mout.kundenserver.de ([212.227.126.187]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Sep 2014 09:40:35 +0200 Received: from agaric.localnet (jua06-3-88-189-115-104.fbx.proxad.net [88.189.115.104]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0M4eth-1YLT1Y2a1V-00z1vj; Wed, 03 Sep 2014 09:40:33 +0200 From: Louis Gesbert To: caml-list@inria.fr Date: Wed, 03 Sep 2014 09:40:32 +0200 Message-ID: <1676075.uzja8LzemF@agaric> Organization: OCamlPro User-Agent: KMail/4.12.4 (Linux/3.14-2-amd64; KDE/4.13.3; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart6353933.Kd0e4RZU5n" Content-Transfer-Encoding: 7Bit X-Provags-ID: V02:K0:KWeFxRunOr4HogC82DGcanyuAb0K/+25woEAue+ck+4 rOgDjd4bYuKWDi7ldCxdqWW+QI/hhmD8Rdy9sErhO7omNX4ieR E9900seeg4hr27tvKR0mrXjT7OGqTTQRbFvm/Wgo4coHEElfyB dv8WEAv3ItoubweZDOqCNwPzqoqGECUXHw0HS//bsxY5nSNxDm 9fyebeuyLhZkZ36m4P9ObY8MZJNJPHqLHhVfz2PThoNRE1ftH2 qSa0kD+qS96+5Mtyd4K5o3BiYxq2RWuvtEI5G7usx8CocrKetJ ujxu9G/CLP6JHNzQw4VVMoZqDEaQWA9V/6WpzNp8e8dC/gnn/t 1JZFT8vvw28XSCZq8Ylo= X-UI-Out-Filterresults: notjunk:1; X-Validation-by: louis.gesbert@ocamlpro.com Subject: Re: [Caml-list] How to use emacs tuareg mode effectively to manage an OCaml project? This is a multi-part message in MIME format. --nextPart6353933.Kd0e4RZU5n Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Slightly different from what you ask for, but there are several ways to jump-to-definition and find-uses for identifiers, which helps get around large project a lot. Others may point to different options, but ocp-index [1] is very efficient = for that (`C-c ;` to jump to definition, `C-c /` to find uses) ; you just n= eed to enable -bin-annot in your build system and it should work out-of-the= box. [1] http://www.typerex.org/ocp-index.html (disclaimer: I am the author !) Le mardi 2 septembre 2014, 21:05:09 Xinuo Chen a =E9crit : > Hi all >=20 > I am using OCaml for a project with 20 - 50 files inside. Also I am using= emacs > + tuareg. >=20 > Syntax highlight is well done by tuareg and generally it is good using > emacs for one file editing. >=20 > However, for the project files, I need to frequently switch between files > together with folders, how can i use emacs as also a project manager such > as eclipse? How can I have a file / project tree there just like Eclipse > does? >=20 > Also how do people manage a huge bunch of files (just like core library or > batteries-included) effectively? It seems emacs is good for single file or > simple project editing, but not good at managing a complex project. >=20 > thanks > Best Regards, >=20 > Xinuo >=20 >=20 --nextPart6353933.Kd0e4RZU5n Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"

Slightly di= fferent from what you ask for, but there are several ways to

jump-to-def= inition and find-uses for identifiers, which helps get around

large proje= ct a lot.

&nb= sp;

Others may = point to different options, but ocp-index [1] is very efficient for that (`= C-c ;` to jump to definition, `C-c /` to find uses) ; you just need to enab= le -bin-annot in your build system and it should work out-of-the box.

&nb= sp;

[1] http://= www.typerex.org/ocp-index.html (disclaimer: I am the author !)

&nb= sp;

Le mardi 2 = septembre 2014, 21:05:09 Xinuo Chen a =E9crit=A0:

> Hi all=

>

> I am u= sing OCaml for a project with 20 - 50 files inside. Also I am using emacs

> + tuar= eg.

>

> Syntax= highlight is well done by tuareg and generally it is good using

> emacs = for one file editing.

>

> Howeve= r, for the project files, I need to frequently switch between files

> togeth= er with folders, how can i use emacs as also a project manager such

> as ecl= ipse? How can I have a file / project tree there just like Eclipse

> does?<= /p>

>

> Also h= ow do people manage a huge bunch of files (just like core library or

> batter= ies-included) effectively? It seems emacs is good for single file or

> simple= project editing, but not good at managing a complex project.

>

> thanks=

> Best R= egards,

>

> Xinuo<= /p>

>

>

&nb= sp;

= --nextPart6353933.Kd0e4RZU5n--