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 21:07:19 +0200 Message-ID: <6246FE18-7962-40F0-807F-1ABE8F9D2A25@gmail.com> References: <2FB192D4-40E7-4327-BC0E-62674C2C1A03@gmail.com> <8734s2cnv7.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="40326"; 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 21:08:23 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 1rs5yB-000AGh-CW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Apr 2024 21:08:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rs5xs-0006as-6f; Wed, 03 Apr 2024 15:08:04 -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 1rs5xp-0006ag-DN for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 15:08:01 -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 1rs5xo-0005ye-6t for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 15:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rs5xr-0001e5-2U for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 15:08:03 -0400 X-Loop: help-debbugs@gnu.org 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 19:08:03 +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.17121712576214 (code B ref 70068); Wed, 03 Apr 2024 19:08:03 +0000 Original-Received: (at 70068) by debbugs.gnu.org; 3 Apr 2024 19:07:37 +0000 Original-Received: from localhost ([127.0.0.1]:59640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs5xQ-0001c9-Vp for submit@debbugs.gnu.org; Wed, 03 Apr 2024 15:07:37 -0400 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:51394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs5xM-0001bF-BJ for 70068@debbugs.gnu.org; Wed, 03 Apr 2024 15:07:36 -0400 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-513e25afabaso271482e87.2 for <70068@debbugs.gnu.org>; Wed, 03 Apr 2024 12:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712171242; x=1712776042; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=jJRX2qvnLPhuA9N1PySquj8jhuVlxprfZAQFJV6n9SI=; b=JnBc5FvvIG7vmbEKeDfG8DlcsB1Beh+AXYm1DbIJSbzarFcVRNRIgkVu2yr1gufUq3 UItQKr1HjVtcA3C2fvMrWPShlb2VgXsCJIrPPYf1cFmrApx2xtb2bkJ5TsXE/1hPdx3B /89E41mBjZG24cdzbINWiTwxL8NYu9uQNTwaLxSx1rQML4IccSMTtNOhmechPuqUebKs V+nbeRcGL/xvnxWLMyiMBkX9tjbvZsDhVZE0tevoJPAxKGxnu1NzuDbRprgQw/vJPTjt Yy9Xh3DsqbWihL6yFYVupNmR3FiGFyZLn8F+ZxJp2DB82JjiJfgYiZW1p5ZcMcsPesnp JIAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712171242; x=1712776042; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jJRX2qvnLPhuA9N1PySquj8jhuVlxprfZAQFJV6n9SI=; b=Ib7ufJqsrBPaq2F2ueI6jatVaxOCZPPg8PP2N+/K/3956nPOoJTB7Rkk5exzU8QrEa WNo1x0dtB/wpOi1As08I6V7spHGV72eSllIKYy6EJOc4OfYs0pSkuLdidfbZHbTqODqc HPfQ7TTH5yuJznQ1KPmBdEKNxc+9fvgS084z6r8Z5JlxKUbuZkWNTzNFi7Cf7FepZj1s P1M7wQWuHMd5D9qknkdTvFEWMj06qrAnL9QdHoJUi+9Vvm9QeDJbfSNt65SjquYsNIUB pO5KlHVJ2cpt0Gh2/AJyRenRM+gPNKEUrp+wN99DCRGlBLeGjlPfxlhupMagRblgdQlr 6pIg== X-Forwarded-Encrypted: i=1; AJvYcCUggNY645mYFSkRI+gSzdo4swlkVFp1XDbZhujm7CBvRvfJrC4MpMa/fENs0Apq1H9/yL3dsUDOwaIDt7LdK0824skXNgs= X-Gm-Message-State: AOJu0Yx4j2hCg9XhcJ0rtGCi7CATmtS4QTv6FK5gSSSm5WFU/qVDVXwB 0tY3dVV4y6hSGcQdp7sDoZUME2OheaGdGAVy8CUab66gZw6DvySw X-Google-Smtp-Source: AGHT+IEUdmN0UleSF5QL69T7zQerVbPhqgr/uzMVtE0hkuKfGeF0nO+6L53VV43xS+J0DKRu7Fxt1w== X-Received: by 2002:a05:6512:361a:b0:514:cbee:a261 with SMTP id f26-20020a056512361a00b00514cbeea261mr270397lfs.27.1712171241452; Wed, 03 Apr 2024 12:07:21 -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 cf11-20020a056512280b00b00515c82be232sm2062167lfb.92.2024.04.03.12.07.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Apr 2024 12:07:20 -0700 (PDT) In-Reply-To: <8734s2cnv7.fsf@posteo.net> 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:282591 Archived-At: 3 apr. 2024 kl. 20.17 skrev Philip Kaludercic : > You are right, I made a mistake; What I want to say is this: > - (unless (local-variable-p 'lexical-binding) > + (when (or (not (local-variable-p 'lexical-binding)) > + (null lexical-binding)) Are you sure that you didn't mean (unless (or (local-variable-p 'lexical-binding) lexical-binding) a.k.a. (when (and (not (local-variable-p 'lexical-binding) (not lexical-binding)) which may or may not make more sense? But how would either of these = work, given that flymake runs a byte-compilation in a spawned Emacs and, = as far as I can tell, propagates neither the buffer mode nor the = lexical-binding value to that process?