<div>In your .emacs file, after you include erlang and/or distel, you can change your erlang-compile to execute "rebar compile" or a makefile (rebar compile;rebar generated..) or whatever else you'd like.</div>
<div>That will get you past compilation, but I don't know how the reloading works enough post-node-generation.</div><div><br></div><div>Distel's default compile is C-c-C-k but you can remap that as well if you'd like.</div>
<div><br>Sorry I cannot be of more help but maybe the above will get you rolling a little..</div><div><br></div><div>-mox</div><div><br></div><div><br></div><div><br></div><br><div><br><div class="gmail_quote">On Sat, May 28, 2011 at 12:17 AM, mabrek <span dir="ltr"><<a href="mailto:mabrek@gmail.com">mabrek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello.<br>
<br>
There is erlang.el for emacs, it has interactive function called<br>
erlang-compile. Is it possible to use it with erlang project that has<br>
rebar dependencies and uses .hrl files from deps/*/include?<br>
My final goal is to edit erlang module, hit some key sequence and have<br>
it compiled and reloaded to some runnning node.<br>
Reload is done by distel, but it is unclear how to compile from emacs<br>
because because my modules have -include(...) dependencies.<br>
<br>
Regards,<br>
Anton Lebedevich.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>