unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Glyn Millington <glyn.millington@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Possible to make Super (Windows) key be just another Meta key like ESC?
Date: Mon, 12 Jan 2015 07:06:20 +0000	[thread overview]
Message-ID: <87r3v0bhqr.fsf@nowhere.org> (raw)
In-Reply-To: 5772a6bb-0159-4c8a-9a08-de2725fabbe5@googlegroups.com

Chris Seberino <cseberino@gmail.com> writes:

> On Sunday, January 11, 2015 at 6:44:39 PM UTC-6, Grant Rettke wrote:
>
>> (setq w32-lwindow-modifier 'super)
>> (setq w32-rwindow-modifier 'super)
>
> Thanks!
> I just created a bare .emacs file with nothing but those
> 2 lines and it still didn't work.
>
> Am I doing something wrong!?

x-super-keysym is a variable defined in `C source code'.
Its value is meta

Documentation:
Which keys Emacs uses for the super modifier.
This should be one of the symbols `alt', `hyper', `meta', `super'.
For example, `super' means use the Super_L and Super_R keysyms.  The
default is nil, which is the same as `super'.

So this should work:

 (setq x-super-keysym 'meta)


Good luck :-)


Glyn




  reply	other threads:[~2015-01-12  7:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12  0:17 Possible to make Super (Windows) key be just another Meta key like ESC? Chris Seberino
2015-01-12  0:44 ` Grant Rettke
2015-01-12  1:39   ` Sam Varshavchik
2015-01-12 22:27     ` Grant Rettke
     [not found]     ` <mailman.17782.1421101658.1147.help-gnu-emacs@gnu.org>
2015-01-18  4:56       ` Chris Seberino
     [not found] ` <mailman.17705.1421023477.1147.help-gnu-emacs@gnu.org>
2015-01-12  2:55   ` Chris Seberino
2015-01-12  7:06     ` Glyn Millington [this message]
2015-01-12  2:58   ` Chris Seberino
2015-01-12  3:10     ` Sam Varshavchik
2015-01-12  3:14 ` Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3v0bhqr.fsf@nowhere.org \
    --to=glyn.millington@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).