From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: define key with "\s-" super modifier in string? Date: Thu, 08 Dec 2005 14:29:25 -0500 Message-ID: References: <874q5kr9l8.fsf@peder.flower> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1134071118 659 80.91.229.2 (8 Dec 2005 19:45:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2005 19:45:18 +0000 (UTC) Cc: emacs-devel@gnu.org, epronk@muftor.com, janneke@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 08 20:45:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EkReU-0007YW-NJ for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 20:42:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkRem-0004LF-PP for ged-emacs-devel@m.gmane.org; Thu, 08 Dec 2005 14:42:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EkRU6-0008IQ-Hs for emacs-devel@gnu.org; Thu, 08 Dec 2005 14:31:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EkRU4-0008Hd-RP for emacs-devel@gnu.org; Thu, 08 Dec 2005 14:31:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EkRU4-0008Ha-OR for emacs-devel@gnu.org; Thu, 08 Dec 2005 14:31:16 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EkRV3-0005Rm-Jy for emacs-devel@gnu.org; Thu, 08 Dec 2005 14:32:17 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EkRSH-0001bR-Sb; Thu, 08 Dec 2005 14:29:25 -0500 Original-To: rms@gnu.org In-reply-to: (rms@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47250 Archived-At: (global-set-key "\s-n" 'compile) Debugger entered--Lisp error: (error "Key sequence SPC - n uses invalid prefix characters") ... The presence of SPC in the error message is certainly a bug. The main purpose of \s for space is for character constants. So it seems to be a mistake to treat \s as space in string constants even when followed by dash. It should get an error at read time. I made a change to do that.