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#66706: =?UTF-8?Q?[PATCH]=C2=A0Automatic?= elisp dialect insertion Date: Mon, 23 Oct 2023 21:44:39 +0300 Message-ID: <83sf61mb54.fsf@gnu.org> References: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24861"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66706@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 23 20:45:56 2023 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 1quzw2-0006BF-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Oct 2023 20:45:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quzvr-0006Av-0k; Mon, 23 Oct 2023 14:45:43 -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 1quzvh-00069P-5S for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 14:45:39 -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 1quzvg-00061N-Pu for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 14:45:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quzw9-0006eC-RQ for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 14:46: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: Mon, 23 Oct 2023 18:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 66706-submit@debbugs.gnu.org id=B66706.169808671925497 (code B ref 66706); Mon, 23 Oct 2023 18:46:01 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 23 Oct 2023 18:45:19 +0000 Original-Received: from localhost ([127.0.0.1]:51682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quzvT-0006dB-4r for submit@debbugs.gnu.org; Mon, 23 Oct 2023 14:45:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quzvQ-0006cv-8I for 66706@debbugs.gnu.org; Mon, 23 Oct 2023 14:45:17 -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 1quzur-0005ed-LW; Mon, 23 Oct 2023 14:44:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=9krUeeZT8vUdlKf5sZ7r1E+XIp9JkLhyrQPaRZRxcQE=; b=o0YMCkSW04YxXlm59ZDT rGhf5IYZhaqsAAFj1qbfDwl/VGuxh9gHYn+VTUMQsWgaEAleq8JzkUwXeEVrr1Ia3XE4fuZtewX0D SDrWMn1nKML/E+2jGDeMVaBzMqhd+NQ5c54KZ+xgSyKifzQvzAg5/ekSc6H1UtIW981RHrTsPzcUs LZSOqOfvrtXkPL8vBzUU0RNl7e7VU69kKUBNZpHuiqW69mDquLzKXNX7CTigh0HSJV2uqb3qeynjI GS7/n32fpi218k1CwXdomPRD1lZYWdL8dePn3B8ObH32A7Lv9S0hKaABFaP0Z4sD+f1hBgTLgw8Fz STyWfvZEPbEq/A==; In-Reply-To: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Mon, 23 Oct 2023 19:46:14 +0200) 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:273046 Archived-At: > From: Mattias EngdegÄrd > Date: Mon, 23 Oct 2023 19:46:14 +0200 > > This patch inserts the lexical cookie in new Elisp files automatically. > It helps users by making it less likely that they forget to add it, and eliminates some drudgery. > Their code will be more future-safe, and more robust and performant here and now. This could be an optional feature, but not the default. It is un-Emacs'y to insert stuff into user files or buffers without an explicit consent. We have several auto-insert features in Emacs, and they are all optional, so this one must be optional as well. Thanks.