User "sawara" has reported the following problem on the forums (see URL): | This problem occurs when I use maxima inside emacs and I try to complete a | maxima command with M-Tab. | When the completion is unique it works fine, but when the completion is | ambiguous I only get this in the Messages buffer: | | comint-dynamic-simple-complete: Wrong number of arguments: | (lambda (completions) [...rest of message deleted...] 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 to upstream's CVS, namely 2004-11-03). Patch will follow.
Created attachment 221639 [details, diff] maxima-5.20.1-emacs-version.patch Fix version number test in maxima.el.
Reported upstream. I believe that their following bug report is about the same issue: <http://sourceforge.net/tracker/index.php?func=detail&aid=2808179&group_id=4933&atid=104933> @sci-mathematics: Would you mind if I commit this fix myself?
> @sci-mathematics: Would you mind if I commit this fix myself? Please do! Thanks.
Fixed in 5.20.1-r1.