Subject: Re: bug#36970: 26.2; invalid-read-syntax could print the location of the error

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 31 Jan 2021 11:15:32 +0100

Lars Ingebrigtsen <[email-masked]> writes:

> Should the line/column numbers be based on what Fcount_lines return, or
> should they be the actual line number of the buffer?  That is, taking
> selective display etc into consideration or not? 

I think perhaps not?  Getting better error reporting here is mostly
useful when doing batch compilation etc.  If we're just saying (read
(current-buffer)), then point will be left at the offending character,
so we don't really need the info?  But we do need the info when doing
that from a byte-compile-file or the like...

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