From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70068: [PATCH] Don't warn about lexical binding in lisp-interaction-mode Date: Sat, 30 Mar 2024 15:54:30 +0300 Message-ID: <86r0frdgmx.fsf@gnu.org> References: <878r21jmu2.fsf@posteo.net> <86a5mgdx5i.fsf@gnu.org> <87msqg2d2j.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19334"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 Sat Mar 30 13:55:18 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 1rqYEw-0004qY-Qu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Mar 2024 13:55:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqYEk-0007Hd-Jk; Sat, 30 Mar 2024 08:55:06 -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 1rqYEe-0007H7-NM for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 08:55: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 1rqYEd-0003Oi-VX for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 08:54:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqYEf-0006Ty-RX for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2024 08:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Mar 2024 12:55:01 +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.171180328224846 (code B ref 70068); Sat, 30 Mar 2024 12:55:01 +0000 Original-Received: (at 70068) by debbugs.gnu.org; 30 Mar 2024 12:54:42 +0000 Original-Received: from localhost ([127.0.0.1]:44183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqYEM-0006Sg-DL for submit@debbugs.gnu.org; Sat, 30 Mar 2024 08:54:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqYEK-0006ST-Nb for 70068@debbugs.gnu.org; Sat, 30 Mar 2024 08:54:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqYED-0003NI-9F; Sat, 30 Mar 2024 08:54:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eWrdfvTl9vBR9ebWtryMX3mJ+NSKwdt0JTK6tIlo+Cw=; b=K1DxXowvRRBc ILBgMxTcBclITBa0oUJMMk2eN5cfHJdvQsIIqJLVnP8Mf6I0awTLdKQyPZ5AVO0qlp/wWNzW+7txO I3ekwPwFzsP5nC60CqwlH9OUexs7xVq9//bGZYmGfG8UcblkhIYFmMjJ+soc3yYvWOSfh0Qvi7cj0 pHD9u5i203EdtMnBBD3yAMD/kJvyBnDborBkktuN9Otw38sdfdumblDeiDLeVTUhlAcFsd0ZD9XLM 3Bo1jqouTYlyCBCPsykbWxmV1QMSReV7Fri6+j36xqsC3oBt/7R7yAAxkUkVC6I8z2tmTnWcgkaxe Fb3qR3hP/eG2bG60muh+Gg==; In-Reply-To: <87msqg2d2j.fsf@posteo.net> (message from Philip Kaludercic on Sat, 30 Mar 2024 11:07:00 +0000) 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:282359 Archived-At: > From: Philip Kaludercic > Cc: 70068@debbugs.gnu.org > Date: Sat, 30 Mar 2024 11:07:00 +0000 > > 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? The latter possibility would be better, I think. Stefan, WDYT?