Browse thread
New extension for the tuareg mode
- Remi VANICAT
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Remi VANICAT <remi.vanicat@l...> |
| Subject: | New extension for the tuareg mode |
[English translation below] Bonjour, J'ai le plaisir de vous annoncer la parution de tuareg imenu, une extension du tuareg mode disponible a l'adresse suivant : http://dept-info.labri.u-bordeaux.fr/~vanicat/tuareg/ la documentation est dans le commentaire au début du fichier a quoi ça sert? imenu est un package standard de Emacs (je ne pense pas que ça marche sous XEmacs, a versifier) qui permet d'extraire les définitions d'un fichier, pour les retrouver ensuite, tuareg imenu est un lien permettant de l'utilise pour ocaml. comment on l'utilise? une fois installé correctement, on peux : - soit utilise imenu en "mode texte" avec M-x imenu, il affiche alors toute les définitions, on peux alors aller a celle qui nous intéresse - utiliser les menu avec M-x imenu-add-menubar-index (ou comme c'est expliquer dans la documentation). cela crée un menu "index" qui contient les définitions - en utilisant la speedbar (cela crée une nouvelle frame qui contient la liste des fichiers du répertoires courants, et permet de lister les définitions qu'ils contiennes (sur demande) ------------------------- English translation ---------------------------------- It is my pleasure to announce the availability of tuareg imenu, an extension to the tuareg mode, available at: http://dept-info.labri.u-bordeaux.fr/~vanicat/tuareg/index-eng.html the documentations is in the comment at the beginning of the file What is it? imenu is a standard Emacs package (that is said to don't work under XEmacs) who enable the extraction from a source code of the definition, to permit to find them quickly afterward. tuareg imenu is a binding to use this with Ocaml. How to use it? When correctly install, it is possible to : - use the text interface of imenu, with M-x imenu. You have then the list of the definition, and if you chose one, you are automaticly been send to its location - use the menu interface, with M-x imenu-add-menubar-index (or by putting it in the tuareg-hook, as explain in the documentations). It create a menu, where you can chose a definition to find it in your source code - use the speedbar, an Emacs package that show a new frame where there is a list of the file of the current directory. You can then see the list of the definition contain in one file. (sorry for my poor English) -- Rémi Vanicat vanicat@labri.u-bordeaux.fr http://dept-info.labri.u-bordeaux.fr/~vanicat