* does function-key-map work?
@ 2006-02-09 17:10 Sam Steingold
2006-02-09 21:32 ` Kevin Rodgers
2006-02-11 1:23 ` John Paul Wallington
0 siblings, 2 replies; 4+ messages in thread
From: Sam Steingold @ 2006-02-09 17:10 UTC (permalink / raw)
GNU Emacs 22.0.50.2 (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?!
--
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 4 (Stentz)
http://www.camera.org http://www.jihadwatch.org http://www.iris.org.il
http://www.palestinefacts.org http://www.dhimmi.com
Even Windows doesn't suck, when you use Common Lisp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: does function-key-map work?
2006-02-09 17:10 does function-key-map work? Sam Steingold
@ 2006-02-09 21:32 ` Kevin Rodgers
2006-02-10 14:39 ` Sam Steingold
2006-02-11 1:23 ` John Paul Wallington
1 sibling, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2006-02-09 21:32 UTC (permalink / raw)
Sam Steingold wrote:
> GNU Emacs 22.0.50.2 (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-\ )
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: does function-key-map work?
2006-02-09 21:32 ` Kevin Rodgers
@ 2006-02-10 14:39 ` Sam Steingold
0 siblings, 0 replies; 4+ messages in thread
From: Sam Steingold @ 2006-02-10 14:39 UTC (permalink / raw)
> * Kevin Rodgers <vuf_4664@lnubb.pbz> [2006-02-09 14:32:07 -0700]:
>
> Sam Steingold wrote:
>> GNU Emacs 22.0.50.2 (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
134217760
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: does function-key-map work?
2006-02-09 17:10 does function-key-map work? Sam Steingold
2006-02-09 21:32 ` Kevin Rodgers
@ 2006-02-11 1:23 ` John Paul Wallington
1 sibling, 0 replies; 4+ messages in thread
From: John Paul Wallington @ 2006-02-11 1:23 UTC (permalink / raw)
Sam Steingold <sds@gnu.org> writes:
> 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 ? )])
By the way, have you tried frobbing `x-super-keysym' ? It appears
that setting it to `meta' would solve the problem.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-11 1:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 17:10 does function-key-map work? Sam Steingold
2006-02-09 21:32 ` Kevin Rodgers
2006-02-10 14:39 ` Sam Steingold
2006-02-11 1:23 ` John Paul Wallington
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.