unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Calc; v p fails in script
@ 2020-03-20 12:17 Bart Nielsen
  2020-03-21  7:42 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Nielsen @ 2020-03-20 12:17 UTC (permalink / raw)
  To: emacs-devel


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Calc; v p fails in script
@ 2020-03-20 12:20 Bart Nielsen
  0 siblings, 0 replies; 3+ messages in thread
From: Bart Nielsen @ 2020-03-20 12:20 UTC (permalink / raw)
  To: emacs-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Calc; v p fails in script
  2020-03-20 12:17 Calc; v p fails in script Bart Nielsen
@ 2020-03-21  7:42 ` Eli Zaretskii
  0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2020-03-21  7:42 UTC (permalink / raw)
  To: Bart Nielsen; +Cc: emacs-devel

> From: Bart Nielsen <monet@bmac.local>
> Date: Fri, 20 Mar 2020 08:17:10 -0400
> 
> 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.

Thanks, but this is the second or third time you send the same
message, and they all get through (albeit after a delay, since you are
not a subscriber to the list, and so your messages need approval by a
human).  There's no need to send multiple identical messages to the
list.

Btw, reports about bugs are best sent to bug-gnu-emacs@gnu.org, not
here.  The Emacs command "M-x report-emacs-bug RET" should allow you
to write the report, and then send it to the right address including
all the details about your build and system that could be important
for analyzing the big and finding a solution.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-21  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-20 12:17 Calc; v p fails in script Bart Nielsen
2020-03-21  7:42 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-03-20 12:20 Bart Nielsen

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).