From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode Date: Wed, 03 Apr 2024 08:52:54 +0000 Message-ID: <87jzle4yl5.fsf@posteo.net> References: <878r21jmu2.fsf@posteo.net> <86a5mgdx5i.fsf@gnu.org> <87msqg2d2j.fsf@posteo.net> <86r0frdgmx.fsf@gnu.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="17470"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 70068-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 03 10:54:30 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 1rrwO5-0004L8-Si for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Apr 2024 10:54:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrwNd-0000ne-Fz; Wed, 03 Apr 2024 04:54:01 -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 1rrwNb-0000mX-8F for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 04:53:59 -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 1rrwNa-000343-WD for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 04:53:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrwNf-0000J6-0m for bug-gnu-emacs@gnu.org; Wed, 03 Apr 2024 04:54:03 -0400 Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Apr 2024 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 70068@debbugs.gnu.org, philipk@posteo.net, philipk@posteo.net Original-Received: via spool by 70068-done@debbugs.gnu.org id=D70068.1712134389956 (code D ref 70068); Wed, 03 Apr 2024 08:54:02 +0000 Original-Received: (at 70068-done) by debbugs.gnu.org; 3 Apr 2024 08:53:09 +0000 Original-Received: from localhost ([127.0.0.1]:57007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrwMn-0000FD-1B for submit@debbugs.gnu.org; Wed, 03 Apr 2024 04:53:09 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:50885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrwMk-0000ED-NU for 70068-done@debbugs.gnu.org; Wed, 03 Apr 2024 04:53:07 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 825AC240028 for <70068-done@debbugs.gnu.org>; Wed, 3 Apr 2024 10:52:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712134376; bh=pIlKCi3EyqgUnsbfGWmEHlymE8DQnEndOdTO2rm1BSQ=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=cZ375YnQIuI3UUfnqu6mdjzfqqpE4MqnhGEZashHP1f4k/QmF92pjgQQpb9oNGKs6 y//UhjPUUUZpjnHZMnKU1ytaJ/dRXgrHm/iAkAaxFWhet0KiJgD1moIw14KXN6Lbru 3OBajWtWoeb3jM71NjxzCoc8DCXiThts0gLnqEduC+fTmq7aRtKELjmCnvKoMcA3o8 u8M4NDexdO86aaj8v08WME5EfalzChUHf8fXbWqY/jIfbq/T20K0kuSNBaFgxl7uLi kcbSFm6ORJR9roi/ERk0lNzbBD4UPEyi0rvlShg1W5ihr0ihUMsxXfcTHUgnvwy/xD QXAfxHDEo1dUQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V8dn25JKVz9rxM; Wed, 3 Apr 2024 10:52:54 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Mon, 01 Apr 2024 01:27:27 -0400") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt 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:282565 Archived-At: Stefan Monnier writes: >>> My thinking was that one never needs to set the variable anyway, since >>> `lisp-interaction-mode' sets `lexical-binding' anyway. Alternatively, >>> one could also modify the patch to check if `lexical-binding' is non-nil? >> >> The latter possibility would be better, I think. Stefan, WDYT? > > Testing `lexical-binding` sounds good: the purpose is to encourage people > to activate `lexical-binding`, rather than encourage them to add a magic cookie. OK, I have modified by patch and pushed it to master (0197db7b). > > Stefan > -- Philip Kaludercic on peregrine