[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36970: 26.2; invalid-read-syntax could print the location of the err
From: |
Lars Ingebrigtsen |
Subject: |
bug#36970: 26.2; invalid-read-syntax could print the location of the error |
Date: |
Sun, 31 Jan 2021 11:15:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> 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