GNU bug report logs - #46710
27.1; `calc' sub-menu item invokes non-existent `calc-mult' function.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mark Harig <idirectscm@HIDDEN>; Keywords: fixed; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 28.1, send any further explanations to 46710 <at> debbugs.gnu.org and Mark Harig <idirectscm@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 46710 <at> debbugs.gnu.org:


Received: (at 46710) by debbugs.gnu.org; 24 Feb 2021 16:55:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 24 11:55:03 2021
Received: from localhost ([127.0.0.1]:35738 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lExRH-0005K2-Ev
	for submit <at> debbugs.gnu.org; Wed, 24 Feb 2021 11:55:03 -0500
Received: from quimby.gnus.org ([95.216.78.240]:44270)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lExRF-0005JT-Ca
 for 46710 <at> debbugs.gnu.org; Wed, 24 Feb 2021 11:55:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=znWeJXNbZMMwOsDKvTMmzl3yYqzn6wh5BnUSplNe5hI=; b=RkCQJ7oWtHWTmVEifbI2buUyc7
 c5gAj6Ag5iMw3Wt/a0mtwJv0oEoMUr8WiJLUX4fDrNbCxQmip+//bA+n9lK6nF2uKrphyiVq9WOWf
 QuM6vVKHn4AL7+9SjqG6hIkPHfuWtcYel12i0QWVbzt85Pd9LpKiRCW9jkqGe9bpshN8=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lExR6-0005wR-6l; Wed, 24 Feb 2021 17:54:54 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Mark Harig <idirectscm@HIDDEN>
Subject: Re: bug#46710: 27.1; `calc' sub-menu item invokes non-existent
 `calc-mult' function.
References: <1223299299.1262773.1614023650941.ref@HIDDEN>
 <1223299299.1262773.1614023650941@HIDDEN>
X-Now-Playing: Moor Mother & billy woods's _BRASS_: "Blak Forrest feat.
 Fielded"
Date: Wed, 24 Feb 2021 17:54:50 +0100
In-Reply-To: <1223299299.1262773.1614023650941@HIDDEN> (Mark Harig's
 message of "Mon, 22 Feb 2021 19:54:10 +0000 (UTC)")
Message-ID: <87ft1l76ed.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Mark Harig <idirectscm@HIDDEN> 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 -> Matri [...] 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46710
Cc: 46710 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Mark Harig <idirectscm@HIDDEN> writes:

>     Note that the menu item also documents the keystroke
>   alternative, =E2=80=98*=E2=80=99.  C-h k * reports that =E2=80=98*=E2=
=80=99 invokes the
>   function =E2=80=98calc-times=E2=80=99.  Likewise, the alternative menu
>   item Calc -> Matrices/Vectors -> Matrices -> (2:) dot (:1)
>   also invokes the function =E2=80=98calc-times=E2=80=99.  This menu item
>   and =E2=80=98*=E2=80=99 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 =E2=80=98calc-mult=E2=80=99 funct=
ion
>   reads:
>
>               ["(2:) dot (1:)"
>               calc-mult
>               :keys "*"
>               :active (>=3D (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).

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#46710; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Feb 2021 19:54:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 22 14:54:24 2021
Received: from localhost ([127.0.0.1]:57629 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lEHHk-0006wi-IG
	for submit <at> debbugs.gnu.org; Mon, 22 Feb 2021 14:54:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:47596)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <idirectscm@HIDDEN>) id 1lEHHj-0006wb-1H
 for submit <at> debbugs.gnu.org; Mon, 22 Feb 2021 14:54:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:33840)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <idirectscm@HIDDEN>)
 id 1lEHHi-0006OV-1I
 for bug-gnu-emacs@HIDDEN; Mon, 22 Feb 2021 14:54:22 -0500
Received: from sonic313-9.consmr.mail.ne1.yahoo.com ([66.163.185.32]:32775)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <idirectscm@HIDDEN>)
 id 1lEHHc-00084o-Uh
 for bug-gnu-emacs@HIDDEN; Mon, 22 Feb 2021 14:54:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aim.com; s=a2048;
 t=1614023653; bh=SOW/GcJF7Za7QsF6ewcT0Bie4ApctVDnQZYacdinYdQ=;
 h=Date:From:Reply-To:To:Subject:References:From:Subject:Reply-To;
 b=PRGlOnpNfb8TZcOYqNOsK3qL2pdpO1HBZpY2wTVxjNgOXZPYBmpJI7bh16biBYsLu0IiGwJ5N2mCThEX0MUL55+D5FbyhqIsF1rAhZDB/lJc+DEh5QFB7NiR1fvs1Dge/eldwxuhtwT5v4P+OcszSbzY72+qxK3eA3oz4YpkE4U7WEZfPrkjfO2ICQl0lXeGH0vXuIUSUtGkQk2fXqoPlUSyubLOF+QRrBB+9+P+U7JLWudm8Z11QVJfobeRWVrwt2zFq67j/OxcRALraBTg5qseOypsbhF5ijanF7K5i6iHOjU0H++N2M91QT1l0U71mmQxdDNOR458bJbCoUo47A==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1614023653; bh=mz6sqy55MTdR3VFRCw0sTMpEn72DlmGgTcxsTakJmmP=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=kSSO05DNhMF8jCPuzhJ8X9y3PcFrsCvMDCGcNFb/du72qU+iz0Ry1LVNGhQn7MQ0ymbgQPCJPa9+MdAuTcdYW+9YbCNdH6xDZY49X6QjMydULnwmh8h3HYWwKECpdKcSt7OfTm01WTNjCJ5gYofijDaP/dbUM5SVHsBLTtz3nNriv+6Q0o9lIcm7VZOMr7kgDCpwTlzVf/OostX/lQ9nLftvufdfH/X4cRwDfO96JbU717Mvi/po8kevROxG0u6WoLpoQYuaiQe9ChbS9yUCgcdkvCnxgJ7CBsb3EZJUfPwkdUV9TZuSn7S5pdBgYF/+IJtLRJILa62Q3Lr4imJCmw==
X-YMail-OSG: vLR8ORAVM1na9pc4KR7oKfNPWNNiU3Dnz4OURkdYsN.nev1zLyjUQvujqqghKQP
 PyDYt2GGNBstS4c8lFMfAYTXnGZhJzjZKIVKypLTSH5R5LsVKLDAu1wNMOkUpD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agQ6DY_P7mixPpn9gi07UWE2Ro6nCWFKpFP8c
 6tzEA47IMz6fSXFHYZOiJ.T0uwD0xyxeXKDiu1HIjvlmoVXLPEpBVIrbfUH_yiKk9aaoO4MJiUWJ
 Hph6jxR7W02ffr5lmsPVEIYN6wC7V65RRDCipIU0vugMcBMazhiLs9JLR8ComK3G7QezvRL_Mtm2
 xlMmtQaAC1GFEAMXJ9Ot3t1hlyvQHD4XSbKS67qNQbMkHHMB2Fta9kvOlefZO_cSOfUTVMZA_jIZ
 DPCZI3BjZedfzusepMrqXNgAe1v3HxcRl43AH.uQijRvl1heWUbIhxVwIxvet0fk5
X-Sonic-MF: <idirectscm@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic313.consmr.mail.ne1.yahoo.com with HTTP; Mon, 22 Feb 2021 19:54:13 +0000
Date: Mon, 22 Feb 2021 19:54:10 +0000 (UTC)
From: Mark Harig <idirectscm@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Message-ID: <1223299299.1262773.1614023650941@HIDDEN>
Subject: 27.1; `calc' sub-menu item invokes non-existent `calc-mult' function.
MIME-Version: 1.0
Content-Type: multipart/alternative; 
 boundary="----=_Part_1262772_1356092636.1614023650939"
References: <1223299299.1262773.1614023650941.ref@HIDDEN>
X-Mailer: WebService/1.1.17712 aolwebmail Mozilla/5.0 (X11;
 CrOS x86_64 13729.29.0) AppleWebKit/537.36 (KHTML, like Gecko)
 Chrome/89.0.4389.57 Safari/537.36
Content-Length: 9469
Received-SPF: pass client-ip=66.163.185.32; envelope-from=idirectscm@HIDDEN;
 helo=sonic313-9.consmr.mail.ne1.yahoo.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_KAM_HTML_FONT_INVALID=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Mark Harig <idirectscm@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

------=_Part_1262772_1356092636.1614023650939
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Emacs Maintainers,

=C2=A0 It appears that a menu item in the =E2=80=98calc=E2=80=99 package at=
tempts
=C2=A0 to invoke a function that does not exist.

=C2=A0 Recipe for producing the error, starting with "emacs -Q"
=C2=A0 (Emacs version 27.1)

=C2=A0 1. Start the =E2=80=98calc=E2=80=99 programmable calculator in Emacs=
 with
=C2=A0 the keystrokes: C-x * c

=C2=A0 2. Enter two three-element vectors onto calc=E2=80=99s stack with
=C2=A0 the following keystrokes, separating each character with a
=C2=A0 space or comma:
=C2=A0 [ 1 2 3 ]
=C2=A0 [ 4 5 6 ]

=C2=A0 3. Attempting to calculate the dot product of the two
=C2=A0 vectors using the Calc menu item: Calc -> Matrices/Vectors
=C2=A0 -> Vectors -> (2:) dot (:1)

=C2=A0 =C2=A0 Emacs responds with the following error message in the
=C2=A0 echo area: "Wrong type argument: commandp, calc-mult".

=C2=A0 =C2=A0 Note that the menu item also documents the keystroke
=C2=A0 alternative, =E2=80=98*=E2=80=99.=C2=A0 C-h k * reports that =E2=80=
=98*=E2=80=99 invokes the
=C2=A0 function =E2=80=98calc-times=E2=80=99.=C2=A0 Likewise, the alternati=
ve menu
=C2=A0 item Calc -> Matrices/Vectors -> Matrices -> (2:) dot (:1)
=C2=A0 also invokes the function =E2=80=98calc-times=E2=80=99.=C2=A0 This m=
enu item
=C2=A0 and =E2=80=98*=E2=80=99 produce the same result.

=C2=A0 The Calc -> Matrices/Vectors -> Vectors sub-menu is
=C2=A0 defined in the file calc-menu.el (in the lisp/calc
=C2=A0 sub-directory): (defvar calc-vectors-menu ...).
=C2=A0 The entry=C2=A0that lists the non-existent =E2=80=98calc-mult=E2=80=
=99 function=C2=A0 reads:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ["(2:) dot (1:)"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 calc-mult
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :keys "*"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :active (>=3D (calc-stack-=
size) 2)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :help "The dot product"]

--=C2=A0


------=_Part_1262772_1356092636.1614023650939
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable


<div style=3D"color:black;font: 10pt Arial, Helvetica, sans-serif;">
<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">Emacs Maintainers,<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; It appears that a menu item in the =E2=80=98calc=E2=80=99=
 package attempts<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; to invoke a function that does not exist.<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; Recipe for producing the error, starting with "emacs -Q"<=
br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; (Emacs version 27.1)<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; 1. Start the =E2=80=98calc=E2=80=99 programmable calculat=
or in Emacs with<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; the keystrokes: C-x * c<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; 2. Enter two three-element vectors onto calc=E2=80=99s st=
ack with<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; the following keystrokes, separating each character with =
a<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; space or comma:<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; [ 1 2 3 ]<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; [ 4 5 6 ]<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; 3. Attempting to calculate the dot product of the two<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; vectors using the Calc menu item: Calc -&gt; Matrices/Vec=
tors<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; -&gt; Vectors -&gt; (2:) dot (:1)<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; Emacs responds with the following error message in=
 the<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; echo area: "Wrong type argument: commandp, calc-mult".<br=
>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; Note that the menu item also documents the keystro=
ke<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; alternative, =E2=80=98*=E2=80=99.&nbsp; C-h k * reports t=
hat =E2=80=98*=E2=80=99 invokes the<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; function =E2=80=98calc-times=E2=80=99.&nbsp; Likewise, th=
e alternative menu<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; item Calc -&gt; Matrices/Vectors -&gt; Matrices -&gt; (2:=
) dot (:1)<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; also invokes the function =E2=80=98calc-times=E2=80=99.&n=
bsp; This menu item<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; and =E2=80=98*=E2=80=99 produce the same result.<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; The Calc -&gt; Matrices/Vectors -&gt; Vectors sub-menu is=
<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; defined in the file calc-menu.el (in the lisp/calc<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; sub-directory): (defvar calc-vectors-menu ...).</span></d=
iv>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; The entry&nbsp;</span><span style=3D"font-family: &quot;C=
ourier New&quot;, Courier, mono; background-color: transparent; font-size: =
10pt;">that lists the non-existent =E2=80=98calc-mult=E2=80=99 function</sp=
an></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono; background-color: transparent; font-size: 10pt;">&nbsp; reads:</s=
pan></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ["(2:) dot (1:)=
"<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; calc-mult<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :keys "*"<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :active (&gt;=
=3D (calc-stack-size) 2)<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :help "The dot =
product"]<br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;">--&nbsp;</span></div>

<div dir=3D"ltr"><span style=3D"font-family: &quot;Courier New&quot;, Couri=
er, mono;"><br>
</span></div>

<div dir=3D"ltr"><br style=3D"font-size: 12px;"></div>
</div>

------=_Part_1262772_1356092636.1614023650939--




Acknowledgement sent to Mark Harig <idirectscm@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#46710; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 24 Feb 2021 17:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.