GNU bug report logs -
#70702
Useless error message from the reader: Error: invalid-read-syntax ("#")
Previous Next
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>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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).
This bug report was last modified 1 year and 70 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.