[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query-replace-regexp: Can't use \0 in TO-STRING
From: |
zhanghj |
Subject: |
Re: query-replace-regexp: Can't use \0 in TO-STRING |
Date: |
Sun, 07 May 2017 11:48:11 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> From: Tino Calancha <address@hidden>
>> Date: Sat, 6 May 2017 14:04:46 +0900 (JST)
>> Cc: Tino Calancha <address@hidden>,
>> Emacs developers <address@hidden>
>>
>> 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?