unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24312: 25.1.50; doc string of `tags-query-replace' - wrong signature
@ 2016-08-26 16:37 Drew Adams
  2016-08-26 17:35 ` Eli Zaretskii
  2016-08-26 18:51 ` Noam Postavsky
  0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2016-08-26 16:37 UTC (permalink / raw)
  To: 24312

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.

The doc cannot reference optional args START and END unless they are in
the signature.  It does not matter, for this, that they are ignored by
the function body.

The signature should be corrected as noted above.  The doc is OK.


In GNU Emacs 25.1.50.1 (i686-pc-mingw32)
 of 2015-12-10
Repository revision: 6148555ee5a3d0139ae517803718b3e0357933c7
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --prefix=/c/Devel/emacs/snapshot/trunk --enable-checking=yes
 --enable-check-lisp-object-type --without-compress-install 'CFLAGS=-Og
 -ggdb3' LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-27  2:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-26 16:37 bug#24312: 25.1.50; doc string of `tags-query-replace' - wrong signature Drew Adams
2016-08-26 17:35 ` Eli Zaretskii
2016-08-26 18:16   ` Drew Adams
2016-08-26 18:51 ` Noam Postavsky
2016-08-26 19:15   ` Eli Zaretskii
2016-08-26 19:52   ` Drew Adams
2016-08-27  2:38     ` npostavs

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).