bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36068: 27.0.50; Warning: unescaped character literals `?)' detected,


From: npostavs
Subject: bug#36068: 27.0.50; Warning: unescaped character literals `?)' detected, `?\)' expected!
Date: Mon, 03 Jun 2019 09:50:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt)

tags 36068 + confirmed
quit

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Noam Postavsky <npostavs@gmail.com> writes:
>
>> Hmm, is lread--unescaped-character-literals non-nil?  It looks like
>> the variable can only get cleared due to the let-binding in load, so
>> if it somehow got set outside of that, then you would see continual
>> warnings from it.
>
> Yes, its value is (41).

Ah, I think the problem can be triggered any time you `read' an unescaped
literal outside of `load'.  E.g., from emacs -Q:

    M-: (read "?)") RET

or even just

    M-: ?) RET

Now any byte-compilation will report unescaped `?)'.  You can

    (setq lread--unescaped-character-literals nil)

to stop it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]