Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  FAQ nits.

bhyde at pobox.com
Posted: Fri Dec 18, 1998 3:30 am Reply with quote
Guest
The FAQ and the fact disagree about where the emacs stuff is.
$ pwd
/home/bhyde/incomming/erlang-47.4.0
$ find . | grep '.el$'
./emacs/erlang-start.el
./emacs/erlang.el

The FAQ shows an example .erlang file.
1. When I make one its output gets entangled
with the first prompt, is there a trick to
avoid that?
2. The example uses code:add_uc(...) but the
man page for code doesn't mention it.


How can you not like a language where fun is a keyword?

- ben


Post generated using Mail2Forum (http://m2f.sourceforge.net)
tobbe at serc.rmit.edu.au
Posted: Fri Dec 18, 1998 3:58 am Reply with quote
Guest
> 1. When I make one its output gets entangled
> with the first prompt, is there a trick to
> avoid that?

Don't have any io:formats/2 in your .erlang file ;-)

> 2. The example uses code:add_uc(...) but the
> man page for code doesn't mention it.

It is probably obsolete. It used to refer to a
certain directory where user contributed things
were put. I would say that you shouldn't have
any of that stuff from the FAQ in your ~/.erlang file.

If you have the need to add a path then use:

code:add_path("/blabla/jasndj/kasjdad").

(Don't forget the last dot-white-space)

/Tobbe






Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum