From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: does function-key-map work? Date: Fri, 10 Feb 2006 09:39:43 -0500 Organization: disorganization Message-ID: References: Reply-To: sds@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1139738398 29899 80.91.229.2 (12 Feb 2006 09:59:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2006 09:59:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 10:59:55 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F8E1L-0004jh-5V for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 10:59:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8E1K-0005T2-F4 for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 04:59:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8Dvh-0002XQ-IQ for emacs-devel@gnu.org; Sun, 12 Feb 2006 04:54:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8Dvc-0002Wu-Vs for emacs-devel@gnu.org; Sun, 12 Feb 2006 04:54:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8Dvb-0002WV-3h for emacs-devel@gnu.org; Sun, 12 Feb 2006 04:53:59 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F8Dzn-0008NO-1K for emacs-devel@gnu.org; Sun, 12 Feb 2006 04:58:19 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F8DvU-0003YX-39 for emacs-devel@gnu.org; Sun, 12 Feb 2006 10:53:52 +0100 Original-Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Feb 2006 10:53:52 +0100 Original-Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Feb 2006 10:53:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:sNjzDN05yQhefPUXNHBxprccdGM= 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:50399 Archived-At: > * Kevin Rodgers [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!