bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49944: parse-partial-sexp fails to signal an error when (> START LIM


From: Alan Mackenzie
Subject: bug#49944: parse-partial-sexp fails to signal an error when (> START LIMIT).
Date: Sat, 21 Aug 2021 14:05:00 +0000

Hello, Lars.

On Sat, Aug 21, 2021 at 15:24:20 +0200, Lars Ingebrigtsen wrote:
> Alan Mackenzie <acm@muc.de> writes:

> > Emacs-28, emacs started with site-start.el and .emacs.

> > On calling

> >     (parse-partial-sexp 19 18 nil nil s)

> > Emacs surely ought to signal an error, since 18 < 19.  It doesn't,
> > though.  It leaves point at a random position and returns

> >     (0 nil nil nil nil nil 0 nil nil nil nil)

> > This is a bug.

> I've now made this change (and the doc string clarification discussed).
> There are no test failures after the change, and I'm not getting any
> errors when running it normally, either.

Thanks!

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

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]