all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Miguel V. S. Frasson" <mvsfrasson@gmail.com>
To: 6711@debbugs.gnu.org
Subject: bug#6711: 23.1.90; strange delete after search when repeating kbd-macro
Date: Thu, 22 Jul 2010 18:07:17 -0300	[thread overview]
Message-ID: <AANLkTim5S9D-reBpbry__-d0EUmdNyV-SH8WiJFXplEu@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4808 bytes --]

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 <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 <backspace> <backspace> <backspace>
<backspace> C-y C-y C-y C-y <up> <up> <up> <up> <up>
<up> <up> <up> C-x ( C-s b <delete> 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 <delete> C-x
) C-x e e e <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>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <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 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

[-- Attachment #2: Type: text/html, Size: 5885 bytes --]

             reply	other threads:[~2010-07-22 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 21:07 Miguel V. S. Frasson [this message]
2016-06-14 23:27 ` bug#6711: Subject: 23.1.90; strange delete after search when repeating kbd-macro Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim5S9D-reBpbry__-d0EUmdNyV-SH8WiJFXplEu@mail.gmail.com \
    --to=mvsfrasson@gmail.com \
    --cc=6711@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.