From unknown Sat Aug 16 10:50:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6711 <6711@debbugs.gnu.org> To: bug#6711 <6711@debbugs.gnu.org> Subject: Status: 23.1.90; strange delete after search when repeating kbd-macro Reply-To: bug#6711 <6711@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:50:56 +0000 retitle 6711 23.1.90; strange delete after search when repeating kbd-macro reassign 6711 emacs submitter 6711 "Miguel V. S. Frasson" severity 6711 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 22 17:29:52 2010 Received: (at submit) by debbugs.gnu.org; 22 Jul 2010 21:29:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc3Kw-0003rE-TH for submit@debbugs.gnu.org; Thu, 22 Jul 2010 17:29:51 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc3EH-0003nQ-AB for submit@debbugs.gnu.org; Thu, 22 Jul 2010 17:22:58 -0400 Received: from mail.gnu.org ([199.232.76.166]:45175 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc3ED-0006tC-6A for emacs-pretest-bug@gnu.org; Thu, 22 Jul 2010 17:22:53 -0400 Received: from eggs.gnu.org ([140.186.70.92]:40026) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Oc2zN-0002y1-JK for emacs-pretest-bug@gnu.org; Thu, 22 Jul 2010 17:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oc2zE-00030i-TT for emacs-pretest-bug@gnu.org; Thu, 22 Jul 2010 17:07:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received: from mail-gx0-f169.google.com ([209.85.161.169]:61174) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc2zE-0002z4-O9 for emacs-pretest-bug@gnu.org; Thu, 22 Jul 2010 17:07:24 -0400 Received: by gxk4 with SMTP id 4so6193371gxk.0 for ; Thu, 22 Jul 2010 14:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=hHEL6v1nY4z5nYZffPgs66LrHtJkryPzlhHuMh31xQM=; b=pBL535ma9isr1jGg/5zyju1x6OVb5XqyX+Bpv6k/KjE+ThogdXIdotVI1MZ68FvhGe tFfaakPaLyom1UdidbaoMs/c4/+h8mTQxtaYcz3gCZc9ThpHJ7dEm8mV8wBxi14KazJd i/Gekt/7C73yNwsvyEhpfzkXKMjfJqb1ULT94= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A2sAFVrrSEsRQeNMOHY0aa1gT2pmEvapc4nTuhCBmLO0gjyZjkDKGVggLlKcUaen0D iq3XpY7lm+2t8bHoUARbsKnuQQv8zmy9j5aj5ktMEdgAU12ul8ppyMjk+nRtlznSZZio KV3h+SBGKgBZSgkmsJ2iiZ09xLfYjF3vizDtQ= MIME-Version: 1.0 Received: by 10.151.131.12 with SMTP id i12mr4933238ybn.110.1279832837735; Thu, 22 Jul 2010 14:07:17 -0700 (PDT) Received: by 10.220.202.70 with HTTP; Thu, 22 Jul 2010 14:07:17 -0700 (PDT) Date: Thu, 22 Jul 2010 18:07:17 -0300 Message-ID: Subject: 23.1.90; strange delete after search when repeating kbd-macro From: "Miguel V. S. Frasson" To: emacs-pretest-bug@gnu.org Content-Type: multipart/alternative; boundary=00504502b3ceaa44f4048c004d8d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 22 Jul 2010 17:29:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --00504502b3ceaa44f4048c004d8d Content-Type: text/plain; charset=ISO-8859-1 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': ====== reproducting the bug ======= 1) emacs -Q 2) type the following text (abcd in three lines), abcd abcd abcd 3) put the point before the first "a" 4) record a kbd-macro that searches "b" and type delete (NOT C-d), that is, type C-x ( C-s b del C-x ) 5) when recording the kbd-macro, the first line becomes "abd" (c gets deleted) 6) repeat the kbd-macro twice. The text becomes abd ab ab (that is, 2 chars are deleted!!) 7) type M-x edit-last-kbd-macro RET and see the strange 2* in the output: ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to cancel. ;; Original keys: C-s b 2*C-d Command: last-kbd-macro Key: none Macro: C-s ;; isearch-forward b ;; self-insert-command 2*C-d ;; delete-char 8) note: I typed del and NOT C-d. Using C-d instead, the bug does not happen. ========================= If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/share/emacs/23.1.90/etc/DEBUG. In GNU Emacs 23.1.90.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-05-27 on edf Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--with-x-toolkit=gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_NZ.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: a a a ( b c d C-k C-k C-k C-y C-y C-y C-y C-x ( C-s ( C-x ) C-x e e e a a a b C-y C-y C-y C-y C-x ( C-s b C-x ) C-x e e e C-y C-y C-y C-y C-x ( C-s a a C-x ) C-x e e e Recent messages: Mark set [4 times] Defining kbd macro... Mark saved where search started Keyboard macro defined (Type e to repeat macro) [3 times] Mark set [4 times] Defining kbd macro... Mark saved where search started Keyboard macro defined (Type e to repeat macro) [3 times] Load-path shadows: None found. Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug edmacro multi-isearch kmacro tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) -- Miguel Vinicius Santini Frasson mvsfrasson@gmail.com --00504502b3ceaa44f4048c004d8d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This bug report will be sent to the Free Software Foundation,
not to you= r local site managers!
Please write in English if possible, because the = Emacs maintainers
usually do not have translators to read other language= s for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list,
and to the gnu.e= macs.bug news group.

Please describe exactly what actions triggered = the bug
and the precise symptoms of the bug.=A0 If you can, give
a recipe starti= ng from `emacs -Q':

=3D=3D=3D=3D=3D=3D reproducting the bug =3D= =3D=3D=3D=3D=3D=3D
1) emacs -Q

2) type the following text (abcd i= n three lines),
abcd
abcd
abcd

3) put the point before the first "a"

= 4) record a kbd-macro that searches "b" and type delete (NOT C-d)= , that is, type

C-x ( C-s b del C-x )

5) when recording the k= bd-macro, the first line becomes "abd" (c gets deleted)

6) repeat the kbd-macro twice. The text becomes
abd
ab
ab
<= br>(that is, 2 chars are deleted!!)

7) type M-x edit-last-kbd-macro = RET and see the strange 2* in the output:

;; Keyboard Macro Editor.= =A0 Press C-c C-c to finish; press C-x k RET to cancel.
;; Original keys: C-s b 2*C-d

Command: last-kbd-macro
Key: none
Macro:

C-s=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 ;; isearch-forward
= b=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 ;; self-insert-command
2*C-d=A0=A0=A0 =A0= =A0=A0 =A0=A0=A0 ;; delete-char

8) note: I typed del and NOT C-d.=A0= Using C-d instead, the bug does not happen.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D


If Emacs crashed, and you have the Emacs process in the g= db debugger,
please include the output from the following gdb commands:<= br>=A0=A0=A0 `bt full' and `xbacktrace'.
For information about d= ebugging Emacs, please read the file
/usr/local/share/emacs/23.1.90/etc/DEBUG.


In GNU Emacs 23.1.90.1= (i686-pc-linux-gnu, GTK+ Version 2.20.1)
=A0of 2010-05-27 on edf
Win= dowing system distributor `The X.Org Foundation', version 11.0.10706000=
configured using `configure=A0 '--with-x-toolkit=3Dgtk''
Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_COLLA= TE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_TIME: nil
=A0 value of= $LANG: en_NZ.utf8
=A0 value of $XMODIFIERS: nil
=A0 locale-coding-sy= stem: utf-8-unix
=A0 default enable-multibyte-characters: t

Major= mode: Lisp Interaction

Minor modes in effect:
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: = t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-m= ode: t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 blin= k-cursor-mode: t
=A0 global-auto-composition-mode: t
=A0 auto-composition-mode: t
=A0 = auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-= mode: t
=A0 transient-mark-mode: t

Recent input:
a a a ( b c d= <return> <return> <up> <up> C-k C-k C-k
C-y C-y C-y C-y <up> <up> <up> <up> <up> <= up> <up>
<up> <up> C-x ( C-s ( <delete> C-x = ) C-x e e e <right>
<return> <return> a a a b <bac= kspace> <backspace> <backspace>
<backspace> C-y C-y C-y C-y <up> <up> <up> <up&g= t; <up>
<up> <up> <up> C-x ( C-s b <delete&g= t; C-x ) C-x e e e
<return> <return> C-y C-y C-y C-y <up= > <up> <up> <up>
<up> <up> <up> <up> <up> C-x ( C-s a a <de= lete> C-x
) C-x e e e <help-echo> <help-echo> <help-e= cho> <help-echo>
<help-echo> <help-echo> <help-= echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <= ;help-echo>
<help-echo> <help-echo> <help-echo> &l= t;help-echo> <help-echo>
<help-echo> <help-echo> &= lt;help-echo> <help-echo> <menu-bar>
<help-menu> <send-emacs-bug-report>

Recent messages:
= Mark set [4 times]
Defining kbd macro...
Mark saved where search star= ted
Keyboard macro defined
(Type e to repeat macro) [3 times]
Mark set [4 times]
Defining kbd macro...
Mark saved where search star= ted
Keyboard macro defined
(Type e to repeat macro) [3 times]

= Load-path shadows:
None found.

Features:
(shadow sort mail-ext= r message sendmail regexp-opt ecomplete rfc822 mml
easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
ma= il-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-= util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader ca= nlock sha1 hex-util hashcash mail-utils emacsbug edmacro
multi-isearch kmacro tooltip ediff-hook vc-hooks lisp-float-type mwheel
= x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode
reg= ister page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-l= ang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebre= w greek romanian slovak czech european ethiopic indian
cyrillic chinese = case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
= md5 base64 format env code-pages mule custom widget
hashtable-print-read= able backquote make-network-process dbusbind
font-render-setting gtk x-t= oolkit x multi-tty emacs)


--
Miguel Vinicius Santini Frasson
mvsfrasson@gmail.com
--00504502b3ceaa44f4048c004d8d-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 19:27:32 2016 Received: (at control) by debbugs.gnu.org; 14 Jun 2016 23:27:32 +0000 Received: from localhost ([127.0.0.1]:40956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCxk4-0001yn-Hm for submit@debbugs.gnu.org; Tue, 14 Jun 2016 19:27:32 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCxjy-0001yK-3p for control@debbugs.gnu.org; Tue, 14 Jun 2016 19:27:31 -0400 Received: by mail-oi0-f66.google.com with SMTP id u201so990984oie.2 for ; Tue, 14 Jun 2016 16:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=n6g9ievOAS2hwfhgeB7VFE/8QzdwxTIvhnNKjBmO/jk=; b=CXeoiNPm3aarI9H3lx/Cpkj7mcZLuyowR7HwrTFQlCk6jFKt9dQxvfqIAkWsz9KlXa oF2qaEVzPlTp53wsgN0GDDhVe61Llftp64lYf+MWBuw+JDptrpYNs8aqmapgntJW62e7 KCRE+zS1Jm3XCyPY5t2Jahtj1Bwn+mIL50ufcUTj4YxkhEUMQX1+mVZhIiyLIk88LVCe LNRfte+63tZm8emEIaxKykQAT/hO/d6nyXEhux6+yS/w/vM3eLzRUpp3HzuB6vK2QyBq Yu3tZ+f7luWwfdubnrY4/6fEdjIlIExpG63nGLvm5FSqxnO5uaaeYqRT5bhsFpOswnQY vR9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=n6g9ievOAS2hwfhgeB7VFE/8QzdwxTIvhnNKjBmO/jk=; b=jZOvgiA0DRtl2pg0fEaOhMO+QmkwkH31HM44I7XPQ4JJX8nhY3KfF4B7MCY1PDnZWK 3c0rloqPXQjNodGRjc9RWpILxqFrO7eQQ/Ze4+O8EImtdKaUGChUDid2uV4C6CQ9gC2m jZGxpthuQqsLoQyGlMD60SELBkv/rjUEw39jvJO7n0sdfztZJusb9sIDfpVJ1fQD7kad abM5OeZcPE0ny1JQ4chgrr89ptdEEtbByrEEzABl6nEEpt9c7Q66QI6nWQw4AsUFeXE9 hV7fwxESf/anZPjwPXAQKHBfLnmwg9LJlQGgJ+gndQncqYQitYhVvD9eWa2ZB50dJuHR mpKA== X-Gm-Message-State: ALyK8tJr7xHM48TaZ+HFpDikaiKrENcpoLK4fnrbbOlXnKxy+65FD3aTgBEZjLEB4J/K+K6lU0QX1rPQAuCxKw== X-Received: by 10.202.80.195 with SMTP id e186mr10188159oib.35.1465946840532; Tue, 14 Jun 2016 16:27:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.44.103 with HTTP; Tue, 14 Jun 2016 16:27:19 -0700 (PDT) From: Noam Postavsky Date: Tue, 14 Jun 2016 19:27:19 -0400 X-Google-Sender-Auth: eNtJPmyuCnRNFQDyOogD7a98ic4 Message-ID: Subject: Subject: 23.1.90; strange delete after search when repeating kbd-macro To: 6711-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Bcc: control@debbugs.gnu.org X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control Cc: "Miguel V. S. Frasson" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) found 6711 23.4 fixed 6711 24.3 quit Seems have been fixed in Emacs 24, probably 24.1 though I only tested 24.3; this ChangeLog entry seems relevant (corresponds to b8a47412) 2010-10-19 Chong Yidong * bindings.el (global-map): Bind C-d to delete-char and deletechar to delete-forward-char. * simple.el (normal-erase-is-backspace-mode): Remap delete to deletechar, and hence delete-forward-char. From unknown Sat Aug 16 10:50:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Jul 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator