unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6711: 23.1.90; strange delete after search when repeating kbd-macro
@ 2010-07-22 21:07 Miguel V. S. Frasson
  2016-06-14 23:27 ` bug#6711: Subject: " Noam Postavsky
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel V. S. Frasson @ 2010-07-22 21:07 UTC (permalink / raw)
  To: 6711

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#6711: Subject: 23.1.90; strange delete after search when repeating kbd-macro
  2010-07-22 21:07 bug#6711: 23.1.90; strange delete after search when repeating kbd-macro Miguel V. S. Frasson
@ 2016-06-14 23:27 ` Noam Postavsky
  0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2016-06-14 23:27 UTC (permalink / raw)
  To: 6711-done; +Cc: Miguel V. S. Frasson

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  <cyd@stupidchicken.com>

    * 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-14 23:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 21:07 bug#6711: 23.1.90; strange delete after search when repeating kbd-macro Miguel V. S. Frasson
2016-06-14 23:27 ` bug#6711: Subject: " Noam Postavsky

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).