From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: zhanghj Newsgroups: gmane.emacs.devel Subject: Re: query-replace-regexp: Can't use \0 in TO-STRING Date: Sun, 07 May 2017 11:48:11 +0800 Message-ID: <87fughmio4.fsf@gmail.com> References: <83a86qflun.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494128953 10420 195.159.176.226 (7 May 2017 03:49:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 May 2017 03:49:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: netjune@qq.com, emacs-devel@gnu.org, Tino Calancha To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 07 05:49:08 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7DBz-0002Ws-LF for ged-emacs-devel@m.gmane.org; Sun, 07 May 2017 05:49:07 +0200 Original-Received: from localhost ([::1]:53543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7DC2-0000VQ-10 for ged-emacs-devel@m.gmane.org; Sat, 06 May 2017 23:49:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7DBQ-0000VL-7L for emacs-devel@gnu.org; Sat, 06 May 2017 23:48:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7DBL-0005ZL-6d for emacs-devel@gnu.org; Sat, 06 May 2017 23:48:32 -0400 Original-Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:33921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7DBK-0005Z7-WD; Sat, 06 May 2017 23:48:27 -0400 Original-Received: by mail-pf0-x244.google.com with SMTP id d1so5518816pfe.1; Sat, 06 May 2017 20:48:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:cc:date:in-reply-to:message-id :user-agent:mime-version; bh=tPPS3qUTb2filvQAzSgxGL8BA/OZbdmQodcEiI8YSyg=; b=NkwCy0VoAJPw+b0IH5l49R4x1CIJVm7xsD7mdyZ/4ZsT1NQkGzBiS+ylre7WeQJCyJ uBY/wd7+CSC85cTF8QsVqErM1owIDmD8+dhrk5GTmToYFACtBD6/BmHKs3utt/yRVDON xNGzQHQwlHma8tglwsauL8Gi6zfMgVL2lS8/VtwvuRVfQPwCeAd5fSmYktLDplYGIFEO HdOraDiw6DQJefcvOd1kS8DP88ixhCDzlZNw8jjilVuFf5FJsyYIDHZ42X0mEPbjvEcc QUn9kRU14HIlm/9sRzzWsE8JHANo0buuXB2yfvCGPstZXoS9uH91jrLfWlzdX1QSN4NU imZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:cc:date :in-reply-to:message-id:user-agent:mime-version; bh=tPPS3qUTb2filvQAzSgxGL8BA/OZbdmQodcEiI8YSyg=; b=Abja5XYs/zz5FJlDtI2M1q4R4KRHZQszhigprlY1H7w7p+qZtIFv4vJCuUtHEWfPRN R0TVf1+Sy8U1rlgxAI5XYdXX4VM/KeSEzCVVQCh2LBKBhK2W+UTUZ041bdhiCt/JTall 6wTFDCrJZgQfUzTiLl3IVNCTwVOeaUZThwC0zvum7jNhKEFdm8naKJ1Hdzxx0PKer/eJ alWeW2NCAudEo7wxgqIJZgKfWO2O40+fyCJN/CKnGtX0BBXwilBTubwnVm+4sv22TQed mzxjJ3dEL2DNE6Hf9b1cNzc19Z7Ck7xsAfMHTekdv3nDHGRI7JeKn0J2J/2ZCRrebN/R mz/Q== X-Gm-Message-State: AN3rC/5sRf21sTMS8LjSzVzn/DlBoKLu8mNyrpVX5cpBM0r092tYHmPV Pwk8buiBhasiYw== X-Received: by 10.98.196.207 with SMTP id h76mr24706064pfk.265.1494128903235; Sat, 06 May 2017 20:48:23 -0700 (PDT) Original-Received: from junlinux ([117.149.2.36]) by smtp.gmail.com with ESMTPSA id t5sm10618415pgo.48.2017.05.06.20.48.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 May 2017 20:48:22 -0700 (PDT) In-Reply-To: <83a86qflun.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 06 May 2017 11:09:04 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::244 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214648 Archived-At: Eli Zaretskii writes: >> From: Tino Calancha >> Date: Sat, 6 May 2017 14:04:46 +0900 (JST) >> Cc: Tino Calancha , >> Emacs developers >> >> The docstring for `query-replace-regexp' was updated in commit 38f4b8ea615 >> to fix Bug#23884. >> Apparently, \0 has never referred to the whole match in this command >> (\& it does), so we might want to skip \0 from this docstring and the >> manual. > > I fixed the doc string. the manual doesn't need fixing, AFAICT, as it > already describes the behavior correctly. > > Thanks. Maybe also the doc string of query-replace-regexp-eval?