all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kepa via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" <help-gnu-emacs@gnu.org>
Subject: I am trying to become an Emacs "super" user on Windows
Date: Wed, 23 Oct 2024 19:49:51 +0000	[thread overview]
Message-ID: <172971299493.7.9124277426564738456.472188650@slmails.com> (raw)

;;;_ Super
;; Disable Caps Lock's default behavior (Windows-specific)
(setq w32-enable-caps-lock nil)

;; Remap Caps Lock to Super modifier key
(define-key key-translation-map (kbd "<capslock>") 'event-apply-super-modifier)

Now I should be able to use Caps Lock as the "Super" key, MULTIPLYING the number of possible combinations (x2 if I use maximum 2 modifiers at the same time).

But..., s-M- works while M-s- doesn't work.
Is the order of the super modifier important, or shouldn't be?
Any help would be appreciated.


             reply	other threads:[~2024-10-23 19:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-23 19:49 Kepa via Users list for the GNU Emacs text editor [this message]
2024-10-23 20:14 ` I am trying to become an Emacs "super" user on Windows Corwin Brust
2024-10-23 21:37   ` Kepa via Users list for the GNU Emacs text editor
2024-10-23 21:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
  -- strict thread matches above, loose matches on Subject: below --
2024-10-24  2:27 Kepa via Users list for the GNU Emacs text editor

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

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

  git send-email \
    --in-reply-to=172971299493.7.9124277426564738456.472188650@slmails.com \
    --to=help-gnu-emacs@gnu.org \
    --cc=gnu.cognition199@slmails.com \
    /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.
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.