GNU bug report logs - #74013
31.0.50; make-vtable errors on an empty list of objects

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Fri, 25 Oct 2024 15:25:02 UTC

Severity: normal

Merged with 73775

Found in versions 30.0.90, 31.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Joost Kremers <joostkremers <at> fastmail.fm>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Spencer Baugh <sbaugh <at> janestreet.com>, larsi <at> gnus.org,
 74013 <at> debbugs.gnu.org
Subject: Re: bug#74013: 31.0.50; make-vtable errors on an empty list of objects
Date: Fri, 25 Oct 2024 23:35:10 +0200
On Fri, Oct 25 2024, Eli Zaretskii wrote:
>> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>
>> Date: Fri, 25 Oct 2024 11:23:35 -0400
>> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>> 
>> 
>> 1. emacs -Q
>> 2. M-: (make-vtable :columns '("column") :objects '())
>> 3. Observe an error like (wrong-number-of-arguments #<subr max> 0)
>> 
>> I ran into this when trying to display a list which can sometimes be
>> empty.  At the very least it would be nice for this to provide a better
>> error message.
>
> I think this is a duplicate of bug#73775.

Yes, looks like. And my patch is still awaiting review. :-)

-- 
Joost Kremers
Life has its moments




This bug report was last modified 191 days ago.

Previous Next


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