[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eshell lisp errors
From: |
Emanuel Berg |
Subject: |
Re: eshell lisp errors |
Date: |
Wed, 25 Sep 2024 21:19:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Christopher Howard wrote:
> That is fine, I suppose, but I was wondering: In eshell, is
> there some way to do something with the exception, rather
> than just report it, or trap it in the debugger? Some hook,
> maybe...? It would be neat, e.g., if I could examine the
> error, then decide if I wanted to continue on with the rest
> of the script, or abort.
But then won't people start to loose respect for errors? ;)
When you say "in eshell", you mean something else than
in Elisp
(condition-case nil
(funcall next)
(error (goto-char end)))
?
--
underground experts united
https://dataswamp.org/~incal
- eshell lisp errors, Christopher Howard, 2024/09/25
- Re: eshell lisp errors,
Emanuel Berg <=