Maxima Problems

maxima-mode C-c C-d 帮助系统出错:

Search failed: "Menu:"

原因很有可能是没有设置正确的 maxima-info-dir. 把这些行加入 .emacs:

(setq maxima-info-dir "/usr/share/info/")

注意! "/usr/share/info/" 最后的 "/" 必不可少!

Emacs 的 maxima-mode 起动 maxima 进程时出现错误:

Symbol's value as variable is void: comint-output-filter-functions

这很有可能是因为 maxima 起动失败。看下一个问题:

maxima 起动时出现 crash:

GCL (GNU Common Lisp)  Version(2.5.0) Thu Dec  5 08:07:35 EST 2002
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.9.0 http://maxima.sourceforge.net
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(C1)
Error: Caught fatal error [memory may be damaged]
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by CATCH.
Broken at MACSYMA-TOP-LEVEL.  Type :H for Help.
MAXIMA>>
Error: Caught fatal error [memory may be damaged]
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MACSYMA-TOP-LEVEL.
Backtrace: SYSTEM:UNIVERSAL-ERROR-HANDLER

Broken at MACSYMA-TOP-LEVEL.
MAXIMA>>
Unrecoverable error: Segmentation violation..
/usr/libexec/maxima/5.9.0/maxima-run-lisp: line 391:  3884
Aborted   

很有可能是因为 ~/.inputrc 里出现

$if Bash
...
$endif

这样的条件语句。这有可能时是 Maxima readline 部分的一个 bug. 我已经向 Maxima 的 mailing list 报告了这个问题。