emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal for a new mechanism for delayed stuff


From: Stephen J. Turnbull
Subject: Re: Proposal for a new mechanism for delayed stuff
Date: Thu, 27 Dec 2012 13:08:04 +0900

Ted Zlatanov writes:

 > You could use 'finally?

In Python, "finally" has a different meaning, basically the same as
`unwind-protect' in Emacs.  Python usage is merely suggestive, but I
think that's more intuitive for "finally".

"break" seems to be the obvious choice of inline syntactic keyword.
Since this is Lisp, I guess its semantics would need to be extended to
"break and return value".

Alternatively, Emacs could adopt the Scheme call/cc convention and
have an "exit function", which if called would exit the
with-timeout-forms form and return the argument of the exit function.




reply via email to

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