Erlang Development Environment

Ulf Wiger <>
Wed Mar 7 16:26:20 CET 2001


On Wed, 7 Mar 2001, Mats Cronqvist wrote:

>2. bind the 'f1' (or any other key) to erlang-man-function
>     i have this in my .emacs;
>(setq erlang-root-dir "~/OTP"))
>(add-hook 'erlang-mode-hook 'my-erlang-mode-hook)
>(defun my-erlang-mode-hook ()
>(local-set-key "\C-x\?" 'erlang-man-function))
>
>4. 'meta-.' should run the function erlang-find-tag (you could of
>course bind a click to this function). it grabs the function name at
>point and moves point to the function definition (possibly in a
>different module).

>you'll have to generate a tags file first, e.g. by running etags (in a
>unix shell it's "etags *erl")


Just a wild idea: I've looked at the TAGS format, and it's simple
enough. It could be created as a side-effect as CCviewer builds
its source code and hypertext link cache.

If some elisp-savvy hacker could modify erlang.el so that it
fetches TAGS information via HTTP as needed, perhaps this
functionality could be made available without having to explicitly
build a TAGS file; and your TAGS information would be able to adapt
to what branch of the source code you're looking at.

Tell me if I'm smoking something funny.

/Uffe
-- 
Ulf Wiger                                    tfn: +46  8 719 81 95
Senior System Architect                      mob: +46 70 519 81 95
Strategic Product & System Management    ATM Multiservice Networks
Data Backbone & Optical Services Division      Ericsson Telecom AB




More information about the erlang-questions mailing list