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

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

bug#47677: [PATCH] condition-case success continuation


From: Richard Stallman
Subject: bug#47677: [PATCH] condition-case success continuation
Date: Fri, 16 Apr 2021 01:13:33 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > It's unfortunate that elisp has two incompatible variants,
  > throw/catch and signal/condition-case, of essentially the same
  > control structure.

It's not unfortunate, it's normal.  Other Lisp dialects have them
both, too.  There is a good reason for this: errors can invoke the
debugger.

Emacs Lisp is not Scheme.  Does continuation-passing style work
usably in Emacs Lisp now?  I don't know for certain, but I would
be very surprised.

If not, let's keep things simple by not trying to define
constructs for that.  That simplicity is very important.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







reply via email to

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