bug-gnu-emacs
[Top][All Lists]
Advanced

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

tags-query-replace stops prematurely


From: Andreas Gustafsson
Subject: tags-query-replace stops prematurely
Date: Tue, 14 Aug 2001 00:19:46 -0700 (PDT)

In GNU Emacs 20.7.1 (i386--netbsd, X toolkit)
 of Thu Dec  7 2000 on 
configured using `configure  --with-pop --with-ipv6 --host=i386--netbsd 
--prefix=/usr/pkg'

Also seen in GNU Emacs 20.7.2 on Debian Linux (i386).

The tags-query-replace command stops prematurely when query replacing
an uppercase string in files that also contain the same string in
lower case.

To reproduce the problem, create two or more files (e.g., a.txt and
b.txt) each containing the following two lines of text:

  FOO
  foo

Then create a tags file listing the files, e.g. with "etags a.txt b.txt".

Then execute the command (tags-query-replace "FOO" "BAR" nil).  Emacs
will prompt for whether to replace the FOO in the first file with BAR.
Press "y".  Emacs will replace the FOO with BAR as expected, but then
it displays the message "Replaced 0 occurrences" and stops, without
ever offering to replace the occurrences of FOO in subsequent files.
-- 
Andreas Gustafsson, address@hidden



reply via email to

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