English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: Redefinition doesn't work
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2000-11-09 (18:09)
From: Juan J. Quintela <quintela@f...>
Subject: Re: Good programming languages (Was: Redefinition doesn't work)
>>>>> "markus" == Markus Mottl <mottl@miss.wu-wien.ac.at> writes:

markus> On Fri, 03 Nov 2000, bcpierce@cis.upenn.edu wrote:
>> I find that Emacs is an excellent tool for searching for functions in
>> the OCaml library.  The developers have helpfully provided a pure-ascii
>> version of the documentation, and a couple of incremental searches
>> usually gets me to what I want in a few second.

markus> VIM-users might want to put the following function definition into their
markus> .bashrc-file:

markus>   function ocdoc () { command vim -R $OCAMLLIBPATH/$1; }

markus> where $OCAMLLIBPATH is set to the location of the library directory. A
markus> simple e.g. "ocdoc list.mli" (or also "ocdoc list.ml") on the command
markus> line will display the nicely highlighted code in a shell window (starting
markus> up Emacs in a similar way is just too slow :-)

Have you ever heard of emacsclient????

/me hides under the _holy_ war emacs/vi.

Later, Juan.

In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy