Subject: Re: bug#30726: [26.0.91 9] optimistic forward-sexp

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 12 Aug 2021 16:20:16 +0200

Andreas Röhler <[email-masked]> writes:

>> Note that the OP meant you to run that as shell code to generate a
>> file,
>> "out", and then visit it.
>> You appear to have discovered that using forward-sexp inside eg
>> (
>> )
>> will print "containing expression ends prematurely" ?
>> 
>
> Right. Which it shouldn't IMO, but navigate sexp's until EOB is reached.

It has to -- we rely on it signalling an error for various commands to
work.  In these cases, the user may want to go up in the list and then
do a forward-sexp, though.

But I don't think there's any bug here, so I'm closing this bug report.

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