From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#26486: 25.1.91; unused var warning from cconv.el can't be suppressed Date: Tue, 06 Jul 2021 20:53:52 +0100 Message-ID: <875yxn43sf.fsf@tcd.ie> References: <87mtr0x025.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="15473"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Noam Postavsky , John Williams , Stefan Monnier , 26486@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 06 21:55:09 2021 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 1m0r9x-0003r9-IB for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jul 2021 21:55:09 +0200 Original-Received: from localhost ([::1]:44370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0r9w-00086f-Iw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Jul 2021 15:55:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0r9q-00086W-4I for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 15:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0r9p-0006sU-TG for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 15:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0r9p-0007TY-Qe for bug-gnu-emacs@gnu.org; Tue, 06 Jul 2021 15:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jul 2021 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch confirmed moreinfo Original-Received: via spool by 26486-submit@debbugs.gnu.org id=B26486.162560124328664 (code B ref 26486); Tue, 06 Jul 2021 19:55:01 +0000 Original-Received: (at 26486) by debbugs.gnu.org; 6 Jul 2021 19:54:03 +0000 Original-Received: from localhost ([127.0.0.1]:50263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0r8t-0007SG-BX for submit@debbugs.gnu.org; Tue, 06 Jul 2021 15:54:03 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:55123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0r8q-0007Rk-D4 for 26486@debbugs.gnu.org; Tue, 06 Jul 2021 15:54:01 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id l1so296271wme.4 for <26486@debbugs.gnu.org>; Tue, 06 Jul 2021 12:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wYINz0/+zGy8TbpfiQCQ5LCmwJ2Fw/SHMKLlSf1WO7w=; b=fooiwOlnf8U+r2s/Bdxcmxwp71fsGuxV4yFwK00H2GeRqMjtgR7UQs6K/aVH7QyMNG S0rUl31aglODoh/f7mEKkaArlkHT5BTgoI/qRbEC9p+Ikhd2qPqWdSnL/Y4mEJ/oZDRA d+ljpsDz0cGYs5etG1k8m1WdRgq0+vrui8E18XHG0yzmrQkPSMn4WFKvMJikH8Rjleh1 co7Z9VvCxAPc6UgVbBnLpjQoJMRcpSc2BfC3ySoOOtiBYB+qestb4u8ejzqqor4i7zQb O7vllBf8vcO7rTYGk4lMr30HqHyWI/L3QuhHh6PsjjXCpEsdCjfXrJzWK/GS61ZOYDn4 pA4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wYINz0/+zGy8TbpfiQCQ5LCmwJ2Fw/SHMKLlSf1WO7w=; b=PvT6OhYCxRcImWaOrLAI/L4LvTBjf1tOnjYSGJ1IUIB4a1fhqH43rPV9LMGiAvjvSa TUGARmc2XJCdczQuA9Y/SJKol325BUmB0toCbRtImRoIl5CSMpUFaw6izbBYa9TyZP7t uChKhtgyFcUFUi4ZJZM1HpU/IEN7/mO5uOcJi6Q1Bv5/dw1S2bD+GHCeObezJ62/DXnK pAntggO69Obei0ROLFV4z1FS7/a0rIFUF+wMe+oTmJNPgryypbT8gUAQ/LKQl72uGTK0 OlbON9YzpyoFevCacWtJe3jqLo3T3iE7QFEXCSVjMZpKu3y7iz7ZtcrpkEjRnjkqKKCx P0QA== X-Gm-Message-State: AOAM533NqFnr8GMWxgnR2pjvY7CtVVJ1+Mh9cAAbNq4x8Tcfki4XlRo/ z6e/1zHtYA1JlA416FB7EJyC7w== X-Google-Smtp-Source: ABdhPJxpZwdtQQYMXn4onlTJetUICt8lEzLmRXdpOFGrPwcO4HWxnzCLcVKzI/Tl2HZQPAhzBBwk2A== X-Received: by 2002:a7b:cb53:: with SMTP id v19mr21874603wmj.127.1625601234211; Tue, 06 Jul 2021 12:53:54 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id a22sm15756728wrc.66.2021.07.06.12.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 12:53:53 -0700 (PDT) In-Reply-To: <87mtr0x025.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Mon, 05 Jul 2021 17:17:06 +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:209571 Archived-At: Lars Ingebrigtsen writes: > Noam Postavsky writes: > >> This happens also without a macro. >> >> ;; -*- lexical-binding: t; byte-compile-warnings: nil -*- >> (with-no-warnings (let (unused))) > > This currently gives a warning about both an unused variable and an > empty let body. > > The following seemingly straightforward patch fixes both these things, > I'd appreciate it if somebody had a look over it first, though. :-) > (So Stefan M added to the CCs.) I suspect this patch causes the following: $ cat foo.el ;;; foo.el --- foo -*- lexical-binding: t -*- (let ()) ;;; foo.el ends here $ emacs -Q -script foo.el Eager macro-expansion failure: (void-function byte-compile-warning-enabled-p) Thanks, -- Basil