From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#36068: 27.0.50; Warning: unescaped character literals `?)' detected, `?\)' expected! Date: Mon, 03 Jun 2019 19:18:05 +0200 Message-ID: <87y32ih9ki.fsf@igel.home> References: <87pnnvtnx8.fsf@web.de> <871s0a6fgg.fsf@gmail.com> <8736kqu7uy.fsf@web.de> <8536kqdbgo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="59725"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: Michael Heerdegen , 36068@debbugs.gnu.org To: npostavs@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 19:35:54 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXqsE-000FPn-0I for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2019 19:35:54 +0200 Original-Received: from localhost ([127.0.0.1]:38635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXqs9-0001wp-TX for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2019 13:35:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXqbv-0004yb-OR for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 13:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXqbu-0000la-QZ for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 13:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXqbu-0000lJ-Ld for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 13:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hXqbu-0006Tj-F1 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2019 13:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2019 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 36068-submit@debbugs.gnu.org id=B36068.155958228924843 (code B ref 36068); Mon, 03 Jun 2019 17:19:02 +0000 Original-Received: (at 36068) by debbugs.gnu.org; 3 Jun 2019 17:18:09 +0000 Original-Received: from localhost ([127.0.0.1]:42979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXqb3-0006Sc-FY for submit@debbugs.gnu.org; Mon, 03 Jun 2019 13:18:09 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:47052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXqb2-0006SU-2D for 36068@debbugs.gnu.org; Mon, 03 Jun 2019 13:18:08 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45Hhb25zPQz1rCWv; Mon, 3 Jun 2019 19:18:06 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45Hhb24LmMz1qqkV; Mon, 3 Jun 2019 19:18:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id hsu2ctW7ypOi; Mon, 3 Jun 2019 19:18:05 +0200 (CEST) X-Auth-Info: 90rVLXRaBv2nMOEp/WIY+frXOrd4iqJYEw0eMM6+O/5SuuEMT7lLdnP4fbsbjKON Original-Received: from igel.home (ppp-46-244-177-231.dynamic.mnet-online.de [46.244.177.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 3 Jun 2019 19:18:05 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 64F452C2D7C; Mon, 3 Jun 2019 19:18:05 +0200 (CEST) X-Yow: Is it clean in other dimensions? In-Reply-To: <8536kqdbgo.fsf@gmail.com> (npostavs@gmail.com's message of "Mon, 03 Jun 2019 09:50:47 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160069 Archived-At: On Jun 03 2019, npostavs@gmail.com wrote: > tags 36068 + confirmed > quit > > Michael Heerdegen writes: > >> Noam Postavsky 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 Even byte-compiling a file containing such an unescaped literal sets lread--unescaped-character-literals in the global scope. I think this is where the real bug is. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."