Distel is a Emacs mode for Erlang development. Package includes .erl which are compiled to .beam and .el files. In Elisp source it's defined to search for .beam files in <site-lisp>/<distel>/../ebin/ directory, which means that placing .beam and .el files under different roots how it's implemented in app-emacs/distel-3.2_p20071103 doesn't work.
> In Elisp source it's defined to search for .beam files in > <site-lisp>/<distel>/../ebin/ directory, which means that > placing .beam and .el files under different roots how it's implemented in > app-emacs/distel-3.2_p20071103 doesn't work. Thanks for the hint, this is broken behaviour. Clearly the elisp files belong in /usr/share/emacs/site-lisp/ and not in /usr/share/distel/elisp/.
distel-4.03 committed to CVS. I've added a patch to make the path of the ebin directory configurable, so that we can set it in the site-init file. Could you please test if it works for you? The path issue already existed in the 3.2 snapshot, if I understand you correctly?
(In reply to comment #1) > > In Elisp source it's defined to search for .beam files in > > <site-lisp>/<distel>/../ebin/ directory, which means that > > placing .beam and .el files under different roots how it's implemented in > > app-emacs/distel-3.2_p20071103 doesn't work. > > Thanks for the hint, this is broken behaviour. Clearly the elisp files belong > in /usr/share/emacs/site-lisp/ and not in /usr/share/distel/elisp/. > So possible fixes can be: 1) patch distel source to search for .beam in different place 2) put elisp files to /usr/share/distel/elisp and create symlinks to them form emacs/site-lisp
(In reply to comment #2) > distel-4.03 committed to CVS. I've added a patch to make the path of the ebin > directory configurable, so that we can set it in the site-init file. > > Could you please test if it works for you? Can you provide me with instructions how to get CVS version? > The path issue already existed in the 3.2 snapshot, if I understand you > correctly? > Correct.
> > distel-4.03 committed to CVS. I've added a patch to make the path of the > > ebin directory configurable, so that we can set it in the site-init file. > > > > Could you please test if it works for you? > Can you provide me with instructions how to get CVS version? CVS = Portage tree ;-) 4.03 should appear on the normal rsync mirrors in a few hours.
(In reply to comment #5) > > > distel-4.03 committed to CVS. I've added a patch to make the path of the > > > ebin directory configurable, so that we can set it in the site-init file. > > > > > > Could you please test if it works for you? > > Can you provide me with instructions how to get CVS version? > > CVS = Portage tree ;-) > 4.03 should appear on the normal rsync mirrors in a few hours. > Works for me. Thanks. P.S. I'm a newbie and not familiar with ticket flow here - so changed resolution as FIXED.
> Works for me. Thanks. Patch submitted upstream: <http://code.google.com/p/distel/issues/detail?id=14> > P.S. I'm a newbie and not familiar with ticket flow here - so changed > resolution as FIXED. This is O.K., but you may as well leave it to the maintainer. The rule is that a bug can be marked as FIXED when a working solution has been committed to the Portage tree. Thank you for reporting this issue.
fixed upstream. thanks for the patch. - distel Gentoo Task Force