[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47677: [PATCH] condition-case success continuation
From: |
Mattias Engdegård |
Subject: |
bug#47677: [PATCH] condition-case success continuation |
Date: |
Thu, 15 Apr 2021 15:54:27 +0200 |
14 apr. 2021 kl. 11.29 skrev Lars Ingebrigtsen <larsi@gnus.org>:
> Yeah, I think extending `catch' here would be less than optimal, but I
> don't really have any suggestions here -- I use `throw/catch' so little
> that I have no gut feeling about what I see as being useful.
It's unfortunate that elisp has two incompatible variants, throw/catch and
signal/condition-case, of essentially the same control structure. In practice
throw/catch tends to be used more for non-error situations, but that's just a
matter of style -- the underlying mechanisms are basically the same.
In any case the patch apparently wasn't bad enough to be rejected outright so
it's boldly been pushed to master. If the general opinion is that :no-error (or
something else) would be a better name than :success, I'll make the change in a
blink.
I didn't do any serious search for places where the new construct would be
profitably employed but there are bound to be a few. Have a look at
`load-completions-from-file`, for example.
- bug#47677: [PATCH] condition-case success continuation, Mattias Engdegård, 2021/04/09
- bug#47677: [PATCH] condition-case success continuation, Stefan Monnier, 2021/04/10
- bug#47677: [PATCH] condition-case success continuation, Mattias Engdegård, 2021/04/11
- bug#47677: [PATCH] condition-case success continuation, Lars Ingebrigtsen, 2021/04/12
- bug#47677: [PATCH] condition-case success continuation, Stefan Monnier, 2021/04/12
- bug#47677: [PATCH] condition-case success continuation, Mattias Engdegård, 2021/04/12
- bug#47677: [PATCH] condition-case success continuation, Lars Ingebrigtsen, 2021/04/13
- bug#47677: [PATCH] condition-case success continuation, Mattias Engdegård, 2021/04/13
- bug#47677: [PATCH] condition-case success continuation, Lars Ingebrigtsen, 2021/04/14
- bug#47677: [PATCH] condition-case success continuation,
Mattias Engdegård <=
- bug#47677: [PATCH] condition-case success continuation, Richard Stallman, 2021/04/16
- bug#47677: [PATCH] condition-case success continuation, Richard Stallman, 2021/04/16
- bug#47677: [PATCH] condition-case success continuation, Stefan Kangas, 2021/04/21
- bug#47677: [PATCH] condition-case success continuation, Mattias Engdegård, 2021/04/22
- bug#47677: [PATCH] condition-case success continuation, Richard Stallman, 2021/04/23
- bug#47677: [PATCH] condition-case success continuation, Mattias Engdegård, 2021/04/24
- bug#47677: [PATCH] condition-case success continuation, Richard Stallman, 2021/04/25
- bug#47677: [PATCH] condition-case success continuation, Eli Zaretskii, 2021/04/25
- bug#47677: [External] : bug#47677: [PATCH] condition-case success continuation, Drew Adams, 2021/04/25
- bug#47677: [External] : bug#47677: [PATCH] condition-case success continuation, Eli Zaretskii, 2021/04/25