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

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: Christoph Arenz <tiga.arenz@HIDDEN>; dated Fri, 16 Aug 2019 17:45:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 16 Aug 2019 17:44:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 16 13:44:47 2019
Received: from localhost ([127.0.0.1]:54863 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hygHP-00042m-Ci
	for submit <at> debbugs.gnu.org; Fri, 16 Aug 2019 13:44:47 -0400
Received: from lists.gnu.org ([209.51.188.17]:54718)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tiga.arenz@HIDDEN>) id 1hyg6D-0003fo-4D
 for submit <at> debbugs.gnu.org; Fri, 16 Aug 2019 13:33:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56514)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <tiga.arenz@HIDDEN>) id 1hyg6B-00039j-Ia
 for bug-gnu-emacs@HIDDEN; Fri, 16 Aug 2019 13:33:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tiga.arenz@HIDDEN>) id 1hyg6A-0008NN-6E
 for bug-gnu-emacs@HIDDEN; Fri, 16 Aug 2019 13:33:11 -0400
Received: from mout.web.de ([212.227.15.3]:52099)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <tiga.arenz@HIDDEN>) id 1hyg69-0008LB-LQ
 for bug-gnu-emacs@HIDDEN; Fri, 16 Aug 2019 13:33:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1565976786;
 bh=ujXf1FIvazKiaaEgOrelELZsiMYuyXgwr5XboalnVnY=;
 h=X-UI-Sender-Class:To:From:Subject:Date;
 b=GwIRQAz86gwpR8w18OC5ujVGDK/+TPHZABDyWyn4nlonfVs+UqaHtbsFbuuMnCQWZ
 oFfrRl/NWbsOFIQf4zz0diQM0ghkYRwAiv6vNSMArfM0bWgeoRJnvoHEJwWHiAmKA5
 afBLghplQQP+cHhxFWHDrPiSB7l5/t6fWVrx/moU=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from [192.168.1.106] ([185.44.135.237]) by smtp.web.de (mrweb001
 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LaTtv-1ihKKE3F6N-00mJCa for
 <bug-gnu-emacs@HIDDEN>; Fri, 16 Aug 2019 19:33:05 +0200
To: bug-gnu-emacs@HIDDEN
From: Christoph Arenz <tiga.arenz@HIDDEN>
Subject: 25.2; Calc; Key erroneously recorded twice in keyboard macro
Message-ID: <202c04c7-c91d-a1a7-85ce-34c14c6bb0bd@HIDDEN>
Date: Fri, 16 Aug 2019 19:33:04 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
X-Provags-ID: V03:K1:+i2hUmePTYvcgRbzNW73LuiIO5GU276HNbrDHREnkKOsHEhY09+
 X4DAajp8mESNRH0yXAzZHX6pHMqs7eRq3JrDyAsW6+b2zliDwVU6xgQt8JJEdVzjNxkPJ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bGblelPZHg+dbNN2MnjXJmF/IQUBlMs7kz+qbY6Nn40eYpUQUIUfHE87BtDa2pK
 FQMliYbDpRFVOmnIznzcr6/ONggXPhhzcSuyjXY1EBbFlnhzPmu5fMGmNXALDaWYqlWiGZ0o1
 csAtQhhBuzGIXNAqmfhGJPfN+Vv/yAUBaHYAkAGmDEYUzPtPsO+VcTsQf0KS/GRzMWLHFBQaa
 smxlKnsudMrFXiVHJD9zmQ0eP08bAs9TlCXr/BOcEx1SMELV+VG1cDR3hnN0xGO2tgVN03zaS
 /b6u3oCCkpb4Om8qajM5dQU8GMPVndV1VlyUw+rdCuz3Ubvg==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.15.3
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 16 Aug 2019 13:44:44 -0400
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: -2.4 (--)


In Calc enter:
90 <RET> S <f3> I S <f4>
S <f4>
The first key sequence gives 90 again.
The second key sequence shows 1, however expected is 90 as well.

Looking at the recorded macro with C-x C-k e <RET> shows this:
Command: last-kbd-macro
Key: none

Macro:

ISS=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ;; self-insert=
-command * 3



<view-lossage> shows this:
 =C2=A0C-x * [calc-dispatch]
 =C2=A0* * 9 [calcDigit-start]
 =C2=A00 [calcDigit-key]
 =C2=A0<return> [calcDigit-nondigit]
 =C2=A0S [calc-sin]
 =C2=A0<f3> [kmacro-start-macro-or-insert-counter]
 =C2=A0I [calc-inverse]
 =C2=A0S [calc-fancy-prefix-other-key]
 =C2=A0S [calc-sin]
 =C2=A0<f4> [kmacro-end-or-call-macro]
 =C2=A0S [calc-sin]
 =C2=A0<f4> [kmacro-end-or-call-macro]

It looks like the one key press of 'S' was seen twice (as
[calc-fancy-prefix-other-key]
and as [calc-sin]) and also recorded twice in the keyboard macro.
Using the macro thereafter leads to a wrong result.





In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
 =C2=A0of 2017-09-22, modified by Debian built on lgw01-amd64-050
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description:=C2=A0=C2=A0=C2=A0 Ubuntu 18.04.3 LTS

Configured using:
 =C2=A0'configure --build x86_64-linux-gnu --prefix=3D/usr
 =C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
 =C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
 =C2=A0--mandir=3D/usr/share/man --with-pop=3Dyes
 =C2=A0--enable-locallisppath=3D/etc/emacs25:/etc/emacs:/usr/local/share/e=
macs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2=
/site-lisp:/usr/share/emacs/site-lisp
 =C2=A0--with-sound=3Dalsa --without-gconf --build x86_64-linux-gnu
 =C2=A0--prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib
 =C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
 =C2=A0--mandir=3D/usr/share/man --with-pop=3Dyes
 =C2=A0--enable-locallisppath=3D/etc/emacs25:/etc/emacs:/usr/local/share/e=
macs/25.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2=
/site-lisp:/usr/share/emacs/site-lisp
 =C2=A0--with-sound=3Dalsa --without-gconf --with-x=3Dyes --with-x-toolkit=
=3Dgtk3
 =C2=A0--with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
 =C2=A0-fdebug-prefix-map=3D/build/emacs25-jYekUr/emacs25-25.2+1=3D.
-fstack-protector-strong
 =C2=A0-Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time
 =C2=A0-D_FORTIFY_SOURCE=3D2' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,r=
elro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
 =C2=A0 value of $LC_MONETARY: de_DE.UTF-8
 =C2=A0 value of $LC_NUMERIC: de_DE.UTF-8
 =C2=A0 value of $LC_TIME: de_DE.UTF-8
 =C2=A0 value of $LANG: en_US.UTF-8
 =C2=A0 value of $XMODIFIERS: @im=3Dibus
 =C2=A0 locale-coding-system: utf-8-unix

Major mode: Calculator

Minor modes in effect:
 =C2=A0 tooltip-mode: t
 =C2=A0 global-eldoc-mode: t
 =C2=A0 electric-indent-mode: t
 =C2=A0 mouse-wheel-mode: t
 =C2=A0 tool-bar-mode: t
 =C2=A0 menu-bar-mode: t
 =C2=A0 file-name-shadow-mode: t
 =C2=A0 global-font-lock-mode: t
 =C2=A0 font-lock-mode: t
 =C2=A0 blink-cursor-mode: t
 =C2=A0 auto-composition-mode: t
 =C2=A0 auto-encryption-mode: t
 =C2=A0 auto-compression-mode: t
 =C2=A0 buffer-read-only: t
 =C2=A0 line-number-mode: t
 =C2=A0 transient-mark-mode: t

Recent messages:
Working...
Keyboard macro defined
Working...
Inverse...
Working... [2 times]
Type "q" in help window to restore previous buffer.
Making completion list...
Mark set
Please enter your report.=C2=A0 Type C-c C-c to send, C-c C-k to abort.
Auto-saving...done

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail message dired format-spec
rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader
reporter help-mode cl-loaddefs pcase cl-lib kmacro calc-misc calc-math
calc-alg calc-ext calc-menu easymenu calc calc-loaddefs calc-macs
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 123655 11261)
 =C2=A0(symbols 48 23246 0)
 =C2=A0(miscs 40 798 182)
 =C2=A0(strings 32 21504 4226)
 =C2=A0(string-bytes 1 593283)
 =C2=A0(vectors 16 16407)
 =C2=A0(vector-slots 8 484237 6894)
 =C2=A0(floats 8 167 195)
 =C2=A0(intervals 56 304 4)
 =C2=A0(buffers 976 21))





Acknowledgement sent to Christoph Arenz <tiga.arenz@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#37057; 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: Mon, 25 Nov 2019 12:00:02 UTC

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