help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: common lisp vs elisp.


From: Hongyi Zhao
Subject: Re: common lisp vs elisp.
Date: Sun, 20 Jun 2021 14:57:49 +0800

On Sun, Jun 20, 2021 at 2:46 PM Joost Kremers <joostkremers@fastmail.fm> wrote:
>
>
> 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.

Such being the case, IELM is the only available REPL env for Elisp,
but I'm not sure if it's full-featured.

HY
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



reply via email to

[Prev in Thread] Current Thread [Next in Thread]