emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: suggestion in query-replace is messed up after cancelati


From: Richard Stallman
Subject: address@hidden: suggestion in query-replace is messed up after cancelation]
Date: Wed, 24 May 2006 23:51:23 -0400

Can someone please fix this, then ack?

------- Start of forwarded message -------
Date: Wed, 24 May 2006 14:39:56 -0600
From: "Miguel V. S. Frasson" <address@hidden>
To: address@hidden
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: suggestion in query-replace is messed up after cancelation
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed 
        version=3.0.4

Hi

Very nice the suggestion feature for query-replace.  However, a
cancelation (C-g) of a query-replace while reading the "to" part
messes up the suggestion for next query-replace.

How to reproduce:

1) $ emacs -Q
2) type football and C-a
3) M-% foo RET bar RET y (this replaces the only occurence of foo)
4) M-% (suggests foo -> bar) baz RET C-g
5) M-% (suggests bar -> baz, while it should suggest foo -> bar)

Regards

Miguel.

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'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.4 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-05-18 on miguel
X server distributor `The X.Org Foundation', version 11.0.60802000
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_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
SPC SPC f o o t b a l l <home> M-% f o o <return> b
a r <return> y <home> M-% b a l l <return> t e s t
C-g M-% C-g C-g M-x e m a c s <backspace> <backspace>
<backspace> <backspace> <backspace> r e p o r t <tab>
<return>

Recent messages:
(emacs -Q)
For information about the GNU Project and its goals, type C-h C-p.
Mark set
Replaced 1 occurrence
Quit [3 times]
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done

- -- 
Miguel Vinicius Santini Frasson
address@hidden


_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]