the M-TAB in maxima.el, i.e. the function inferior-maxima-complete is
unusable on Emacs 23.
After a bit of debugging, it seems that in the calling stack of that
function, somewhere an alist is expected while a list is supplied.
Can somebody else confirm this bug?
Besides, I am using maxima.el from Debian Distribution:
http://packages.debian.org/sid/maxima-emacs
It is 5.17.1-1, new enough?
A similar problem was reported as Gentoo bug 307349: <http://bugs.gentoo.org/307349>
The reason is a broken version number check in maxima.el which (re)defines function comint-dynamic-list-completions if the following condition is true:
(and
(not maxima-running-xemacs)
(or
(< emacs-major-version 21)
(< emacs-minor-version 3)))
This obviously breaks for Emacs 23.1. I guess that the intention was to test for versions <21.3 (which would fit the date when this code was committed, namely 2004-11-03).
This patch should fix it:
--- maxima-5.20.1-orig/interfaces/emacs/emaxima/maxima.el
+++ maxima-5.20.1/interfaces/emacs/emaxima/maxima.el
@@ -2109,6 +2109,7 @@
;;; The next functions are from comint.el in cvs emacs
(if (and
(not maxima-running-xemacs)
+ (<= emacs-major-version 21)
(or
(< emacs-major-version 21)
(< emacs-minor-version 3)))
The suggested patch is applied in revision 1.63 of maxima.el.
I am marking the bug report as closed.