[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13313: 24.2; typo in the document string of query-replace-regexp
From: |
Fengyuan |
Subject: |
bug#13313: 24.2; typo in the document string of query-replace-regexp |
Date: |
Mon, 31 Dec 2012 17:19:38 +0800 |
Sorry,my fault.
Sent from my iPhone
On 2012-12-31, at 14:43, Glenn Morris <rgm@gnu.org> wrote:
> Jeova Sanctus Unus wrote:
>
>> the docstring of query-replace-regexp says:
>> Replacement transfers the case pattern of the old text to the new
>> text, if `case-replace' and `case-fold-search' are non-nil and REGEXP
>> has no uppercase letters.
>>
>> but 15.9.3 Replace Commands and Case says:
>> Likewise, if either `case-replace' or `case-fold-search' is set to
>> `nil', replacement is done without case conversion.
>
> These two do not seem inconsistent to me.
>
> case-replace && case-fold-search -> transfer case
> !case-replace || !case-fold-search -> do not transfer case