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: Sat, 06 May 2017 20:28:13 +0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494073781 17032 195.159.176.226 (6 May 2017 12:29:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 May 2017 12:29:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) Cc: netjune@qq.com, Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 06 14:29:35 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 1d6yq7-0004K3-4a for ged-emacs-devel@m.gmane.org; Sat, 06 May 2017 14:29:35 +0200 Original-Received: from localhost ([::1]:51317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6yqC-0000tb-RM for ged-emacs-devel@m.gmane.org; Sat, 06 May 2017 08:29:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6yp8-0000l0-E1 for emacs-devel@gnu.org; Sat, 06 May 2017 08:28:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6yp5-0007yu-7B for emacs-devel@gnu.org; Sat, 06 May 2017 08:28:34 -0400 Original-Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:33933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6yp5-0007yo-20 for emacs-devel@gnu.org; Sat, 06 May 2017 08:28:31 -0400 Original-Received: by mail-pf0-x243.google.com with SMTP id d1so3932278pfe.1 for ; Sat, 06 May 2017 05:28:30 -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=8SCzTFIqAABrbyIc5QStrWM7iiOI/Gx8egMcn2S0xOQ=; b=uDjJjYMkRsdsO48C6SXCdEC+Cev6qa/zlZyv/gMPJRzQcZHS/92zwLk22Hyq7CoflU kYippyVZk2DiPKNFtZrH/eP6aGRtTzI2B9dYrsE7GJKaE5nVGKC+WMz04zhf/7EX+HP+ KIQrXWMK8rxBqSZGY5MAsB4LiRxvDFNupoKbRZfAC4KAFbg4al74lr1fjYbnmgK7lo+w DkCjneUPHTxuvHpT8XhxZiA9vqch84a6f4pykSh8mbSsnpPRwknVtXvSSKYD+nHtGrbU 2yYCclIPIgnNqksJnIhbl7gUDwmkLK19IICUuvaZPiKDv/sO+MvtoPUxCFbHd4k+/d6d 35PA== 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=8SCzTFIqAABrbyIc5QStrWM7iiOI/Gx8egMcn2S0xOQ=; b=swoHH+l5fEjeJKfTuHqim9JYAsUpRBn3MoOyFRtus0N18j+093ErN/JTFvLhU60+0Y RfQ1IF+fj7bcqQ7AnLnuK/XKXb+m710XGbjRaVfBmCMkuGCUpJTii121mk0DWzUVS/Ri 2zhGbe6Wr0qrOYNQ3sHY5HRRIdMmVlKqxkY7LmQtMV4J5AupGCYKLHBwUBvKCJeGSfDE vuSKbzEhxQq4JPS40SsIeDZ7Smuo2fxR3xUhGF6U31jG3BfRBI9zFxvBWUaNFdcg1upd wKMJ3noanYKa97yyhZQlEgVIXLtuxz6O1rU2W8el+rvkmImqisf7++smlgk9qOKUPGbc VQpg== X-Gm-Message-State: AN3rC/5mTQNhCGVk/tMMfyHaqteiB/31nNsyfiojXdM4ZlzqZwg77JVM OFTxpIKS5njoJvpB X-Received: by 10.98.208.193 with SMTP id p184mr21908133pfg.80.1494073710152; Sat, 06 May 2017 05:28:30 -0700 (PDT) Original-Received: from jundeMac.local ([122.225.224.236]) by smtp.gmail.com with ESMTPSA id p13sm14942208pfl.4.2017.05.06.05.28.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 06 May 2017 05:28:28 -0700 (PDT) In-Reply-To: (Tino Calancha's message of "Sat, 6 May 2017 14:04:46 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 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:214619 Archived-At: Tino Calancha writes: > 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. > > Regards, > Tino Why not \0? I think \0 is more intuitive and also used in vim.