From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Martin =?utf-8?Q?Edstr=C3=B6m?= Newsgroups: gmane.emacs.devel Subject: Improve the error report of format Date: Thu, 18 Apr 2024 11:52:34 +0200 Message-ID: <87o7a7f115.fsf@runbox.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34475"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.13; emacs 29.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 18 11:56:43 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rxOVW-0008kw-6V for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Apr 2024 11:56:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxOUo-0006Il-4N; Thu, 18 Apr 2024 05:55:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxOUf-0006GZ-3x for emacs-devel@gnu.org; Thu, 18 Apr 2024 05:55:49 -0400 Original-Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxOUb-0001Gf-WE for emacs-devel@gnu.org; Thu, 18 Apr 2024 05:55:48 -0400 Original-Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rxOUV-002Cpe-PE for emacs-devel@gnu.org; Thu, 18 Apr 2024 11:55:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.eu; s=selector2; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=dqaXlGYk75NvDYzimtDkHtYsSnH8kdL50XZ6qcdp3JI=; b=Jwm7dUX8T+Bfqb23HL5nkkvzD jMUszr02bA8UQec++9WwRHV39fH18PzvI+IFVvdPwo+0mA/nGUoVz4VlHIJ03i/zU6RLHncpKdT5i L0OmXrrTABnL9pNiwHA/l0KWpMxklHmLnDlPtJ8xmhhB8Vc1Eha+gS/jZLgYaeHLKz8ujhSHh9++B C18yNa2gikdGx3sL9EF7kQJhwoWDkeNC1llcvhS5H+ZIDIIIPKVcXbJJtDmKpy2shV55vrrus3yfj ThuLZfts8zFPrRcQmYjBufkLyy+lY22MiWxtSZ8lfF070Ixe0IF2/bgANsoB4/u7EtLzzCSA+gTFi vpED2HJ/g==; Original-Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rxOUV-0003cN-77 for emacs-devel@gnu.org; Thu, 18 Apr 2024 11:55:39 +0200 Original-Received: by submission02.runbox with esmtpsa [Authenticated ID (1196375)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rxOUB-002s11-Nf for emacs-devel@gnu.org; Thu, 18 Apr 2024 11:55:19 +0200 Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=meedstrom@runbox.eu; helo=mailtransmit05.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317808 Archived-At: Background: I am currently trying to find out where an error "Format specifier doesn't match argument type" is coming from. It's a bit of a mystery, so I thought, hey, this could be a lot easier if the error message includes the format string that it is trying to print! That way it would be a simple search across a codebase. TL;DR: can format's error message include the input string? Thanks, Martin