From: Bart Nielsen <bart.utahman@gmail.com>
To: emacs-devel@gnu.org
Subject: Calc; v p fails in script
Date: Fri, 20 Mar 2020 08:20:20 -0400 [thread overview]
Message-ID: <F33449DF-512B-4F68-8CCF-70F502349715@gmail.com> (raw)
I don’t think the emacs/mail interface works. If this is a repeat, I apologize, but it has been a real problem for me for years.
Thanks,
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
<return>
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
next reply other threads:[~2020-03-20 12:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 12:20 Bart Nielsen [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-20 12:17 Calc; v p fails in script Bart Nielsen
2020-03-21 7:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F33449DF-512B-4F68-8CCF-70F502349715@gmail.com \
--to=bart.utahman@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).