From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24312: 25.1.50; doc string of `tags-query-replace' - wrong signature Date: Fri, 26 Aug 2016 20:35:52 +0300 Message-ID: <83mvjzcu13.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1472232983 15511 195.159.176.226 (26 Aug 2016 17:36:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2016 17:36:23 +0000 (UTC) Cc: 24312-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 26 19:36:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bdL3A-0003WV-UF for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2016 19:36:17 +0200 Original-Received: from localhost ([::1]:33261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdL38-00029p-53 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2016 13:36:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdL32-00028N-06 for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 13:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdL2x-0002dc-0Y for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 13:36:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdL2w-0002dV-Tg for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bdL2w-0007wP-Os for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2016 13:36:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Aug 2016 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Mail-Followup-To: 24312@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 24312-done@debbugs.gnu.org id=D24312.147223295030493 (code D ref 24312); Fri, 26 Aug 2016 17:36:02 +0000 Original-Received: (at 24312-done) by debbugs.gnu.org; 26 Aug 2016 17:35:50 +0000 Original-Received: from localhost ([127.0.0.1]:41658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdL2j-0007vl-PH for submit@debbugs.gnu.org; Fri, 26 Aug 2016 13:35:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdL2i-0007vY-IX for 24312-done@debbugs.gnu.org; Fri, 26 Aug 2016 13:35:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdL2a-0002Yh-Dy for 24312-done@debbugs.gnu.org; Fri, 26 Aug 2016 13:35:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdL2R-0002X3-LF; Fri, 26 Aug 2016 13:35:31 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4235 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bdL2Q-0001y3-0K; Fri, 26 Aug 2016 13:35:30 -0400 In-reply-to: (message from Drew Adams on Fri, 26 Aug 2016 09:37:15 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122694 Archived-At: tags 24312 + wontfix thanks > Date: Fri, 26 Aug 2016 09:37:15 -0700 (PDT) > From: Drew Adams > > The doc string refers to parameters that are not in the calling sequence > (signature). > > The signature is wrong. It says this: > > (tags-query-replace FROM TO &optional DELIMITED FILE-LIST-FORM) > > But it should say this: > > (tags-query-replace FROM TO &optional DELIMITED FILE-LIST-FORM > START END) > > The doc string says this (correctly): > > Fifth and sixth arguments START and END are accepted, for compatibility > with ‘query-replace-regexp’, and ignored. So it's obviously deliberate. > The doc cannot reference optional args START and END unless they are in > the signature. They are optional, so yes, the doc can do that. Closing.