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#66706: =?UTF-8?Q?[PATCH]=C2=A0Automatic?= elisp dialect insertion Date: Mon, 23 Oct 2023 14:21:53 -0400 Message-ID: References: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> 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="34215"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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:24:48 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 1quzbc-0008cr-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Oct 2023 20:24:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quzbQ-0005TO-83; Mon, 23 Oct 2023 14:24:36 -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 1quzbO-0005SU-0R for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 14:24:34 -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 1quzbN-0001fG-Nu for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 14:24:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1quzbq-00066p-DV for bug-gnu-emacs@gnu.org; Mon, 23 Oct 2023 14:25: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, 23 Oct 2023 18:25:02 +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.169808548123448 (code B ref 66706); Mon, 23 Oct 2023 18:25:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 23 Oct 2023 18:24:41 +0000 Original-Received: from localhost ([127.0.0.1]:51643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quzbV-000668-2S for submit@debbugs.gnu.org; Mon, 23 Oct 2023 14:24:41 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:9894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quzbP-00065n-LB for 66706@debbugs.gnu.org; Mon, 23 Oct 2023 14:24:40 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 26B9E442B3B; Mon, 23 Oct 2023 14:24:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1698085438; bh=f3Mo3fI6e3EE4pdxlgljO/rVGMKVwGoHJH3RbSPxDUw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XnZPE862Y+jv5HTYgOTDrmf3b9jIHcI6qVA3BopXSSECminmdSyCFHsKPVOm+OQdE n4dp9Khkii11QU1mWMPt9ajFZeMYEBEm1hKMaRBBvu6+JbLRvw82DgZaQQkTDZzavw FchVoIyAKcoETpCoBi5NZpp5OTBFYZDIVgZmrzsxjclVSdyEaTCpcOaJMUaP0fRzEs DYVrQF3yHvl8LYZnljM6bzlruSr6a/WvIG/JpB3o5xMf2BZznf8+5AuEvhGj8cKnQc YKahK8kaoQq+cDIyQzyaXFfAFpnn9krZ+dcmgAwFF11jth2qy12UfKMjyCP2zwVvvq KZ8TWxy+Gclig== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BA1B3442B3D; Mon, 23 Oct 2023 14:23:58 -0400 (EDT) Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A43281202C3; Mon, 23 Oct 2023 14:23:58 -0400 (EDT) In-Reply-To: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "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:273040 Archived-At: > 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. Yes, please, > Their code will be more future-safe, and more robust and performant here and now. I wouldn't make any claim about "performant": there are important cases where we execute lexically scoped code more efficiently, but there are also cases (hopefully less important) where the reverse is true. Stefan