|
From: | Richard M. Stallman |
Subject: | Re: define key with "\s-" super modifier in string? |
Date: | Thu, 08 Dec 2005 14:29:25 -0500 |
(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.
[Prev in Thread] | Current Thread | [Next in Thread] |