From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Bart Nielsen Newsgroups: gmane.emacs.devel Subject: Calc; v p fails in script Date: Fri, 20 Mar 2020 08:17:10 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="63850"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 20 22:02:00 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jFOmG-000GVA-47 for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Mar 2020 22:02:00 +0100 Original-Received: from localhost ([::1]:59148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFOmF-0006CY-5A for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Mar 2020 17:01:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38420) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFOQw-0000Hj-Ob for emacs-devel@gnu.org; Fri, 20 Mar 2020 16:39:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFOQv-0007qe-OG for emacs-devel@gnu.org; Fri, 20 Mar 2020 16:39:58 -0400 Original-Received: from havoc.proulx.com ([96.88.95.61]:35588) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jFOQv-0007qY-Iv for emacs-devel@gnu.org; Fri, 20 Mar 2020 16:39:57 -0400 Original-Received: by havoc.proulx.com (Postfix, from userid 1027) id ABAAF5FC; Fri, 20 Mar 2020 14:39:56 -0600 (MDT) Resent-From: Mailing List Manager Resent-Date: Fri, 20 Mar 2020 14:39:56 -0600 Resent-Message-ID: <20200320203956.mtlefoc6324y77kg@havoc.proulx.com> Resent-To: emacs-devel@gnu.org Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57978) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFGhz-00006F-5R for emacs-devel@gnu.org; Fri, 20 Mar 2020 08:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFGhx-0000UO-VA for emacs-devel@gnu.org; Fri, 20 Mar 2020 08:25:02 -0400 Original-Received: from pool-173-64-65-224.bltmmd.fios.verizon.net ([173.64.65.224]:54360 helo=bmac.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jFGhx-0000TG-Qy for emacs-devel@gnu.org; Fri, 20 Mar 2020 08:25:01 -0400 Original-Received: by bmac.local (Postfix, from userid 501) id CBE653F90ABA; Fri, 20 Mar 2020 08:17:10 -0400 (EDT) X-detected-operating-system: by eggs.gnu.org: Mac OS X [generic] [fuzzy] X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=1.2.4 X-CRM114-Status: UNSURE ( -1.05 ) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 96.88.95.61 X-Mailman-Approved-At: Fri, 20 Mar 2020 17:01:05 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245612 Archived-At: Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If possible, include a backtrace by doing `\[toggle-debug-on-error]', then reproducing the bug. When I pack a set of vectors on teh stack in a keyboard macro, it fails to do that when I run the keyboard macro. In particular: If I define a macro that builds a matrix from two vectors, the result on the stack is my two vectors plus rev(2) ^x ( vx 2 2 vp ^x ) This defines a macro, which I named make.matrix.x2 (fset 'make\.matrix\.x2 [?v ?x ?2 return return ?2 ?v ?v ?p]) when I run it, I end up with the following on the stack: --- Emacs Calculator Mode --- 4: [ [ 1, 2 ] [ 1, 2 ] ] 3: [1, 2] 2: [1, 2] 1: rev(2) . I had to abort the macro with ^g to get it to show up. Emacs : GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2016-09-20 Package: Calc