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: Sat, 30 Mar 2024 11:07:00 +0000 Message-ID: <87msqg2d2j.fsf@posteo.net> References: <878r21jmu2.fsf@posteo.net> <86a5mgdx5i.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="21467"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70068@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 30 12:08:28 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 1rqWZY-0005K6-E3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Mar 2024 12:08:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqWZA-0004wC-No; Sat, 30 Mar 2024 07: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 1rqWZ7-0004vI-VU for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 07:08:02 -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 1rqWZ7-0007oM-0N for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 07:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqWZ8-0006OL-Nt for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Mar 2024 11:08: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.171179683624442 (code B ref 70068); Sat, 30 Mar 2024 11:08:02 +0000 Original-Received: (at 70068) by debbugs.gnu.org; 30 Mar 2024 11:07:16 +0000 Original-Received: from localhost ([127.0.0.1]:44069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqWYN-0006M9-W2 for submit@debbugs.gnu.org; Sat, 30 Mar 2024 07:07:16 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:51679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqWYH-0006L8-Qb for 70068@debbugs.gnu.org; Sat, 30 Mar 2024 07:07:11 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E887B240101 for <70068@debbugs.gnu.org>; Sat, 30 Mar 2024 12:07:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711796821; bh=Um3RYJtmKdwM9jhwcHyb6FwYk3VUH9ySlWtqutKIMQs=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=enKZSfFeOshw5DArpqPszDYmSbUFbEafZOYtFRMxbScHTQ6mu21QO9inTOv2F60ut YPzhADA9qcTC/a1tkmTkIMRV3N8cpVnUVKxep1qz78QmS1XAGV8zb6J4aCG6kgHr7S RPf5FEeiE6bmS+tuA/4g9L6HW/Q0tQfsuEfp7m7uNhAp652TiIKOaQwk4v5Fku1jGZ Dqp/miicYGZom6ajOWr3u04oRqowjhVREYshe/1hu+Rlas3cx+hv5selqBUoORDMRX DmUqV2dQzLF6E3pCdS54SBxNwD7CK5R5QAWpYrNJZgwfKLYAfrn9gaBwnCxqkgonDs wDr7+P9Jzff4Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V6Dxd1fL3z6twZ; Sat, 30 Mar 2024 12:07:00 +0100 (CET) In-Reply-To: <86a5mgdx5i.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Mar 2024 09:57:45 +0300") 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:282348 Archived-At: Eli Zaretskii writes: >> From: Philip Kaludercic >> Date: Fri, 29 Mar 2024 11:31:49 +0000 >> >> The main intention here is to avoid underlining the first line in the >> *scratch* buffer when flymake is enabled: > > If this is the goal, why such a general change? Wouldn't it be better > to special-case *scratch* in Flymake instead? Making such > generalizations runs the risk of unintended consequences. 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? -- Philip Kaludercic on peregrine