[Top][All Lists]

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

Re: does function-key-map work?

From: Sam Steingold
Subject: Re: does function-key-map work?
Date: Fri, 10 Feb 2006 09:39:43 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> * Kevin Rodgers <address@hidden> [2006-02-09 14:32:07 -0700]:
> Sam Steingold wrote:
>> GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>>  of 2006-02-07 on quant8
>> my "window" key is the "super" modifier,
>> and "meta" is hijacked by the window manager,
>> so I use this:
>> (define-key function-key-map [(super ? )] [(meta ? )])
>> and I see (C-h c runs the command describe-key-briefly):
>> M-SPC (translated from s-SPC) runs the command just-one-space
>> which is what I want.
>> alas, when I actually hit "window-key -- space", I get this error
>> message:
>> M-SPC is undefined
>> what's going on?!
> I don't know, but I think you might by misusing function-key-map.  Have
> you tried (keyboard-translate ?\s-\  ?\M-\ )

emacs -q
(keyboard-translate ?\s-\  ?\M-\ ) C-j
C-h c s-SPC (window-key -- space)
s-SPC is undefined

Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 4 (Stentz)
http://ffii.org http://www.mideasttruth.com http://www.savegushkatif.org
http://www.camera.org http://pmw.org.il http://www.palestinefacts.org
Oh Lord, give me the source code of the Universe and a good debugger!

reply via email to

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