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

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

Re: Lambdas for beginners broken - help, please


From: Michael Heerdegen
Subject: Re: Lambdas for beginners broken - help, please
Date: Wed, 24 Jul 2024 15:12:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eduardo Ochs <eduardoochs@gmail.com> writes:

> What do I need to read to learn how to adapt my code to the new
> behavior of Emacs?

I don't think you need to read anything, since you have already
understood everything you need to know.

I think I remember your libraries a bit.

Unfortunately you will have to change your code so that it does not call
lists as functions any more.

And - unless you redefine `backquote' - something like

  `(my-cool-new-lambda ...)

with whatever tricky definition of `my-cool-new-lambda' will always
return a list and thus be not `funcall'able.

So if you need to construct lambda expressions using backquote - AFAIR
that's what your code does - it's unavoidable to add some wrapper that
`eval's the constructed lambda expression, like `eval', before you have
a valid function value.


Michael.




reply via email to

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