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.devel Subject: Re: Commands, term "closure" and online help Date: Mon, 15 Apr 2024 19:17:46 +0300 Message-ID: <86v84ik3bp.fsf@gnu.org> References: <861q76llng.fsf@gnu.org> <86y19ek6hx.fsf@gnu.org> <26141.19574.948512.394768@retriever.mtv.corp.google.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="12965"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, raman@google.com, emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 15 18:18:46 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rwP2c-00036x-RK for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Apr 2024 18:18:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwP1l-0000Ob-77; Mon, 15 Apr 2024 12:17:53 -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 1rwP1j-0000N2-TN for emacs-devel@gnu.org; Mon, 15 Apr 2024 12:17:51 -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 1rwP1h-0008U4-3K; Mon, 15 Apr 2024 12:17:49 -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=YIpS3femwYiSiaVxOTyKOVLkDbFVD8hfA4ZL+miVa1k=; b=Hybf31Nr/SRBWB3G3XpM Tlo3GZExxm14Du/2zacR2eFd7+Pewynxur3VALQrok5WdLtU6BUgjuHcD2r5U3vkgP1TY0nD4+lf5 00MbHp60aWdipTggNxiu9cj12QV7ft+nkKQWBagfISsAvuD8gUcNW5t72Hik32dD7aasaC7Ys+eZn +WnCok0Gu4SrGZPzryhKZlXsNaiuvhDi8uqUVYFxLo4WiEtyVQuNlbN50h7X5PkFmxpCN3/b/+olr 8RlX+PiOowiPxE9sOX77tdTJKjcRHlEEwQGfbeFhQNTJuq8eYluKh0/INqcFiGyUY57vbWTfkYECq Vrs2/BlgVaxDXg==; In-Reply-To: <26141.19574.948512.394768@retriever.mtv.corp.google.com> (raman@google.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317741 Archived-At: > From: "T.V Raman" > Date: Mon, 15 Apr 2024 08:49:10 -0700 > Cc: monnier@iro.umontreal.ca, > raman@google.com, > emacs-devel@gnu.org > > I dont have native compile turned on. > > I slightly mispoke earlier, non-interactive functions appear to be > described as closure, not sure if that is always the case. I don't see that, either, at least not with a random function I tried: file-truename is a compiled-function in ‘files.el’. This is in a build without native compilation. > emacspeak is called a compiled function, however if you eval the > function with C-x C-e while developing it gets called a compiled > closure. Ah, now you are talking! Indeed, functions defined with C-x C-e are described as closures. What would you like to see instead? interpreted-function, perhaps?