GNU bug report logs - #37057
25.2; Calc; Key erroneously recorded twice in keyboard macro

Previous Next

Package: emacs;

Reported by: Christoph Arenz <tiga.arenz <at> web.de>

Date: Fri, 16 Aug 2019 17:45:01 UTC

Severity: normal

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 37057 <at> debbugs.gnu.org (full text, mbox):

From: Adrian Parvin Ouano <programmer <at> adrianpar.vin>
To: 37057 <at> debbugs.gnu.org
Subject: Better explanation
Date: Mon, 06 Apr 2020 04:21:03 +0800
Actually, I looked into how Emacs handles implicit pushes, and found the
answer to *my* problem, not sure if the same is with yours. Emacs Calc
uses `unread-command-events` in order to perform the addition. That is,

1 1+
(space verbatim)
is read as:
1 1++
where the first + pushes into the Calc stack, and pushes "+" into the
command queue, for the Calc stack to process as addition.




This bug report was last modified 5 years and 130 days ago.

Previous Next


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