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

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

bug#71379: 29.3; Elisp compiler: warnings for formats given insufficient


From: Andrea Corallo
Subject: bug#71379: 29.3; Elisp compiler: warnings for formats given insufficiently many arguments
Date: Sat, 08 Jun 2024 14:15:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <acorallo@gnu.org>
>> Cc: Stefan Kangas <stefankangas@gmail.com>,  71379@debbugs.gnu.org,
>>   schnoebelen.ph@gmail.com,  mattias.engdegard@gmail.com
>> Date: Fri, 07 Jun 2024 09:55:08 -0400
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> No strong opinion, but I think this cuts both ways: keeping it local to
>> >> the definition of the functions themselves makes it clear to anyone
>> >> looking there for inspiration how to add such warnings to their own
>> >> `format` functions.
>> >
>> > Indeed.  In addition, some functions marked with this property already
>> > do that in their own files.  Which was why I asked that question in
>> > the first place.
>> 
>> Agreed.  Maybe in the future even worth having a declare for it?  We
>> have them already for things like ex 'important-return-value'.
>
> Yes, could be a good idea.

Okay, will do after we branch emacs30.

  Andrea





reply via email to

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