GNU bug report logs - #30726
[26.0.91 9] optimistic forward-sexp

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Tue, 6 Mar 2018 07:18:01 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 30726 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: Glenn Morris <rgm <at> gnu.org>, 30726 <at> debbugs.gnu.org
Subject: Re: bug#30726: [26.0.91 9] optimistic forward-sexp
Date: Thu, 12 Aug 2021 16:20:16 +0200
Andreas Röhler <andreas.roehler <at> easy-emacs.de> 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




This bug report was last modified 3 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.