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#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode Date: Wed, 3 Apr 2024 11:35:50 +0200 Message-ID: <2FB192D4-40E7-4327-BC0E-62674C2C1A03@gmail.com> References: <878r21jmu2.fsf@posteo.net> 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="24207"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Stefan Monnier , 70068@debbugs.gnu.org To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 03 11:37:34 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 1rrx3m-00067w-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Apr 2024 11:37:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrx3E-0001Av-Q4; Wed, 03 Apr 2024 05:37:00 -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 1rrx3C-00017O-VD for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 05:36:58 -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 1rrx3C-0006WM-N8 for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 05:36:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrx3G-00041i-Ue for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 05:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <878r21jmu2.fsf@posteo.net> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2024 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70068-submit@debbugs.gnu.org id=B70068.171213696415194 (code B ref 70068); Wed, 03 Apr 2024 09:37:02 +0000 Original-Received: (at 70068) by debbugs.gnu.org; 3 Apr 2024 09:36:04 +0000 Original-Received: from localhost ([127.0.0.1]:57082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrx2K-0003wz-EI for submit@debbugs.gnu.org; Wed, 03 Apr 2024 05:36:04 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:47269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrx2I-0003w6-LI for 70068@debbugs.gnu.org; Wed, 03 Apr 2024 05:36:03 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-516c116f480so8447e87.2 for <70068@debbugs.gnu.org>; Wed, 03 Apr 2024 02:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712136952; x=1712741752; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=UsbwLx5MX42KRtvn0paUR7LDe0a5wvrdXZfynTVFJ3A=; b=M9+nlPZPk0r8B1ymgEpKLCjSpUBgi4eTmPYaTDNmUVgb9CslWKZQXZoVKwip/OUUrE yRAAEzSi45FBI/Y6amezppeEQtYuucZtBsuxj1tUjsggchbtYPxMUKEdVSw5rZcKkrwt 9JpeUvy55i9cFGH/usvuijZll6/IiddaxlaDzkdBXuMceVLngX1DyBlyq8X4Bd8bsgf+ AA7kv2aI1exAVtBMhB0q17DB22bkdpGA7yXMaRUIGxa+9U/eYS/6eEGAGmMrzP5/ZPtE 7LJ5/DVPWjixJswS/rdrN6N1+xqXmmmIKNQzkXVv486dZ1BdXqoDsFVYLWx26Hxrl0pa JNHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712136952; x=1712741752; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UsbwLx5MX42KRtvn0paUR7LDe0a5wvrdXZfynTVFJ3A=; b=l+xIvMfO/rMLP/i+dY3IB2ZKAKrFaxFhCQ0QtEpCBUu5xMUYUt1FWUFhPhEJ3eRkST IPFxytFc/vrsNT6NXokly6pG+XnRfjG9bph579D0/i0/jWxNkZ+XTG1M5n5G9nucAC7u UpHXzkemcbCORp+dDqR+Qcf+/JuvYL/ARskGYvEYWTEPhgSmJbHbQaskzoEZ8wiwz4+8 6Yz5THqsP+lGmdOytnfBUE/rTcWm/sZAtVi+6zyonilVwDz3kMBu3dKKT3+Dp5bkVX3a h3vdtjVmDb30YZKq3lFNpKtAG+iF37h/bT9j6+Y2GHXA1ChEBHqugZ08qnEvr0QruGcx 2C2w== X-Forwarded-Encrypted: i=1; AJvYcCVAsl8VSGyaidPBXN2vDgfg7lzL66NAVN9LPD7QOGchpvz3txX9V6wriwJPTqnlqXHXor1MxgHf4ew5CcxC3xCjij8Krq8= X-Gm-Message-State: AOJu0Yxxdpz9tGTI6JqbohlD4voU22qmBgpFbwt3nJQy/6SQw1kLRJfd VW0zQ9vkQq1jOOVtOznn9QZ01i4Zqi8wB/SUbbXY84+JIDbIf8b4 X-Google-Smtp-Source: AGHT+IFxmnEU+MNqljq74geLQ7JJ114Xz1PG6iEmw1q89MKe6F8MXxOOT6MZbAqYcGW/+MmBds7ukg== X-Received: by 2002:ac2:4c05:0:b0:516:a517:f26d with SMTP id t5-20020ac24c05000000b00516a517f26dmr1307487lfq.9.1712136952071; Wed, 03 Apr 2024 02:35:52 -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 i28-20020a198c5c000000b00513d51042f8sm2011698lfj.137.2024.04.03.02.35.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2024 02:35:51 -0700 (PDT) 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:282566 Archived-At: > - (unless (local-variable-p 'lexical-binding) > + (unless (or (local-variable-p 'lexical-binding) > + (null lexical-binding)) That logic doesn't make sense to me, and it clearly doesn't work so I = reverted it. (For some reason the test didn't catch it, but it's now been made more = robust.)