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: [PATCH] Automatic elisp dialect insertion Date: Thu, 26 Oct 2023 10:09:42 +0300 Message-ID: <83r0lhhnbd.fsf@gnu.org> References: <17C83052-7946-45DE-B660-DA7EB82001B0@gmail.com> <83sf61mb54.fsf@gnu.org> <98CD592C-0E82-4795-8168-2B5E597FF7A7@gmail.com> <8334xzlvy9.fsf@gnu.org> <87pm131pq6.fsf@yahoo.com> <83o7gmkiyn.fsf@gnu.org> <438d1186-3759-4462-06d8-b41c69134eda@gutov.dev> <878r7q25zh.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14429"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66706@debbugs.gnu.org, mattias.engdegard@gmail.com, luangruo@yahoo.com, dmitry@gutov.dev, monnier@iro.umontreal.ca, stefankangas@gmail.com To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 26 09:10:53 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 1qvuW5-0003YH-8e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Oct 2023 09:10:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvuVm-0007Ox-W5; Thu, 26 Oct 2023 03:10:35 -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 1qvuVk-0007O0-Bl for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 03:10:32 -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 1qvuVj-0001x7-Ur for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 03:10:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvuWE-0000rm-7W for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2023 03:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2023 07:11: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.16983042173268 (code B ref 66706); Thu, 26 Oct 2023 07:11:02 +0000 Original-Received: (at 66706) by debbugs.gnu.org; 26 Oct 2023 07:10:17 +0000 Original-Received: from localhost ([127.0.0.1]:60500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvuVU-0000qc-OD for submit@debbugs.gnu.org; Thu, 26 Oct 2023 03:10:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvuVQ-0000qF-Qp for 66706@debbugs.gnu.org; Thu, 26 Oct 2023 03:10:15 -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 1qvuUp-0001Yw-RZ; Thu, 26 Oct 2023 03:09:35 -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=25MXtX+BsLF2xN+a9n/WODyOybcdLRTehPAgcJ+YM7w=; b=gpwsr9ObKWOr EqaEdqdWdMZ3O0/2W+NDu4r3kqwxAYx/RNku9hke4sE2TeNkVMl/Nu2khnGKynaU6g9+6gnFEjWNx 6/IVTLiZz+t6wy72jy5Aj5USd8zlS4d48kjKFY5ECzTv8DwfZjleVnHgvZyObu6lRgNcr8h6tVKkr w9T4j3QMQnUEf60bi1mQ9Tp54/4+nQAPiQySHoPI6qXPNSfU5B9j1Mwgud7UV8q9di3mE2//D1lph 9LimNtGYMugVgZYrZpDmw1GffHdA6HPwKZ2LWhi6T7+Yc7p0cz+sBjIIDeP999cbxd7J/ahXNF0rA QQKsmTpEE5IzkfBsEGQzow==; In-Reply-To: (message from Jim Porter on Wed, 25 Oct 2023 20:48:04 -0700) 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:273247 Archived-At: > Date: Wed, 25 Oct 2023 20:48:04 -0700 > From: Jim Porter > Cc: 66706@debbugs.gnu.org, mattias.engdegard@gmail.com, > Po Lu , Dmitry Gutov , > stefankangas@gmail.com, Eli Zaretskii > > On 10/25/2023 6:19 PM, Jim Porter wrote: > > I'll start with a patch here then. I think this is also a prime spot to > > add an example or two that would actually show lexical binding in action > > (i.e. a sample where the code would do something different under dynamic > > binding). > > Here's a first attempt. I'm not sure I'm entirely happy with it (the > digression into setting 'lexical-binding' to 't' is a bit disruptive), > but hopefully it's an improvement. Of course, we can keep adjusting this > further as needed. Thanks. The challenge in updating the Lisp Introduction manual is to try to keep its informal and reader-friendly style as much as possible. It is not just another ELisp Reference manual! So please try to keep that in mind when you write the text, and in particular try not to modify the existing text that is still accurate -- it was written by a master, and each word there counts, even if it looks at first sight as not important.