From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Closures in Emacs and their usage scenarios. Date: Tue, 28 Sep 2021 16:13:55 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2663"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eduardo Ochs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 28 10:16:17 2021 Return-path: Envelope-to: geh-help-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 1mV8Hh-0000YO-Kd for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 10:16:17 +0200 Original-Received: from localhost ([::1]:50188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV8Hg-0006Au-K3 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 04:16:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV8Fd-0004hr-G4 for help-gnu-emacs@gnu.org; Tue, 28 Sep 2021 04:14:09 -0400 Original-Received: from mail-vs1-xe33.google.com ([2607:f8b0:4864:20::e33]:38690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV8Fb-0005I7-Uj for help-gnu-emacs@gnu.org; Tue, 28 Sep 2021 04:14:09 -0400 Original-Received: by mail-vs1-xe33.google.com with SMTP id y141so21155881vsy.5 for ; Tue, 28 Sep 2021 01:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TU0K4aoeqiD/GfYSnQ14L/02x9sOfObnFKKyHwNbhk0=; b=FBiHiNx+esGApavN29+FF6GHhU0i/F7PmUXdI0u3zbo0oexfk01feq9k+t13OBSonR 0E1T2ejrNlUPNePq5Gwgs7BOkkYuRqLOzdE4aKcfrm8ZK6fuZIMz3R/pyS1krUGil54Q TP/NYwp+hwGLgUX39sjj6e2wEV92WtgU6It+hjNTv/x8A6kbYTfGOWU3PvipBngslBJF wQWy8W6jqVAYNF3oCOm9Y4wj/NE9dq/Y0P6jMAipIcATKFEWr3jP4C8lzYxg9bWD8qYV 0JVLEPFxtqkGp+Idi6hlM7gia+GPEGuGsl0XtKhWu3BCgauhyS7R7Ei7hp5A3of9xv1B gOig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TU0K4aoeqiD/GfYSnQ14L/02x9sOfObnFKKyHwNbhk0=; b=kCdo7EeymIgMdxjtPoYrRCOo4xaY6T80H1SFDS4eVt7uLgNRR27aUoud2UNhhh2ged Y+Tgylz0bxOMUWblF/rPT1//c0vT6alhQuBNZPfs1HRPB71KHGrSFd8EMb35ZbzYrN6/ oMOrZGG2nqlG2BJJ2HDTcyVaUSUVCwnwEY1Jjb5Ig7vX+/LA2v4kIluB2zONa8Vevpge IRp/pydYQjfxkprx2d8c9TC4bR4FZf+KN5FVKDKmF2WTcer+hnf58pzwqfin+NDt7Bz+ EOwsQufb9Cz9149RNDNCLfCFMLWIu8jbeeIpd51NUiKEArpWgQs8ZX+HVBM6zEgyMQo7 BHPw== X-Gm-Message-State: AOAM532RruBYFTXDB0JwH9xdL5Z1lua0+kIB4xeCsjhBV0VaN0Jz9HNV OtcAf+BKBi6zWRW9tVnJzvj2bFK5LROKT6fFjzs= X-Google-Smtp-Source: ABdhPJzCSG65OnY4bKDk6i0Mkgpr5rh7Gz4ScdlO717ILMUxYfN9Zqdoir/VF6R6LyLYa6q75MWlvJQmGoixk3jo9+c= X-Received: by 2002:a05:6102:1357:: with SMTP id j23mr3778286vsl.25.1632816846923; Tue, 28 Sep 2021 01:14:06 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e33; envelope-from=hongyi.zhao@gmail.com; helo=mail-vs1-xe33.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133332 Archived-At: On Tue, Sep 28, 2021 at 3:11 PM Eduardo Ochs wrote: > > Hi Hongyi, > > There are some snippets and links here: > > http://angg.twu.net/eev-intros/find-lexical-intro.html > > If your brain is wired like mine is then you will find the examples > there - especially the ones in section 3 - great for getting a clear > mental image of what closures are and how they are implemented in > Emacs. You will need eev to run the examples. Thank you so much for letting me know about your wonderful and interesting project. I installed it by straight with its use-package integration feature enabled [1]: (use-package eev :straight (:host github :repo "edrx/eev")) [1] https://github.com/raxod502/straight.el#integration-with-use-package > Cheers, > Eduardo Ochs > http://angg.twu.net/#eev Best, HZ