GNU bug report logs - #79128
31.0.50; shortdoc doesn't always display the correct arglist

Previous Next

Package: emacs;

Reported by: Robert Pluim <rpluim <at> gmail.com>

Date: Wed, 30 Jul 2025 13:27:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


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

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79128 <at> debbugs.gnu.org
Subject: Re: bug#79128: 31.0.50; shortdoc doesn't always display the correct
 arglist
Date: Fri, 01 Aug 2025 09:56:13 +0200
>>>>> On Fri, 01 Aug 2025 10:43:24 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    Eli> Sorry, I'm confused wrt what is the bug/issue you are reporting here.
    Eli> Are you saying that shortdoc is wrong in what it says?  If so, please
    Eli> elaborate why, because I see nothing wrong with what it says, given
    Eli> that shortdoc is supposed to be, well, short.

Shortdoc:

    >> (seq-empty-p arg &rest args)

C-h f

    >> (seq-empty-p SEQUENCE)


The shortdoc implies that this is legal:

(seq-empty-p '() '())

but it gives:

Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2)
  #f(compiled-function (list) "Optimized implementation of `seq-empty-p' for lists." #<bytecode -0x155616500a964cb3>)(nil nil)

Robert
-- 





This bug report was last modified 7 days ago.

Previous Next


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