From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#36568: with-suppress-warnings not working in seq-tests.el Date: Wed, 07 Oct 2020 07:18:42 +0200 Message-ID: <87362q8vgt.fsf@gnus.org> References: <87v9halqdq.fsf@gnus.org> <87mu0y4ork.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17366"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 36568@debbugs.gnu.org, Stefan Monnier To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 07 07:19:13 2020 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 1kQ1r7-0004Mk-KE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 07:19:13 +0200 Original-Received: from localhost ([::1]:53662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ1r6-0004Bc-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Oct 2020 01:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQ1qw-0004BR-Vq for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 01:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQ1qw-0004r3-MH for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 01:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQ1qw-0001F3-Ga for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2020 01:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2020 05:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36568 X-GNU-PR-Package: emacs Original-Received: via spool by 36568-submit@debbugs.gnu.org id=B36568.16020479384763 (code B ref 36568); Wed, 07 Oct 2020 05:19:02 +0000 Original-Received: (at 36568) by debbugs.gnu.org; 7 Oct 2020 05:18:58 +0000 Original-Received: from localhost ([127.0.0.1]:54820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ1qr-0001Ej-W6 for submit@debbugs.gnu.org; Wed, 07 Oct 2020 01:18:58 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:40474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQ1qo-0001ET-77 for 36568@debbugs.gnu.org; Wed, 07 Oct 2020 01:18:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qrfKA8aFckd8hgAaalfB/2BI/fC4j1uagkdXrmpH6Tg=; b=kn/vXBktncCUu3YJjJHgZLSlin sPzSVGt7/DcGUEgNQcTaD1z3fKc3he6Qyl5kUbM1PlapwPzzCaiOczD0W4v3Z911FTJe8mQGn1s4i ExToSqa+P+Yz2kuY8dPS4IZ3zzn2oNSHVPGmG3J9D3Xrq426XmdJB6UWWMldU/8iimc4=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQ1qe-0001jJ-BN; Wed, 07 Oct 2020 07:18:47 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEX+/v7z8/PZ09Om mpvAuL2KfYJnWVxENjwtISgmHCP+/f2Gd3j///8lMwXCAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+QK BwUROZxxut8AAAGcSURBVDjL7ZJPS+tAFMVvWnHxVk0rus5UAuImNjX14ca+xrpXKLgTWzIVV2LJ THjLB2aGLuNr5n6R94R+OWeS1n9k4VbwrC7nl3vPGQjAV1TTdmxil2q8Be1Q61eTOA4hzvsdq/H5 +98qtdWv9muHk0q/RaPrSmAF/KrKb0L7pgLUgshz2cl7s2HujKZe62N2UTIYg+U0XgMtgI3i8uUM 3v4lG4N+0PPM5Ha0/+MF1B5YXHYhhNik/vKQOp3Gt7/1dxYh3WYwfVyD7YjxOJkBhPZwMqRstgZH KWNCCA/GpMdjyu/WEYynXEiZdxhlDyFNVk8nbmqAkKiyNs+GTHol8P9zoYGSKBfHSTYQi4PdsG91 wKepAag3JOa9AZ93fd8/9eGQMaWzEQVXmNfDo2xwMeKCge467mkgiqXd8Vl2PkUlBLRFPHniXBSn VGtBFwc/pd6HkF4HwpQyUvspz+w9M4FO8qWgpZ+7iHOyU4DlMopu8jXYxDwmm2aG23+R1ghLdRHv wVUGRAWIVuBvgn8C1P0QloVPV0AlqwGfAduRrz45fIMRAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIw LTEwLTA3VDA1OjE3OjU3KzAwOjAwJzjigQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0xMC0wN1Qw NToxNzo1NyswMDowMFZlWj0AAAAASUVORK5CYII= X-Now-Playing: David Grubbs's _Rickets & Scurvy_: "Kentucky Karaoke" In-Reply-To: <87mu0y4ork.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 07 Oct 2020 06:57:03 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:189979 Archived-At: Lars Ingebrigtsen writes: > Debugger entered--Lisp error: (void-function internal--with-suppressed-warnings) > signal(void-function (internal--with-suppressed-warnings)) > apply(signal (void-function (internal--with-suppressed-warnings))) Ah, this is due to (defvar byte-compile-initial-macro-environment ... (with-suppressed-warnings . ,(lambda (warnings &rest body) ;; We let-bind `byte-compile--suppressed-warnings' here in order ;; to affect warnings emitted during macroexpansion. ;; Later `internal--with-suppressed-warnings' binds it again, this ;; time in order to affect warnings emitted during the ;; compilation itself. (let ((byte-compile--suppressed-warnings (append warnings byte-compile--suppressed-warnings))) ;; This function doesn't exist, but is just a placeholder ;; symbol to hook up with the ;; `byte-hunk-handler'/`byte-defop-compiler-1' machinery. `(internal--with-suppressed-warnings ',warnings ,(macroexpand-all `(progn ,@body) macroexpand-all-environment)))))) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no