On Tue, Aug 31, 1999 at 11:57:32AM +0200, Didier Verna wrote:
The whole point is that you can't tell. Maybe Joe wants lowercase
`blabla' to be replaced (lie I do most of the time), or maybe not. You just
can't tell. However, there's a big difference in finding an uppercase letter
in FROM because there's no reason to type uppercase letters in there, unless
you actually want case sensitivity. There, you *can* tell[1].
if you can't tell, should it not be an option?
> i mean, if i don't put any uppercase letters in FROM but
specifically
> put some in TO, does it not mean i _want_ case-sensitivity ?
Well, no. If I want to convert all instances of "emacs" and
"Emacs" to
"EMACS", sure I don't want case sensitivity. I'm happy to do a
`replace
"emacs" with "EMACS"' without case sensitivity.
ok, i got your point, and i agree with you.
i just find it a strange assumption that case-sensitivity has to be
'guessed' from FROM and never ever from TO.
i think this is personnal behaviour.
if i typed 'replace: emacs with: EMACS' i would not want to replace
Emacs in the same time, but if you do that's a good reason to make it
customizable.
as in 'should `replace-match' look for case-sensitivity in TO if there
are no uppercased letters in FROM?'
BTW, the real problem is that case-fold-search is an abomination
though. We have to cope with it.
do we?
oh well, if i'm the only one to complain, i must be wrong :(
thanx anyways.
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except men maybe ?
# Earth # Lunatech Research,
# Solar System # soon we will quit researching and start finding...