Subject: bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively

From: Mattias Engdegård <[email-masked]>
Date: Mon, 21 Sep 2020 19:12:46 +0200

21 sep. 2020 kl. 14.36 skrev Dmitry Gutov <[email-masked]>:

>> Other editors have structural movement commands although they may or may not behave identically.
> 
> Do they try to preserve the pairing of parentheses (or similar structures)? What do they say if the user tries to delete a closing delimiter without deleting the opening one?

Structural editing has long history and there is great variety, all from rigid syntax-enforcing editors to plain text editors with some assisting electricity on top; it's impossible to generalise.

> "We don't move point because of XXX" might be useful info, might it not?

So one might think, but there's an opportunity cost. If the user understands what's going on (from context, behaviour etc) without a textual message, then that message is of negative value. In other words, the user would be better off without it.