From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#31243: 26.1; kmacro-insert-counter increments incorrectly Date: Sun, 22 Apr 2018 19:33:00 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1524450731 31723 195.159.176.226 (23 Apr 2018 02:32:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2018 02:32:11 +0000 (UTC) To: 31243@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 23 04:32:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fARGw-00089z-5r for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2018 04:32:06 +0200 Original-Received: from localhost ([::1]:57635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fARJ2-0008JR-Rb for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Apr 2018 22:34:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fARIr-0008Iu-Es for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fARIo-0005Vi-BR for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fARIo-0005Vc-7n for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fARIo-0006mU-2I for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Apr 2018 02:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31243 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152445081626032 (code B ref -1); Mon, 23 Apr 2018 02:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2018 02:33:36 +0000 Original-Received: from localhost ([127.0.0.1]:36319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fARIN-0006lo-Lr for submit@debbugs.gnu.org; Sun, 22 Apr 2018 22:33:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fARIL-0006lZ-N0 for submit@debbugs.gnu.org; Sun, 22 Apr 2018 22:33:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fARIF-0005JH-IB for submit@debbugs.gnu.org; Sun, 22 Apr 2018 22:33:28 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fARIF-0005JD-FC for submit@debbugs.gnu.org; Sun, 22 Apr 2018 22:33:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fARIE-00088N-5w for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:33:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fARIB-0005Hk-2C for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:33:26 -0400 Original-Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]:45158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fARIA-0005HU-QL for bug-gnu-emacs@gnu.org; Sun, 22 Apr 2018 22:33:22 -0400 Original-Received: by mail-io0-x22b.google.com with SMTP id r22-v6so7626022ioc.12 for ; Sun, 22 Apr 2018 19:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=vOxVf2KbuwQbongjFPZYnCTgmMWti2e475MmOIGXx/M=; b=mWErZZAxZsix1FLFU/FZRkmcpv3fmhVhtxmbYT785OxEeVt39mG3So9IK/Bvh5u5Xs x9Q22FTDnRTxHe5ySmhK4ds9VN7xJlSdNe2Xwg5RTiFKtY9Wl36/3TSHnKcRDuIy9tKR l/GftuJPqSYRELEWL7zGexqmjd+NcdTc4P2l+YA0bIzT42K9DMc4aIQdIpM9zZNRlx9Y jhaDQ63gfZfT8jGU7+j9nTVcZ6nM2onNxYyGgcyLQEUH22UmxKAzxyjggNhSaLjYQjCc B8PSOFUGMNo/kSG4bwTKZmAUYqOauM+TYJLKm92eQqbjZCNUNd59SYpZPmxTQKpEzKxz VU1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vOxVf2KbuwQbongjFPZYnCTgmMWti2e475MmOIGXx/M=; b=tXGFFD12Yq2KGZ+bsahCxEJPWjCcPBrFDOWYouRUl2d/HJizQAXkyUavwD5ALn1VLt rHbCaAYaDIaX/ZA9e1b9rHa5GBGnUsvBXCRxkaiBOtfguWYOHGqgGlrfjxpC9MvuemPu ZeRmJJo67s4ErWPFACkY9NKiYcVCKnUflDcnZRFzaHPdtBNk6fy+PMQrB+C/9sF8t6zy k19u5pI0YFFfGuwV8BmBIsXdFO3GWow39QIQNDXHw4EBcyEHZwsmHeLPNwE2D6ZAoiId qOAbHQRLZvx4YXU//wWW3+uaGDHFwURzObsLDPfKggPvdN358KR4rOiWyuJprk1f4biY xfVw== X-Gm-Message-State: ALQs6tBr61XMXmPrPpK2Y0Jozc3J2LRYKRDfX/rN37kQBgMCxOJqeJ4g N8wwWDRc0pKfiGRxBMgllZVp8r5h9NQz/Xi/30dxaq8Uvlc= X-Google-Smtp-Source: AB8JxZqQJ3f1mleuEYfVJFRirtTG8GecIIsm5K52Jq+OW8DgCM0HeEcjTf82m3upjK2H5caKCJEoULwXJlNvyDi2ajo= X-Received: by 2002:a6b:9b15:: with SMTP id d21-v6mr21111200ioe.243.1524450801072; Sun, 22 Apr 2018 19:33:21 -0700 (PDT) Original-Received: by 10.107.104.14 with HTTP; Sun, 22 Apr 2018 19:33:00 -0700 (PDT) X-Originating-IP: [107.182.230.239] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145680 Archived-At: 1. emacs -Q 2. Record a macro like so (starting with and ending with ): C-u ;; kmacro-start-macro-or-insert-counter SPC ;; self-insert-command ;; kmacro-start-macro-or-insert-counter RET ;; newline 3. Press multiple times. Expected: 0 0 1 1 2 2 3 3 4 4 5 5 6 6 Got: 0 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 In GNU Emacs 26.1 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2018-04-20 built on cielnosurge Repository revision: 5de608f3edb54b4f8d9774e159d0fa99484d3ac8 Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Defining kbd macro... New macro counter value: 1 (1) Keyboard macro defined Configured using: 'configure --with-x-toolkit=lucid --with-xft --with-modules PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils kmacro elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 95511 7642) (symbols 48 20449 1) (miscs 40 47 143) (strings 32 29187 1472) (string-bytes 1 757235) (vectors 16 14106) (vector-slots 8 493018 7522) (floats 8 52 158) (intervals 56 248 0) (buffers 992 11))