[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: |
Mattias Engdegård |
Subject: |
bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively |
Date: |
Fri, 18 Sep 2020 13:31:16 +0200 |
When moving by sexp (C-M-f, C-M-u and so on) and point is already at a boundary
preventing further movement, Emacs currently signals an internal error such as
Scan error: "Containing expression ends prematurely", 5010, 5010
or
Scan error: "Unbalanced parentheses", 5010, 1
which is unhelpful and rather looks as if something went wrong in the internal
machinery.
The attached patch does away with this error when the commands are invoked
interactively; programmatic use of the functions will get the scan-error just
like before. There didn't seem to be much point in replacing the errors with
new messages so the current version of the patch doesn't.
0001-Don-t-signal-scan-error-when-moving-by-sexp-interact.patch
Description: Binary data
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively,
Mattias Engdegård <=
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 2020/09/18
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/18
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 2020/09/18
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/18
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 2020/09/19
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Mattias Engdegård, 2020/09/20
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 2020/09/20