Menu

#4697 Symbol $box being changed to mbox

None
closed
nobody
None
5
2026-04-08
2026-04-02
No

Before version 5.49.0:

:lisp #$['box,true]$

((MLIST SIMP) $BOX T)

After the latest release 5.49.0:

:lisp #$['box,true]$

((MLIST SIMP) MBOX T)

Why has the symbol $BOX been changed to MBOX?
This has broken plot2d/plot3d's option "box".

Discussion

  • Raymond Toy

    Raymond Toy - 2026-04-02

    I do not know, but a quick grep through git log suggests that commit [13a361] introduced this change. It fixes a bug reported on the list about boxed objects being noun/verb confused.

     

    Related

    Commit: [13a361]

  • Jaime E. Villate

    Yes, that's the gilty commit. More on this bug:

    (%i1) box: 5$
    (%i2) box;
    (%o2) 5
    (%i3) :lisp $box
    Maxima encountered a Lisp error:
    
     The variable $BOX is unbound.
    
    Automatically continuing.
    To enable the Lisp debugger set *debugger-hook* to nil.
    (%i3) :lisp mbox
    5
    
     
    • Raymond Toy

      Raymond Toy - 2026-04-02

      Oh, that is annoying. :lisp $%i1 shows that it's been converted to ((MSETQ) MBOX 5). That seems wrong.

       
  • Robert Dodier

    Robert Dodier - 2026-04-07

    I pushed commit [ 4be0ef ] to fix the problems with plotting options -- just replacing $BOX with MBOX throughout.

    I don't think the things that are described in this ticket are bugs. There is no guarantee that foo in user input corresponds to $FOO in Lisp.

     

    Related

    Commit: [4be0ef]

    • Jaime E. Villate

      You're right. Fixed by commit [4be0ef]

       

      Related

      Commit: [4be0ef]

  • Jaime E. Villate

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB