--- Begin Message ---
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).
--- End Message ---
--- Begin Message ---
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@gnu.org
> If you wish to submit further information on this problem, please
> send it to 70702@debbugs.gnu.org.
> Please do not send mail to help-debbugs@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@gnu.org with problems
--
Alan Mackenzie (Nuremberg, Germany).
--- End Message ---