[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46710: 27.1; `calc' sub-menu item invokes non-existent `calc-mult' f
From: |
Lars Ingebrigtsen |
Subject: |
bug#46710: 27.1; `calc' sub-menu item invokes non-existent `calc-mult' function. |
Date: |
Wed, 24 Feb 2021 17:54:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Mark Harig <idirectscm@aim.com> writes:
> Note that the menu item also documents the keystroke
> alternative, ‘*’. C-h k * reports that ‘*’ invokes the
> function ‘calc-times’. Likewise, the alternative menu
> item Calc -> Matrices/Vectors -> Matrices -> (2:) dot (:1)
> also invokes the function ‘calc-times’. This menu item
> and ‘*’ produce the same result.
>
> The Calc -> Matrices/Vectors -> Vectors sub-menu is
> defined in the file calc-menu.el (in the lisp/calc
> sub-directory): (defvar calc-vectors-menu ...).
>
> The entry that lists the non-existent ‘calc-mult’ function
> reads:
>
> ["(2:) dot (1:)"
> calc-mult
> :keys "*"
> :active (>= (calc-stack-size) 2)
> :help "The dot product"]
Thanks for the thorough analysis here. I've now changed this to use
calc-times in Emacs 28, and that does indeed seem to produce the correct
results here (i.e., the same as the `*' command).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no