rtoy / maxima

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

build_info with display2d = false #276

Open rtoy opened 2 months ago

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 15:26:45 Created by woollett on 2012-05-16 22:13:45 Original: https://sourceforge.net/p/maxima/bugs/2409


This output looks weird and probably was not intended:

(%i1) display2d:false$

(%i2) build_info(); (%o2) ?%build_info("5.27.0","2012-05-08 11:27:57","i686-pc-mingw32", "GNU Common Lisp (GCL)","GCL 2.6.8")

(%i3) display2d:true$

(%i4) build_info(); (%o4) Maxima version: "5.27.0" Maxima build date: "2012-05-08 11:27:57" Host type: "i686-pc-mingw32" Lisp implementation type: "GNU Common Lisp (GCL)" Lisp implementation version: "GCL 2.6.8"

Ted Woollett

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 15:26:46 Created by robert_dodier on 2012-08-13 07:00:42 Original: https://sourceforge.net/p/maxima/bugs/2409/#ccc6


Problem is that the build_info output has a special function to display it in the 2-d display but not in 1-d. It would be straightforward to create a 1-d display function. I've assigned this item to myself for that. Thanks for pointing it out.

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 15:26:49 Created by robert_dodier on 2012-08-13 07:00:42 Original: https://sourceforge.net/p/maxima/bugs/2409/#9f4a


rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 15:26:51 Created by robert_dodier on 2012-12-10 03:46:57 Original: https://sourceforge.net/p/maxima/bugs/2409/#80ef


rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 15:26:53 Created by robert_dodier on 2012-12-10 03:46:57 Original: https://sourceforge.net/p/maxima/bugs/2409/#211b


After discussion on the mailing list, I've concluded that the present output is as it must be (because 1-d output must be readable, in the sense that it can be given as input to the Maxima parser), and therefore this is an oddity but not something we can change. Marking this item "wont-fix" accordingly.

If you want to see the nicely formatted output, one can do something like this:

block ([display2d : true], print (build_info ()))