From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode Date: Mon, 01 Apr 2024 01:27:27 -0400 Message-ID: References: <878r21jmu2.fsf@posteo.net> <86a5mgdx5i.fsf@gnu.org> <87msqg2d2j.fsf@posteo.net> <86r0frdgmx.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic , 70068@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 01 07:28:15 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 1rrADO-0009fD-Vi for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Apr 2024 07:28:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rrADB-00069c-Rv; Mon, 01 Apr 2024 01:28: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 1rrADA-00069N-7F for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2024 01:28:00 -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 1rrAD9-0006ur-Sz for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2024 01:27:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rrADC-0008Cz-Hf for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2024 01:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Apr 2024 05:28: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.171194926231493 (code B ref 70068); Mon, 01 Apr 2024 05:28:02 +0000 Original-Received: (at 70068) by debbugs.gnu.org; 1 Apr 2024 05:27:42 +0000 Original-Received: from localhost ([127.0.0.1]:49297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrACr-0008Bs-NY for submit@debbugs.gnu.org; Mon, 01 Apr 2024 01:27:42 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:14252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rrACo-0008Bd-Vi for 70068@debbugs.gnu.org; Mon, 01 Apr 2024 01:27:40 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 112AE44097B; Mon, 1 Apr 2024 01:27:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1711949248; bh=6LjWeh7HAAPuJI8cbDfN4mFLFoN03MW2btB0n8INyxg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GJq0ntaRiZ+6Jh0gmy2VraJ+RTC61d9UdUopRch9WRjax6sZcr83KxUakzpV3vg8f 2UT3Jd0BkDlptsq0CZoyMXzw2ymXB41YXznxJcwmyQTiHtIrVsiTuTvVsGehTuhndp LfLKM7PGZ6mAjNbxh8bICk5naO4Lvw5d2nmmSdtwao9bkJlGhCqv8HjfpwQ1p2g1op 5wD6gfF18uDI4D0Aq/hdX4JKjK3uqH5BdJQSpheiL7cSlaKoIEqAhH71ErJBWHIgma tYSmg8WkRyGtDxp3TUZmzY2bNGguffmBUN+KlqPw+YTmC8QyYijV3P0jnGsygWhwyK RiBkpxA4J7t6A== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E6434440777; Mon, 1 Apr 2024 01:27:28 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BB076120283; Mon, 1 Apr 2024 01:27:28 -0400 (EDT) In-Reply-To: <86r0frdgmx.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Mar 2024 15:54:30 +0300") 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:282453 Archived-At: >> 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. Stefan