[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43489: [PATCH] Don't signal scan-error when moving by sexp interacti
From: |
Stefan Monnier |
Subject: |
bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively |
Date: |
Thu, 24 Sep 2020 13:32:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I disagree Mattias. I think swallowing errors is bad, generally.
Agreed, BUT the reason Matthias did it this way is that the error we get
currently from `scan-sexp` can't be turned into a good error message
without knowing that it was triggered during `forward-sexp`.
I think the right way to fix it is indeed not to catch&reraise the
error, but instead to:
A) improve the way errors are printed.
B) change scan-sexp so its errors can be used to generate a good error
message without having to know whether it occurred while running
forward-sexp or up-list.
I hoped this case would be a good opportunity to do (A), but sadly this
needs (B) to happen first and this one seemed less straightforward.
Help very welcome on this one.
Stefan
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, (continued)
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/21
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 2020/09/22
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/23
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 2020/09/23
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/23
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, João Távora, 2020/09/23
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/23
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, João Távora, 2020/09/23
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/24
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, João Távora, 2020/09/24
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively,
Stefan Monnier <=
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, João Távora, 2020/09/24
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Stefan Monnier, 2020/09/28
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Dmitry Gutov, 2020/09/20
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/21
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Dmitry Gutov, 2020/09/21
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/21
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Dmitry Gutov, 2020/09/21
bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, João Távora, 2020/09/21