From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Miguel V. S. Frasson" Newsgroups: gmane.emacs.bugs Subject: bug#6711: 23.1.90; strange delete after search when repeating kbd-macro Date: Thu, 22 Jul 2010 18:07:17 -0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00504502b3ceaa44f4048c004d8d X-Trace: dough.gmane.org 1279835136 8341 80.91.229.12 (22 Jul 2010 21:45:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Jul 2010 21:45:36 +0000 (UTC) To: 6711@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 22 23:45:33 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc3a8-00085p-ML for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 23:45:33 +0200 Original-Received: from localhost ([127.0.0.1]:37740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oc3a7-0006yO-TI for geb-bug-gnu-emacs@m.gmane.org; Thu, 22 Jul 2010 17:45:31 -0400 Original-Received: from [140.186.70.92] (port=35026 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oc3SL-0004dA-Jb for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 17:37:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oc3SI-0007xW-PM for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 17:37:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43150) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc3SI-0007xS-Mb for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2010 17:37:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oc3LA-0003rm-2H; Thu, 22 Jul 2010 17:30:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Miguel V. S. Frasson" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jul 2010 21:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6711 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: emacs-pretest-bug@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127983419214835 (code B ref -1); Thu, 22 Jul 2010 21:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jul 2010 21:29:52 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= Original-Received: by 10.151.131.12 with SMTP id i12mr4933238ybn.110.1279832837735; Thu, 22 Jul 2010 14:07:17 -0700 (PDT) Original-Received: by 10.220.202.70 with HTTP; Thu, 22 Jul 2010 14:07:17 -0700 (PDT) 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-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 Resent-Date: Thu, 22 Jul 2010 17:30:04 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 22 Jul 2010 17:45:26 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38789 Archived-At: --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--