GNU bug report logs - #70702
Useless error message from the reader: Error: invalid-read-syntax ("#")

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Wed, 1 May 2024 19:31:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

To reply to this bug, email your comments to 70702 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#70702; Package emacs. (Wed, 01 May 2024 19:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 01 May 2024 19:31:02 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Useless error message from the reader: Error: invalid-read-syntax
 ("#")
Date: Wed, 1 May 2024 19:29:54 +0000
Hello, Emacs.

Recently, in my development version, I got the "error message":

    Error: invalid-read-syntax ("#")

while attempting to build Emacs.

This is an utterly useless error message:
(i) "#" is valid syntax in a .el or .elc file.  Only a subsequent
  character causes the invalidity.  The precise character sequence is not
  disclosed.
(ii) The source of the invalid character sequence, a file or buffer or
  string is kept secret.
(iii) The offset of the erring position in the file/buffer/string is not
  disclosed.  Neither is a line number or column number.
(iv) No context is given (e.g. the 32 characters before and after the
  "#").

This unhelpful message is a bug: a correct message would give at least
some of the information listed above.

The appearance, which surely must be false, is that the person
implementing the error messages was not attempting to help those affected
by them.

Come on, Emacs - we can do better than this.

-- 
Alan Mackenzie (Nuremberg, Germany).




Reply sent to Alan Mackenzie <acm <at> muc.de>:
You have taken responsibility. (Mon, 06 May 2024 20:20:01 GMT) Full text and rfc822 format available.

Notification sent to Alan Mackenzie <acm <at> muc.de>:
bug acknowledged by developer. (Mon, 06 May 2024 20:20:01 GMT) Full text and rfc822 format available.

Message #10 received at 70702-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: 70702-done <at> debbugs.gnu.org
Cc: acm <at> muc.de
Subject: Re: bug#70702: Useless error message from the reader: Error:
 invalid-read-syntax ("#")
Date: Mon, 6 May 2024 20:19:21 +0000
The bug has been fixed in master.

On Wed, May 01, 2024 at 19:31:02 +0000, GNU bug Tracking System wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.

> This is an automatically generated reply to let you know your message
> has been received.

> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.

> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs <at> gnu.org

> If you wish to submit further information on this problem, please
> send it to 70702 <at> debbugs.gnu.org.

> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.

> -- 
> 70702: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70702
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 10 days ago.

Previous Next


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