Subject: Re: bug#49944: parse-partial-sexp fails to signal an error when (> START LIMIT).

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 09 Aug 2021 14:42:21 +0200

Alan Mackenzie <[email-masked]> writes:

> parse-partial-sexp doesn't work on a region.  It works with a starting
> position and ending position, which are not interchangeable.

Well...  they are interchangeable now, as they are in many functions in
Emacs.

> It's obvious to me that Emacs should throw an error in these
> circumstances.  You seem to be disagreeing, or at least to be unsure.

Making this signal an error wouldn't be backwards-compatible, so I think
that's a no go.

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