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

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 18 Sep 2020 15:42:45 +0200

Dmitry Gutov <[email-masked]> writes:

>>>   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.
>> Yes, those error messages are confusing in interactive usage.
>
> They might be kinda helpful for interactive debugging, though?

They don't seem like user-level error messages (as you'd expect from a
command like `C-M-f'), and if you're debugging, you're probably calling
`M-: (forward-sexp 1)' or something?  (In which case you get these error
messages still with the patch in question.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no