[Top][All Lists]

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

query-replace-regexp whitespace handling

From: Michael Mauger
Subject: query-replace-regexp whitespace handling
Date: Mon, 7 Feb 2005 10:12:54 -0800 (PST)

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 address@hidden mailing

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

running emacs -Q (very recent CVS)

;; load scratch with some text
C-x i ~/.emacs RET

;; run q-r-r the first time -- replace multiple 
;; spaces and tabs with a single tab
M-x query-replace-regexp RET

;; Do a couple of replaces and then quit out
y y q

;; run q-r-r the second time, the default looks good 
;; (default [^I ]+ -> ^I)
M-x query-replace-regexp RET
y y q

;; one more time.  Oops what's up with the default? 
;; (default ^I -> ) replace tab with nothing

In GNU Emacs (i386-mingw-nt5.0.2195)
 of 2005-02-04 
Distributor `Microsoft Corp.', version 5.0.2195
configured using `configure --with-gcc (3.3) --cflags -DMMAUG

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: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
y y y y y y y y y y y <up> <prior> <prior> <up> <up> 
<up> <up> <up> <up> <up> M-x <up> <return> <return> 
y y y y y y y y y y y y y y y y y y y y y y <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<down> <down> <down> <help-echo> <down-mouse-1> <mouse-1> 
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up> 
<triple-wheel-up> <wheel-down> <double-wheel-down> 
<triple-wheel-down> <triple-wheel-down> M-x e m a c 
SPC b SPC <backspace> SPC <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> r e p o r SPC SPC 
SPC <return>

Recent messages:
Loading help-mode...done
Quit [2 times]
Defining kbd macro...
No keyboard macro defined.
Quit [2 times]
Mark saved where search started
next-history-element: Beginning of history; no preceding item
Mark set [3 times]
Making completion list...
Loading emacsbug...done

reply via email to

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