From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20479: advertised-calling-convention and doc of built-in functions Date: Thu, 30 Apr 2015 21:15:30 -0400 Message-ID: <4ywq0tm72l.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1430442980 30374 80.91.229.3 (1 May 2015 01:16:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 01:16:20 +0000 (UTC) To: 20479@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 01 03:16:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YnzYm-0000S4-St for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 03:16:09 +0200 Original-Received: from localhost ([::1]:46393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnzYm-0002hg-Ao for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 21:16:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnzYi-0002ha-Vt for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 21:16:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnzYi-0002rz-4w for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 21:16:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnzYi-0002rq-1e for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 21:16:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YnzYh-0004ox-Bh for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 21:16:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 May 2015 01:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143044293617508 (code B ref -1); Fri, 01 May 2015 01:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 May 2015 01:15:36 +0000 Original-Received: from localhost ([127.0.0.1]:57914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnzYF-0004Xs-8R for submit@debbugs.gnu.org; Thu, 30 Apr 2015 21:15:35 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:37280 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnzYC-0004Vz-W0 for submit@debbugs.gnu.org; Thu, 30 Apr 2015 21:15:33 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YnzYA-0008Hk-Ug; Thu, 30 Apr 2015 21:15:31 -0400 X-Spook: world domination Uzi brigand Roswell warfare Dick Cheney X-Ran: bu^"3l#]B76\qux.7cOams/)?K(\r\GHnRq!cQGCx 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102305 Archived-At: Package: emacs Version: 25.0.50 emacs-lisp/ert.el:272:27:Warning: indirect-function called with 2 arguments, but accepts only 1 C-h f indirect-function (indirect-function OBJECT &optional NOERROR) I guess subr.el's (set-advertised-calling-convention 'indirect-function '(object) "25.1") doesn't affect the doc-string of built-ins (like it does with non-builtins, eg report-emacs-bug), only the compilation warning. I think that's pretty confusing. I don't know how you figure out what's going on without grepping the source. Also, there's no NEWS entry for this indirect-function argument change, so it seems likely that no-one will make the corresponding updates to the elisp manual.