GNU bug report logs - #36970
26.2; invalid-read-syntax could print the location of the error

Previous Next

Package: emacs;

Reported by: ndame <emacsuser <at> freemail.hu>

Date: Thu, 8 Aug 2019 08:29:01 UTC

Severity: wishlist

Tags: fixed

Found in version 26.2

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: ndame <emacsuser <at> freemail.hu>
Cc: 36970 <at> debbugs.gnu.org
Subject: Re: bug#36970: 26.2; invalid-read-syntax could print the location
 of the error
Date: Sun, 31 Jan 2021 11:15:32 +0100
Lars Ingebrigtsen <larsi <at> 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




This bug report was last modified 4 years and 107 days ago.

Previous Next


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