[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: they never thought I would query-replace an uppercase
From: |
Dan Jacobson |
Subject: |
Re: they never thought I would query-replace an uppercase |
Date: |
31 Oct 2002 06:37:39 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
DJ> The help for query-replace-regexp just says: "Preserves case in each
DJ> replacement if `case-replace' and `case-fold-search' are non-nil and
DJ> REGEXP has no uppercase letters."
DJ> Therefore, the user in a rush to replace a certain capital letter
DJ> thinks: Oh great, I was hoping to match only "S" and not "s", but this
DJ> possibility was apparently overlooked [by guess who].
RMS> I don't understand, sorry. What is "this possibility"?
RMS> The way to match only S is to turn off case-fold-search.
Mainly the hurried user does describe-function query-replace-regexp,
and the only thing he sees semi-relevant to matching his S is that
sentence. Therefore add a sentence there advertising case-replace's
merits.