[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: |
Sun, 20 Sep 2020 19:33:25 +0200 |
19 sep. 2020 kl. 16.13 skrev Lars Ingebrigtsen <larsi@gnus.org>:
> The movement commands Emacs has here are more complicated than most
> editors have, though. Saying why `C-M-f' can't move seems like useful
> information for the user to receive.
Well, but is that true? There is no evidence for it. Emacs currently gives no
useful information in such situations and never has ('scan-error' indeed). The
previously posted patch can only improve matters.
Of course we can put in messages for the at-bounds cases; it would look
something like the patch below. While it would still be an improvement over
what Emacs currently does, it is still a statement that we value tradition over
usability. Try both!
Another alternative would be the standard Emacs compromise: add a defcustom.
Since it could control the message emission by other movement commands like
backward-char and next-line, it's perhaps not a bad idea after all...
It wouldn't need to do anything about movement by word or sentence since they
already seem to be fixed, good!
move-by-sexp--user-error.patch
Description: Binary data
- 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/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 <=
- bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively, Lars Ingebrigtsen, 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, Lars Ingebrigtsen, 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, 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