<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi José,<br>
    <br>
    We'll add this patch to the 'pu' branch.<br>
    Thank you for the contribution!<br>
    <br>
    Regards,<br>
    Gustav Simonsson<br>
    Erlang/OTP team<br>
    <br>
    On 2012-03-23 15:00, José Valim wrote:
    <blockquote
cite="mid:CAGnRm4LyjJGJhgbKuw-Ta+b3ba40Yv8RuDu1LFJTv9bCMe+F9g@mail.gmail.com"
      type="cite"><span style="">Here is a patch that allows
        compile:forms() to receive a source option that specifies the
        source value returned by module_info(compile).</span>
      <div><font color="#222222" face="arial, sans-serif">Currently,
          there is no way to set the source and Erlang ends up setting
          the source to the current directory.<br>
        </font>
        <div style=""><br>
        </div>
        <div style="">git fetch git://<a moz-do-not-send="true"
            href="http://github.com/josevalim/otp.git" target="_blank"
            style="color: rgb(17, 85, 204);">github.com/josevalim/otp.git</a> forms-source</div>
        <div style=""><br>
        </div>
        <div style="">
          <a moz-do-not-send="true"
            href="https://github.com/josevalim/otp/compare/forms-source"
            target="_blank" style="color: rgb(17, 85, 204);">https://github.com/josevalim/otp/compare/forms-source</a></div>
        <div style=""><a moz-do-not-send="true"
            href="https://github.com/josevalim/otp/compare/forms-source.patch"
            target="_blank" style="color: rgb(17, 85, 204);">https://github.com/josevalim/otp/compare/forms-source.patch</a></div>
        <div style=""><br>
        </div>
        <div style="">The patch includes code, tests and docs changes.</div>
        <div style=""><br>
        </div>
        <div style="">For more information, the initial discussion in
          Erlang Questions mailing list: <a moz-do-not-send="true"
href="http://erlang.org/pipermail/erlang-questions/2012-March/065361.html">http://erlang.org/pipermail/erlang-questions/2012-March/065361.html</a></div>
        <div style=""><br>
        </div>
        <div style="">Thanks!</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <span style="font-family: arial,sans-serif; font-size: 13px;
          border-collapse: collapse;"><b><span style="border-collapse:
              separate; font-family: arial; font-weight: normal;">
              <div>
                <span style="font-family: arial,sans-serif; font-size:
                  13px; border-collapse: collapse;"><b>José Valim</b></span></div>
              <div><span style="font-family: arial,sans-serif;
                  font-size: 13px; border-collapse: collapse;">
                  <div><span style="font-family: verdana,sans-serif;
                      font-size: x-small;"><a moz-do-not-send="true"
                        href="http://www.plataformatec.com.br/"
                        style="color: rgb(42, 93, 176);" target="_blank">www.plataformatec.com.br</a></span></div>
                  <div><span style="font-family: verdana,sans-serif;
                      font-size: x-small;">Founder and Lead Developer</span></div>
                </span></div>
            </span></b></span><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
erlang-patches mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-patches">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>