GNU bug report logs - #20479
advertised-calling-convention and doc of built-in functions

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Fri, 1 May 2015 01:16:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20479 in the body.
You can then email your comments to 20479 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20479; Package emacs. (Fri, 01 May 2015 01:16:03 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: advertised-calling-convention and doc of built-in functions
Date: Thu, 30 Apr 2015 21:15:30 -0400
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.




Added indication that bug 20479 blocks19759 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 01 May 2015 01:18:03 GMT) Full text and rfc822 format available.

Removed indication that bug 20479 blocks Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 04 May 2015 17:20:05 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.1, send any further explanations to 20479 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 05 May 2015 23:53:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Jun 2015 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 76 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.