rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

noninteractive-mode and kill(all) #4169

Closed rtoy closed 4 months ago

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-09 17:56:27 Created by untom on 2010-11-03 19:26:50 Original: https://sourceforge.net/p/maxima/bugs/2101


Hi there! Issuing a "kill(all)" after loading the interactive-mode makes Maxima pretty much non-functional, since all subsequent evaluations simply yield a "MEVAL1()".:

Sample-Session:

(%i2) tom@blulap:~$ maxima Maxima 5.22.1 http://maxima.sourceforge.net using Lisp SBCL 1.0.40.0.debian Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) load("noninteractive"); STYLE-WARNING: redefining INTEXT in DEFUN STYLE-WARNING: redefining PARSE-CONDITION in DEFUN STYLE-WARNING: redefining MERROR in DEFUN STYLE-WARNING: redefining $GENSYM in DEFUN STYLE-WARNING: redefining TOPLEVEL-MACSYMA-EVAL in DEFUN STYLE-WARNING: redefining ASKSIGN1 in DEFUN STYLE-WARNING: redefining ASK-PROP in DEFUN (%o1) /usr/share/maxima/5.22.1/share/contrib/noninteractive/noninteractive.mac (%i2) kill(all); (%o0) done (%i1) print("foo"); (%o1) MEVAL1() (%i2) 1+1; (%o2) MEVAL1()

rtoy commented 4 months ago

Imported from SourceForge on 2024-07-09 17:56:28 Created by robert_dodier on 2010-11-26 18:33:23 Original: https://sourceforge.net/p/maxima/bugs/2101/#a065


rtoy commented 4 months ago

Imported from SourceForge on 2024-07-09 17:56:32 Created by robert_dodier on 2010-11-26 18:33:23 Original: https://sourceforge.net/p/maxima/bugs/2101/#9c06


Fixed by r1.5 share/contrib/noninteractive/noninteractive.lisp and r1.6 share/contrib/noninteractive/noninteractive.mac.