unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* I am trying to become an Emacs "super" user on Windows
@ 2024-10-23 19:49 Kepa via Users list for the GNU Emacs text editor
  2024-10-23 20:14 ` Corwin Brust
  2024-10-23 21:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 5+ messages in thread
From: Kepa via Users list for the GNU Emacs text editor @ 2024-10-23 19:49 UTC (permalink / raw)
  To: 'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'

;;;_ 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.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: I am trying to become an Emacs "super" user on Windows
@ 2024-10-24  2:27 Kepa via Users list for the GNU Emacs text editor
  0 siblings, 0 replies; 5+ messages in thread
From: Kepa via Users list for the GNU Emacs text editor @ 2024-10-24  2:27 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Help-Gnu-Emacs (help-gnu-emacs@gnu.org)

Thanks

It was incredibly simple, and almost works.

What would you please recommend?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-24  2:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23 19:49 I am trying to become an Emacs "super" user on Windows Kepa via Users list for the GNU Emacs text editor
2024-10-23 20:14 ` 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

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).