GNU bug report logs - #79192
json parsing error position reform

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Date: Thu, 7 Aug 2025 15:21:01 UTC

Severity: normal

Done: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Full log


View this message in rfc822 format

From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 79192 <at> debbugs.gnu.org
Subject: bug#79192: json parsing error position reform
Date: Thu, 7 Aug 2025 17:43:26 +0200
7 aug. 2025 kl. 17.36 skrev Eli Zaretskii <eliz <at> gnu.org>:

> If we have the position, can we have the cake and eat it, too?  Would
> it be possible to call some function in the case of an error that
> would calculate the line and column from the position, and include
> that in the error data?  That way, the performance will suffer only
> when there is an error to report.

It would be completely useless busy-work in practice. Even if disabled by default, it's programming work done for something that makes nobody happy. Let's put our effort where it counts instead.





This bug report was last modified today.

Previous Next


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