GNU bug report logs - #71379
29.3; Elisp compiler: warnings for formats given insufficiently many arguments

Previous Next

Package: emacs;

Reported by: Philippe Schnoebelen <phs <at> lmf.cnrs.fr>

Date: Wed, 5 Jun 2024 13:17:02 UTC

Severity: normal

Found in version 29.3

Done: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrea Corallo <acorallo <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 71379 <at> debbugs.gnu.org, schnoebelen.ph <at> gmail.com, mattias.engdegard <at> gmail.com, stefankangas <at> gmail.com
Subject: bug#71379: 29.3; Elisp compiler: warnings for formats given insufficiently many arguments
Date: Sat, 08 Jun 2024 14:15:14 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Andrea Corallo <acorallo <at> gnu.org>
>> Cc: Stefan Kangas <stefankangas <at> gmail.com>,  71379 <at> debbugs.gnu.org,
>>   schnoebelen.ph <at> gmail.com,  mattias.engdegard <at> gmail.com
>> Date: Fri, 07 Jun 2024 09:55:08 -0400
>> 
>> Eli Zaretskii <eliz <at> 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




This bug report was last modified 1 year and 38 days ago.

Previous Next


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