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: Sun, 09 Jun 2019 18:31:19 +0200 Message-ID: References: <83zhn6zkgf.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="156012"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , Noam Postavsky , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 09 18:32:27 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ha0k6-000eJa-Ns for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 18:32:26 +0200 Original-Received: from localhost ([::1]:37010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha0k5-0001c5-OE for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 12:32:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52424) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha0jf-0001b3-LR for emacs-devel@gnu.org; Sun, 09 Jun 2019 12:32:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha0jd-0004DC-L2 for emacs-devel@gnu.org; Sun, 09 Jun 2019 12:31:58 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:40280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ha0jZ-0003uP-0B; Sun, 09 Jun 2019 12:31:54 -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 1ha0j1-0004lD-LF; Sun, 09 Jun 2019 18:31:22 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEVBPj+Qjo8cGhvk4+Rd W1wEEOLaAAACbElEQVQ4jVVUi5XjIAyUWQpAgQKwzgWExQVIRP3XdCPbu/eOOHkvmugzMyJEax3W tXNtzDNt2k2S7JXykj2J7zwnnpVTrgCs0raWLbH+qYhP2pQrkThTFeHVc7cAhuxv5tykN9JXVj9I ckXCmezFNfMyprcs0SNJvwEt2aR7ZSqyuqmmbqiEKZZ06VtttMRJ89oVLd6kW+oJ024EoJgWOZzr PMnZ26ukowm9+iJvObPzHGRK3ExRLoCuG5sexsMRrXNYkgAkvUWkp4z297kBBFPZIQ15veMDocjI 2gkqSHYLZAy7AelWnDpmzl7HnOW7pAtImNGqq6OWMXPqlAMoRAYnXDOy3K2JSnmAT8OIroRX3kZa PYai7+7IB1K8ZN80xALQ6U05kFEHx2mb08UKADrWMcKmUWczRzMMRKfxxBbwQ7oym3vKmYpxPX84 34fdsxHauPmTwHx/og86EfOHR0QasuflcA+NZJxmLaSNMJ7hQRDvNqjRJfq4VAyGCboqxmj+0wat g0WioI0wQLAEQWNdaSnBYtBzhYHYA8wId1d/odQMoTwcULkM+vBqMdVEPtYN7eQ+B9NGAUxeEuq1 nVuBNa+eQmDiSGmefHU3ze4FvwlgxIUZNXYsTqcPuioW7qJ1nphHDzBQgWeMOejSesBz6f2riezz 6ip0qTaqE7X01dL1faRfIJSGPXzr3uQpFYimf3rx/0Bq4f5vxteDwLTtic8Wzcdj9wm6/JS6NvHa j8Hh2vEk3NfgAkBkh7z+586IO0PjGvE8Nmh1sYsewQNG8SgM1p7liIWss6IubVntHSapZBWKP4h3 Ra2/KpGfrnT/8xAAAAAASUVORK5CYII= In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 09 Jun 2019 17:40:04 +0200") 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.23 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:237353 Archived-At: Uhm. All the other things work great here, but if I modify display-completion-list to add a with-suppressed-warnings (whether it has an effect or not; in the example below it's suppressing a warning that won't be output), I get a severe compilation error. diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index ed610c16ee..f3182d31c0 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -1738,7 +1738,8 @@ display-completion-list (with-temp-buffer (let ((standard-output (current-buffer)) (completion-setup-hook nil)) - (display-completion-list completions common-substring)) + (with-suppressed-warnings ((interactive-only display-completion-list)) + (display-completion-list completions common-substring))) (princ (buffer-string))) (with-current-buffer standard-output Here's the error: make[1]: Entering directory '/home/larsi/src/emacs/with-suppressed-warnings/lisp' ELC minibuffer.elc In display-completion-list: minibuffer.el:1742:14:Warning: display-completion-list called with 2 arguments, but accepts only 1 minibuffer.el:1750:10:Error: Compiler bug: depth conflict at tag 3 Makefile:296: recipe for target 'minibuffer.elc' failed make[1]: *** [minibuffer.elc] Error 1 make[1]: Leaving directory '/home/larsi/src/emacs/with-suppressed-warnings/lisp' Makefile:319: recipe for target 'compile-main' failed make: *** [compile-main] Error 2 Uhm... anybody want to hazard a guess at why it fails or where I should poke around to see what I've messed up? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no