[erlang-questions] otp 21.2

Richard O'Keefe raoknz@REDACTED
Thu Dec 13 00:15:49 CET 2018


The .erlang file is a customisation file for "erl".
It's just like the way a .gdbinit file will be read
if you run a C program under GDB.


On Thu, 13 Dec 2018 at 12:08, Sam Overdorf <soverdor@REDACTED> wrote:

> "erl" still has the behavior of loading the ".erlangrc". Shouldn't it
> have the same behavior as escript to be consistent?
>
> Thanks,
> Sam
>
>
>
>
>
>
> On Tue, Dec 11, 2018 at 10:44 PM Kenneth Lundin <kenneth@REDACTED>
> wrote:
> >
> >
> >
> > Den ons 12 dec. 2018 00:47 skrev Sam Overdorf <soverdor@REDACTED>:
> >>
> >> This version does not load my ".erlang" file when I run "escript".
> >> If I run "erl" it gets loaded as expected.
> >
> >
> > This is a change made on purpose, and introduced in 21.0.
> >
> > In the README for OTP-21.0 we have:
> >
> > --- Improvements and New Features ---
> >
> >   OTP-14439    Application(s): compiler, dialyzer, erts, stdlib
> >
> >                *** POTENTIAL INCOMPATIBILITY ***
> >
> >                Changed the default behaviour of .erlang loading:
> >                .erlang is no longer loaded from the current directory.
> >                c:erlangrc(PathList) can be used to search and load an
> >                .erlang file from user specified directories.
> >
> >                escript, erlc, dialyzer and typer no longer load an
> >                .erlang at all.
> >
> > /Kenneth Erlang/OTP, Ericsson
> >>
> >>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181213/449ac3d5/attachment.htm>


More information about the erlang-questions mailing list