From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giovanni Gigante Newsgroups: gmane.emacs.help Subject: windows key as super Date: Wed, 18 Nov 2009 12:46:43 +0100 Organization: TIN.IT (http://www.tin.it) Message-ID: <4B03DEA3.8040109@cidoc.iuav.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258561291 29285 80.91.229.12 (18 Nov 2009 16:21:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 16:21:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 18 17:21:24 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAnHT-0005de-U0 for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Nov 2009 17:21:20 +0100 Original-Received: from localhost ([127.0.0.1]:35474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAnHT-00049h-8O for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Nov 2009 11:21:19 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!feeder.news.tin.it!spool.news.tin.it!not-for-mail User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 Original-Newsgroups: gnu.emacs.help Original-Lines: 29 X-Comments: Please send technical notifications to newsmaster@tin.it Original-NNTP-Posting-Host: 79.17.173.139 Original-X-Trace: 1258544808 reader5.news.tin.it 8856 79.17.173.139:3658 Original-X-Complaints-To: Please send abuse reports to abuse@retail.telecomitalia.it Original-Xref: news.stanford.edu gnu.emacs.help:174799 X-Mailman-Approved-At: Wed, 18 Nov 2009 11:19:57 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69880 Archived-At: I am using emacs 22.2.1 on debian 5.0.3, through a VNC connection from a windows machine, and I am trying to configure the windows key for some emacs shortcut. VNC is configured to "pass special keys directly to server". Then I tried in emacs: (global-set-key (kbd "s-s") 'save-buffer) However, this does not seem to work. If I type "windows - s", all I get is an s. According to xev, this is what happens when I tap the windows key in a terminal window: KeyRelease event, serial 30, synthetic NO, window 0x2800001, root 0x2e, subw 0x0, time 118816809, (423,786), root:(448,849), state 0x0, keycode 255 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False so it seems that the super key is being received after all, but emacs ignores it. BTW, running emacs on the console (locally, sans VNC) gives the same result. What am I doing wrong? Thanks Giovanni