Emacs support is broken in all versions >=maxima-5.11.0-r2, last good version was 5.11.0-r1 (which is no longer in the tree). To reproduce, type "M-x maxima RET" in Emacs, which will result in an error message "Cannot open load file: maxima". The reason is that handling of the load-path was incorrectly changed between revisions 5.11.0-r1 and -r2. Attached patches will restore the previous behaviour and therefore fix the problem.
Created attachment 132874 [details, diff] Patch for maxima-5.13.0-r1.ebuild This should be applied to all versions >=maxima-5.11.0-r2.
Created attachment 132875 [details, diff] Patch for files/50maxima-gentoo.el This will just undo the previous change to the site-init file.
As an alternative to applying the two patches, one could call einstall emacsdir="${D}${SITELISP}/${PV}" This would install the elisp files in /usr/share/emacs/site-lisp/maxima which is the canonical location for Emacs.
fixed. thanks.
(In reply to comment #4) > fixed. thanks. Huh? Looks like you only removed the old versions, but didn't apply the patches.
(In reply to comment #5) > [...] didn't apply the patches. ... neither applied the patches, nor took the solution of comment #3 (which would also be valid).
thanks for the double check.
(In reply to comment #3) > As an alternative to applying the two patches, one could call > einstall emacsdir="${D}${SITELISP}/${PV}" Stupid typo, this should be ${PN} instead of ${PV}. Corrected in CVS.