From: Tim Visher <tim.visher@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9897@debbugs.gnu.org
Subject: bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el
Date: Fri, 28 Oct 2011 15:43:17 -0400 [thread overview]
Message-ID: <CAHa53uwhY35i7Af=+Jb0cBN6fPvTQFQ5gaMzvAy+cPd0qnku4g@mail.gmail.com> (raw)
In-Reply-To: <83hb2t9cmt.fsf@gnu.org>
On Fri, Oct 28, 2011 at 2:47 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Tim Visher <tim.visher@gmail.com>
>> Date: Fri, 28 Oct 2011 11:14:06 -0400
>>
>> I'm trying to configure what pressing Alt, Windows, Apps, and Control on
>> a windows keyboard translates to in emacs. I use emacs on both Macs and
>> Windows boxen and I'm used to configuring the keys on macs using
>> ns-win.el bindings like:
>>
>> (if (boundp 'mac-command-modifier) (setq mac-command-modifier 'control))
>> (if (boundp 'mac-option-modifier) (setq mac-option-modifier 'meta))
>> (if (boundp 'mac-control-modifier) (setq mac-control-modifier 'super))
>>
>> Compared to that library, the ability to configure what the meta keys
>> map to on windows is severely lacking, not allowing configuration at all
>> of what the control-modifier is mapped to, and providing only toggles
>> for the windows keys and apps keys.
>
> What other keys do you have on your keyboard that you'd like to
> configure on Windows? There's no "command modifier" and no "option
> modifier" on Windows.
>
> Note that in addition to what you mentioned, there's
> w32-enable-caps-lock and w32-enable-num-lock that you can use to
> produce 2 more symbols.
>
Thanks for your quick response!
I'm essentially looking for modifier key parity with ns ala:
http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/lisp/term/ns-win.el#L182
On Windows, that list would probably look like:
(defvaralias 'pc-allow-anti-aliasing 'pc-antialias-text)
(defvaralias 'pc-windows-modifier 'pc-windows-modifier)
(defvaralias 'pc-right-windows-modifier 'pc-right-windows-modifier)
(defvaralias 'pc-control-modifier 'pc-control-modifier)
(defvaralias 'pc-right-control-modifier 'pc-right-control-modifier)
(defvaralias 'pc-alt-modifier 'pc-alt-modifier)
(defvaralias 'pc-right-alt-modifier 'pc-right-alt-modifier)
(defvaralias 'pc-function-modifier 'pc-function-modifier)
(defvaralias 'pc-apps-modifier 'pc-apps-modifier)
And then you could set them using the same contract that I listed in
the opening mail.
Make sense?
next prev parent reply other threads:[~2011-10-28 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-28 15:14 bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el Tim Visher
2011-10-28 18:47 ` Eli Zaretskii
2011-10-28 19:43 ` Tim Visher [this message]
2011-10-29 4:03 ` Jason Rumney
2011-10-30 1:39 ` Tim Visher
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='CAHa53uwhY35i7Af=+Jb0cBN6fPvTQFQ5gaMzvAy+cPd0qnku4g@mail.gmail.com' \
--to=tim.visher@gmail.com \
--cc=9897@debbugs.gnu.org \
--cc=eliz@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.
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.