From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: common lisp vs elisp. Date: Sun, 20 Jun 2021 08:36:50 +0200 Message-ID: <87tult2fvq.fsf@fastmail.fm> References: <87bl81kz3b.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34291"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.12; emacs 27.2.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 20 08:46:23 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 1lurDq-0008ki-7T for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 08:46:22 +0200 Original-Received: from localhost ([::1]:54848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lurDo-0005So-IH for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 02:46:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lurDP-0005SR-HM for help-gnu-emacs@gnu.org; Sun, 20 Jun 2021 02:45:55 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:49885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lurDL-0006qJ-UI for help-gnu-emacs@gnu.org; Sun, 20 Jun 2021 02:45:55 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id F0F5F109B for ; Sun, 20 Jun 2021 02:45:49 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 20 Jun 2021 02:45:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:date:in-reply-to:message-id :mime-version:content-type; s=fm3; bh=BYj4AfYUHFEjBCpxyXqOIrzZhB SZKAt9odgyNEIytVs=; b=IP/IEBOOsQazwd1y72OF1niVtE94fUnmFBTBTAmJo3 gQ1LyOc9AYnU/Y7s/LOwjB9nc+KAv5SBPsQLy5H73CUKH2FPNTcgM6921X8lqZIf 7hGTANGAj1+ZUSw8JSQLMpr2Vwcmff+pUNZTqgKr9RwfiKaH9LOK2U4znFEewhbn gGKwo/xvgpAEyTOoZsPspXMz/MtpIpW7z/UD+vFMXbl4AknEICSI3MC4KNmMA7O7 J4kzMzZBAv7B1jNcvpUjo5HJ6G7Diqfjg96lIqQIkyMVsEmAdtVSTn/Sp99JAsOr wopFSJiXpblVZBv5YeFMdMgAt8tVAMMmgLOwzI8LJa9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BYj4Af YUHFEjBCpxyXqOIrzZhBSZKAt9odgyNEIytVs=; b=LO6DzGRhkFLj1H9Sd+1pAm 86nn0+wcSH/ydtrzD6STljKZB8u5ewXMYk+2asRUmWUCZpLBU93s0VRJAEVaoZHK b50QdJkiu89nLq0pwOfiE0gPY//6/OOJCkdCK7p8mdGbFRrcKTuxXouQO8OSIFmF JbN/rlnJ8RQeumURU8lTbXLt2XCoyMcDSbAwX8DUcP2O16YZLt58DUbt5wJ7gzcC xjIEZ/DO8E+Wpo0ZL/OAXyaJB0WHcODWnzwVBkBy4rydjghRp7j4K+sz/aMGvB02 auWy65o1VU6wN/PfQgQE4yCXf0AMRE2F46l5yuIYU9jY6qgiud0aIuU6k/NsgTCg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeefiedgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgv mhgvrhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeevieelledtje ethfekveeikeekvefhtdffueevvedttefhtedutdejtdefvdejvdenucffohhmrghinhep ghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 20 Jun 2021 02:45:48 -0400 (EDT) In-reply-to: Received-SPF: pass client-ip=64.147.123.21; envelope-from=joostkremers@fastmail.fm; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:131075 Archived-At: On Sun, Jun 20 2021, Hongyi Zhao wrote: > Basically, this means that I can replace ielm with slime > (https://github.com/slime/slime) for more comprehensive and advanced > functionality. Well, that very much depends on what you want to do with it. First, Elisp and Common Lisp look a lot alike, but they are not identical, nor is Elisp a proper subset of Common Lisp. Second, IELM interacts with your Emacs session. If you set a variable or define a function in it, the variable or function is available throughout Emacs. SLIME interacts with a Common Lisp subprocess and whatever you do there has no effect on Emacs. So you can't define a function in SLIME and then call it from somewhere else in Emacs, nor can that function access Emacs' state. -- Joost Kremers Life has its moments