Open rtoy opened 2 months ago
Imported from SourceForge on 2024-07-08 09:34:15 Created by rswarbrick on 2014-12-30 12:11:29 Original: https://sourceforge.net/p/maxima/bugs/2867/#deb3
I've just fixed the ezunits warnings (with commit [cb3981]).
Imported from SourceForge on 2024-07-08 09:34:18 Created by rswarbrick on 2014-12-30 12:25:06 Original: https://sourceforge.net/p/maxima/bugs/2867/#3331
Can you show us a session which leads to the second messages? I've just compiled the head of the 5.35 branch (which is basically 5.35.1). Running with SBCL, which seems to be the same as you, I get the following:
::text
Maxima 5.35.1_1_g7517d8f http://maxima.sourceforge.net
using Lisp SBCL 1.2.4.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(implicit_plot);
(%o1) /src/maxima/share/contrib/implicit_plot.lisp
(%i2) implicit_plot (x^2 = y^3 - 3*y + 1, [x, -4, 4], [y, -4, 4]);
(%o2) done
(%i3) implicit_plot (x^2 = y^3 - 3*y + 1, [x, -4, 4], [y, -4, 4]);
(%o3) done
(%i4) ⏎
What have I missed?
Imported from SourceForge on 2024-07-08 09:34:22 Created by fsenese on 2014-12-30 13:52:00 Original: https://sourceforge.net/p/maxima/bugs/2867/#6b3f
In a fresh wxMaxima window:
(%i1) load(draw); ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/grcommon.fasl" ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/gnuplot.fasl" ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/vtk.fasl" ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/picture.fasl" (%o1) "e:/PROGRA~2/MAXIMA~1.1/share/maxima/5.35.1/share/draw/draw.lisp"
(%i2) load(implicit_plot); STYLE-WARNING: redefining MAXIMA::CONTAINS-ZEROS in DEFUN STYLE-WARNING: redefining MAXIMA::SAMPLE-DATA in DEFUN STYLE-WARNING: redefining MAXIMA::PRINT-SEGMENT in DEFUN STYLE-WARNING: redefining MAXIMA::PRINT-SQUARE in DEFUN STYLE-WARNING: redefining MAXIMA::IMP-PL-PREPARE-FACTOR in DEFUN STYLE-WARNING: redefining MAXIMA::IMP-PL-PREPARE-EXPR in DEFUN (%o2) "e:/PROGRA~2/MAXIMA~1.1/share/maxima/5.35.1/share/contrib/implicit_plot.lisp"
Now, in a second fresh wxMaxima window: (%i1) load(implicit_plot); "e:/PROGRA~2/MAXIMA~1.1/share/maxima/5.35.1/share/contrib/implicit_plot.lisp"
(%i2) load(draw); ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/grcommon.fasl" ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/gnuplot.fasl" STYLE-WARNING: redefining MAXIMA::CONTAINS-ZEROS in DEFUN STYLE-WARNING: redefining MAXIMA::SAMPLE-DATA in DEFUN STYLE-WARNING: redefining MAXIMA::PRINT-SEGMENT in DEFUN STYLE-WARNING: redefining MAXIMA::PRINT-SQUARE in DEFUN STYLE-WARNING: redefining MAXIMA::IMP-PL-PREPARE-FACTOR in DEFUN STYLE-WARNING: redefining MAXIMA::IMP-PL-PREPARE-EXPR in DEFUN ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/vtk.fasl" ;; loading #P"C:/Users/Frederick/maxima/binary/5_35_1/sbcl/1_2_1/share/draw/picture.fasl" (%o2) "e:/PROGRA~2/MAXIMA~1.1/share/maxima/5.35.1/share/draw/draw.lisp"
Imported from SourceForge on 2024-07-08 09:34:26 Created by fsenese on 2014-12-30 14:07:08 Original: https://sourceforge.net/p/maxima/bugs/2867/#cd18
Also, my build_info() is version="5.35.1",timestamp="2014-12-23 14:34:16",host="i686-pc-mingw32",lisp_name="SBCL",lisp_version="1.2.1"
Imported from SourceForge on 2024-07-08 09:34:29 Created by rswarbrick on 2014-12-30 17:31:07 Original: https://sourceforge.net/p/maxima/bugs/2867/#9871
The second problem seems to be because we copy-pasted code (sigh). See http://article.gmane.org/gmane.comp.mathematics.maxima.general/47901
Hopefully this is fixable...
Imported from SourceForge on 2024-07-08 09:34:14 Created by fsenese on 2014-12-27 16:49:14 Original: https://sourceforge.net/p/maxima/bugs/2867
...with Maxima 5.35.1 and wxMaxima 14.12.1. This is true even when using $. For example,
load(ezunits)$
produces
; file: e:/Program Files (x86)/Maxima-5.35.1/share/maxima/5.35.1/share/ezunits/ezunits.lisp ; in: DEFUN MATHML-PRESENTATION-EZUNITS ; (MAXIMA::MPR_ENGINE ; `((MAXIMA::MTIMES) ,(SECOND MAXIMA::MEXPRESS) ,(THIRD MAXIMA::MEXPRESS)) ; 'MAXIMA::MPAREN 'MAXIMA::MPAREN) ; ; caught STYLE-WARNING: ; undefined function: MPR_ENGINE ; ; compilation unit finished ; Undefined function: ; MPR_ENGINE ; caught 1 STYLE-WARNING condition
and
load(implicit_plot)$ implicit_plot (x^2 = y^3 - 3*y + 1, [x, -4, 4], [y, -4, 4]);
produces
STYLE-WARNING: redefining MAXIMA::CONTAINS-ZEROS in DEFUN STYLE-WARNING: redefining MAXIMA::SAMPLE-DATA in DEFUN STYLE-WARNING: redefining MAXIMA::PRINT-SEGMENT in DEFUN STYLE-WARNING: redefining MAXIMA::PRINT-SQUARE in DEFUN STYLE-WARNING: redefining MAXIMA::IMP-PL-PREPARE-FACTOR in DEFUN STYLE-WARNING: redefining MAXIMA::IMP-PL-PREPARE-EXPR in DEFUN