From: Glenn Morris <rgm@gnu.org>
To: Jeova Sanctus Unus <jeova.sanctus.unus@gmail.com>
Cc: 13313@debbugs.gnu.org
Subject: bug#13313: 24.2; typo in the document string of query-replace-regexp
Date: Mon, 31 Dec 2012 01:43:51 -0500 [thread overview]
Message-ID: <i6d2xqyb4o.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAN5KaoZLAiSqwYiaBnvAA3X31vDiU0wbcJx-fDALDOwe5DHOJw@mail.gmail.com> (Jeova Sanctus Unus's message of "Mon, 31 Dec 2012 10:45:40 +0800")
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
next prev parent reply other threads:[~2012-12-31 6:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-31 2:45 bug#13313: 24.2; typo in the document string of query-replace-regexp Jeova Sanctus Unus
2012-12-31 6:43 ` Glenn Morris [this message]
2012-12-31 9:19 ` Fengyuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=i6d2xqyb4o.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=13313@debbugs.gnu.org \
--cc=jeova.sanctus.unus@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).