emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53227: closed (master: Wrong error message with M-: (funcall).)


From: GNU bug Tracking System
Subject: bug#53227: closed (master: Wrong error message with M-: (funcall).)
Date: Fri, 14 Jan 2022 17:28:02 +0000

Your message dated Fri, 14 Jan 2022 12:26:58 -0500
with message-id <jwvwnj2p6sw.fsf-monnier+emacs@gnu.org>
and subject line Re: bug#53227: master: Wrong error message with M-: (funcall).
has caused the debbugs.gnu.org bug report #53227,
regarding master: Wrong error message with M-: (funcall).
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
53227: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53227
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: master: Wrong error message with M-: (funcall). Date: Thu, 13 Jan 2022 07:39:05 +0000
Hello, Emacs.

In the master branch, with emacs -Q, do

    M-: (funcall) RET

..  The error message one sees is

    (void-function nil)

..  This is wrong.  There is no function, nil or otherwise, supplied to
funcall.  The error message ought to be "Too few arguments", or
something like that.

The cause of the bug lies in Ffuncall in .../src/eval.c.  There, the
code uses args[0] without first checking that nargs > 0.

-- 
Alan Mackenzie (Nuremberg, Germany).



--- End Message ---
--- Begin Message --- Subject: Re: bug#53227: master: Wrong error message with M-: (funcall). Date: Fri, 14 Jan 2022 12:26:58 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
>> The patch should hopefully fix both cases, tho as you can see the two
>> cases are fixed separately (which is what I mean by them being two
>> different bugs).
> I can confirm that this fixes the reported problem (and it doesn't lead
> to any test suite regressions), so please do go ahead and push it.

Done, thanks,


        Stefan



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]