From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build Date: Fri, 17 May 2019 12:05:32 +0200 Message-ID: References: <831s0xd3z1.fsf@gnu.org> <83pnohbhny.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="147724"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 17 12:12:09 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hRZqS-000cHs-LO for ged-emacs-devel@m.gmane.org; Fri, 17 May 2019 12:12:08 +0200 Original-Received: from localhost ([127.0.0.1]:45641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRZqR-0008C1-G8 for ged-emacs-devel@m.gmane.org; Fri, 17 May 2019 06:12:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRZmV-0005kz-LB for emacs-devel@gnu.org; Fri, 17 May 2019 06:08:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRZkA-0001bH-UM for emacs-devel@gnu.org; Fri, 17 May 2019 06:05:39 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:60676) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRZkA-0001aZ-N1; Fri, 17 May 2019 06:05:38 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hRZk4-0001ch-HO; Fri, 17 May 2019 12:05:35 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXr4cx2Ty7gzqnKsW/6 9ukUCAS1mkLHqkO/o0WriUXw6NQGAACldq9pAAACR0lEQVQ4jX3Tv2/aQBQH8AsgETxxIFd1J/eM SGCyfUmI6RIlN7E50lVCmdrBCWsr9bJWSI67BaxIdbugFCmSNw8Mlf+53p1/AZH6XcB87r3jns6g dctEgiBgee4Djwe0Hth+pAgYx2AryDDwuee/BgBq6DjgcMvMQRjiLEhGP/Qz+J0mH9LkUypCqQuX 9aCAv4sC0s0Ufq6AQlpA6m7BBkI1mdEsecVAgAuh5c5gFm1RwhPfUYNR3irZAdqx1NegUpW6NN2U cFhWyBN0TwtoFpAdLTxQb3JgOdxkKy2zrm7SBHL4JmAsKzauPVc1HUM+khyGGWhz/JR2kQfh8oXd V5BOsREt3Gh+sA8fsWM+G0w/rWDBl1v0EXTJmjxbco8S3k1q68maxC0oplBBgtZE5EpMUb0uW7mh 2SBkQogFI3s4aUu44/AG62sJEHZ4nV5AZCNFtjIobGyDZhuOzn+4eE/bwodVBXBsnVwgx22QxhZo Zj3ESCe1H9eE9MhlCaoG3SVa1eL+yR64mtiT8HbkUkCzAjQyDYRXCrniS3698LE7EmD0c8QMhlH8 R1nH4xx6WIuiL0eMfWW4ZuggHjczaIQRdmx0BBeM8Qs/VMzmvS+B8lvSqQ0gZN+7oY30R3F9BIiR Tu0BXIystx3+frQzeGjw18bRwvNIw5EmvrePfU8CyTKJeZR4BZS+twMiwnLwdkDICvS9GYfgfzDZ blVCT+5apYC7oXhQKgA5eEP5EK8EAqBIEP/Km+Pt2PzoZxzOvCp++Rn4/wDs8pW0CUFOUgAAAABJ RU5ErkJggg== In-Reply-To: <83pnohbhny.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 May 2019 11:37:37 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236641 Archived-At: Eli Zaretskii writes: > I thought about something even more focused, like > > (declare 'warning-about-arguments-mismatch 'off) > > inside the function's body. Would that switch off warnings about all argument mismatching in the function's body? Because that sounds a bit drastic, too, since you would want to have warnings about all other function calls with argument mismatches... (declare 'warning-about-arguments-mismatch 'display-completion-list 'off) perhaps? But there's other things you may want to disable warnings about that perhaps won't be that easy to express, so `with-no-warnings' seems more focused and convenient... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no