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

[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: Glenn Morris
Subject: bug#13313: 24.2; typo in the document string of query-replace-regexp
Date: Mon, 31 Dec 2012 01:43:51 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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





reply via email to

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