From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: sellputcall@gmail.com Newsgroups: gmane.emacs.help Subject: Would like to have alt key mapped to Windows key Date: Sat, 4 Nov 2017 13:23:50 -0700 (PDT) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1509827130 23875 195.159.176.226 (4 Nov 2017 20:25:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2017 20:25:30 +0000 (UTC) Injection-Date: Sat, 04 Nov 2017 20:23:51 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 04 21:25:27 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eB50P-0005oM-BL for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Nov 2017 21:25:25 +0100 Original-Received: from localhost ([::1]:42087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eB50W-0001o5-NQ for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Nov 2017 16:25:32 -0400 X-Received: by 10.55.99.141 with SMTP id x135mr983780qkb.61.1509827031318; Sat, 04 Nov 2017 13:23:51 -0700 (PDT) X-Received: by 10.31.157.131 with SMTP id g125mr218806vke.14.1509827031034; Sat, 04 Nov 2017 13:23:51 -0700 (PDT) Original-Path: usenet.stanford.edu!z50no2517124qtj.0!news-out.google.com!r5ni3717qtc.1!nntp.google.com!z50no2517122qtj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=72.79.127.254; posting-account=yzathwkAAADZujRk3VZvoRSE7kzJABwS Original-NNTP-Posting-Host: 72.79.127.254 Original-Xref: usenet.stanford.edu gnu.emacs.help:220636 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114745 Archived-At: emacs: GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.19) of 2017-09-14 OS: Fedora 25 My keyboard's alt key seems to have conked out. Both of them. So alt keys in emacs are missing which is a real pain. I dont want to rely on the Esc key all the time. Is there a way to map the windows key, which emacs seems to call "s-" to the alt key. This would be very convenient to have until i replace my laptop keyboard. So eg: "s-w" would map to "m-w". Right now i see that the s-w combination is undefined. Can i do this via a set-key command or would i have to create a new keymap ? tia, Sunil