From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: elisp--local-variables triggers an error on special input Date: Tue, 01 Dec 2020 14:42:33 +0000 Message-ID: References: <87k0u14qgr.fsf@fastmail.fm> <20201201142406.GA5457@tuxteam.de> Reply-To: Gregory Heytings Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4176"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (NEB 394 2020-01-19) Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 01 15:43:37 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kk6sS-0000xG-Gp for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 15:43:36 +0100 Original-Received: from localhost ([::1]:34842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kk6sR-0007xP-Ij for ged-emacs-devel@m.gmane-mx.org; Tue, 01 Dec 2020 09:43:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk6rh-00071L-Ld for emacs-devel@gnu.org; Tue, 01 Dec 2020 09:42:49 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:63255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kk6re-0007Lt-S1 for emacs-devel@gnu.org; Tue, 01 Dec 2020 09:42:49 -0500 Original-Received: from sdf.org (IDENT:ghe@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 0B1Egbqn026366 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 1 Dec 2020 14:42:37 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 0B1EhBBU004763; Tue, 1 Dec 2020 14:43:11 GMT In-Reply-To: <20201201142406.GA5457@tuxteam.de> Received-SPF: pass client-ip=205.166.94.24; envelope-from=ghe@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260121 Archived-At: >> You get that error by just eval'ing: >> >> (insert "((eg \"\C-,\")") >> >> in the *scratch* buffer. > > Hm. I don't. The string just gets inserted: > > ((eg "C-,") > > (as I'd expected). > You should get an "Invalid modifier in string" error, at least that's what you get with emacs -Q. The \C-, is not valid. ASCII characters 0x00 to 0x3E are not allowed after \C, with the exception of \0x20 (space). That includes the comma, colon, semicolong, digits, ...