From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#71379: 29.3; Elisp compiler: warnings for formats given insufficiently many arguments Date: Thu, 6 Jun 2024 10:49:07 +0200 Message-ID: <03B10D9E-2A0A-4E18-B706-730BB2189CED@gmail.com> References: <4BAD9800-BCDA-42FD-B1AC-9E6C69B62B12@gmail.com> <861q5bjn6e.fsf@gnu.org> <4C5F14A4-EE39-4DDE-9E25-C311F2DA8BC7@gmail.com> <86sexqit2a.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71379-done@debbugs.gnu.org, philippe schnoebelen To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 06 10:51:21 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sF8q9-0005x2-Ef for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jun 2024 10:51:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sF8pd-0006L2-NW; Thu, 06 Jun 2024 04:50:49 -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 1sF8pb-0006KN-Pa for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 04:50:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sF8pb-0007GJ-HM for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 04:50:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sF8pp-00084n-Qe for bug-gnu-emacs@gnu.org; Thu, 06 Jun 2024 04:51:01 -0400 Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jun 2024 08:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71379 X-GNU-PR-Package: emacs Mail-Followup-To: 71379@debbugs.gnu.org, mattias.engdegard@gmail.com, phs@lmf.cnrs.fr Original-Received: via spool by 71379-done@debbugs.gnu.org id=D71379.171766383231000 (code D ref 71379); Thu, 06 Jun 2024 08:51:01 +0000 Original-Received: (at 71379-done) by debbugs.gnu.org; 6 Jun 2024 08:50:32 +0000 Original-Received: from localhost ([127.0.0.1]:52263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sF8pM-00083v-9x for submit@debbugs.gnu.org; Thu, 06 Jun 2024 04:50:32 -0400 Original-Received: from mail-lf1-f52.google.com ([209.85.167.52]:49436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sF8pK-00083a-10 for 71379-done@debbugs.gnu.org; Thu, 06 Jun 2024 04:50:31 -0400 Original-Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-52b840cfecdso816390e87.3 for <71379-done@debbugs.gnu.org>; Thu, 06 Jun 2024 01:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717663749; x=1718268549; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=8ime/ih0Ev9LpJSgWk94RVwXamb/YVm7OvOqYGmEUpw=; b=OrWgDBDKZu75zBrfXGKrr8nu09gMhpZ2Mpzrq9ig+GHtIRlUNodLFeNTubOKuPDs59 VJy7RO3KHNvxiw0lVCoElVD91mCf/orGdQxppdD7wawhmRKn54pPDs2ENZ+eR8ZpXhEi muHHSy9pFDDdYhw9/wvPuz2/C9dAm9U4dxX2gACZ32jjlqiwk5ejiBB153JXIwVKcxIu eAdRDCRv0+L7DkMbqZfalTgkG5ibnrHGDlBjmeXGNtjlI3lyOSNLgvXrh38v71PD+XTI ralSOgR1gdxPyBohyExEKZQnVoN9pPG7Yd+95QvlW3VFY+eKnqqefi+K1ci+fR98rrPq OQuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717663749; x=1718268549; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8ime/ih0Ev9LpJSgWk94RVwXamb/YVm7OvOqYGmEUpw=; b=aY2qRmZwWBtoOtkuOMBKGeupEzGAdVrj+UO58449CpMfkt8HDaFJGdbbgMCYZpI1Rc BeiETOcmSpxAwxT/44xTEUGUrBJKrtBYyDZfjhv6yyG7sccFqmdWJ5GXJaZCLnExDr9e YcCmWksBe3DIWNfYyojJP9Dzw0P0utvCe7ShY/1wSEeRnjsNOwOKlcss4i0S+bptzpw+ 1YjfqheubnLSMHfkXWj295hcEU7bwid3zLMbFElTC9bWJXClRXqwpNc5lDAq1JC2hb6p LZoCQ9fsgMgNAzSYElFkoxCFcLVxRSScITdVW9epaPsNXJVqSytXJRp/JBL3i4Mq3q16 DN/Q== X-Forwarded-Encrypted: i=1; AJvYcCWkJidz4DMD3F7vQnv20j7SZX64CfZZsGgTwRgGP5htz8LpF4WSwI1jPimMGCM5cpG6KTFtz5lHtOFHQJXdxqqs7JprpURK3Jcpfw== X-Gm-Message-State: AOJu0Yz1cJ0w+X4yqLUUFntMt1wz4FaJVoXgX1Yk3xcKfZEwSsfac2Lp vK1eBHAoepxIVgINJ/HXT0UUIajYLtg1BzoP3fwkrzgAcvIuGBpP X-Google-Smtp-Source: AGHT+IGoKRnRGAAdKOp/RQDzkAzALqs4lTbBHrNL4vqFRemt+h+R0pd6JwmWTADEhxs7j+gqDZ0Jtw== X-Received: by 2002:a2e:8303:0:b0:2e9:4a5b:b6c2 with SMTP id 38308e7fff4ca-2eac7a95369mr28967121fa.41.1717663749281; Thu, 06 Jun 2024 01:49:09 -0700 (PDT) Original-Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se. [80.217.1.132]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ead41bfd29sm1240901fa.116.2024.06.06.01.49.08 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2024 01:49:08 -0700 (PDT) In-Reply-To: <86sexqit2a.fsf@gnu.org> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286670 Archived-At: 6 juni 2024 kl. 06.38 skrev Eli Zaretskii : > On second thought, this is still fine to go in now, but I wonder > whether we should move these to the places where the corresponding > functions are defined, and leave in bytecomp.c only those which are > primitives defined in C? That would mean 'warn' and 'user-error' > should be moved to their respective Lisp files. Indeed it's a question I always ask myself every so often, and sometimes = we distribute properties to definitions.=20 However, in this case it seems better to keep them in one place: it's = only a small handful of functions, and this way the properties are kept = local to the byte-compiler. Thank you, the change is now on master. Closing.