From: Tim Visher <tim.visher@gmail.com>
To: Jason Rumney <jasonr@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: Sat, 29 Oct 2011 21:39:45 -0400 [thread overview]
Message-ID: <CAHa53uzx8eLD9R490ipXZokdFiwaxB908GTzR9cOQQnphNsOSw@mail.gmail.com> (raw)
In-Reply-To: <87ipn8sau5.fsf@gnu.org>
On Sat, Oct 29, 2011 at 12:03 AM, Jason Rumney <jasonr@gnu.org> wrote:
> Tim Visher <tim.visher@gmail.com> writes:
>
>> 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)
My point with these and the many lines you inlined pointing me to the
various w32-* variables is that the ns-* variables are more robust and
easier to use than the w32 variables. For instance, ns-* exposes
right, left, and both as variables, while w32 only exposes right/left.
ns-* also exposes option, command, and control, while w32-* exposes
none of alt/windows/control, and leaves it to be configured through
hard-swapping the keys through registry hacks.
>> (defvaralias 'pc-control-modifier 'pc-control-modifier)
>> (defvaralias 'pc-right-control-modifier 'pc-right-control-modifier)
>> (defvaralias 'pc-alt-modifier 'pc-alt-modifier)
>
> Standard keyboard keys can be remapped outside of Emacs. Commonly this
> is done to swap left-control and caps-lock, for example, see
> http://www.emacswiki.org/emacs/SwapControlAltAndCapsLock
My point is not that it's impossible to remap these keys outside of
emacs. My point is that the mac os remapping feature is far more
robust than the windows feature. For me, I am unable to remap these
keys outside of emacs as I need to be able to pair program with other
people on these machines at work. I just want them to be remapped
inside emacs, which I can do easily on os x, but not at all on
windows.
The reason that I ran up against this at all is that I'm trying to
move away from having caps lock be control as I've begun to experience
emacs pinky. I would like to have the command/alt key be control,
option/windows key be meta, and control/[apps|control] be super on the
two platforms, only in emacs. This is possible on the mac but not
possible on windows.
>> (defvaralias 'pc-function-modifier 'pc-function-modifier)
>
> No idea which key you mean here. If you mean the Fn key present on some
> laptop keyboards, I beleive this is handled by the keyboard hardware or
> low level drivers, and not exposed by the OS.
It may or may not be exposed by the OS, but on the Mac it is exposed.
If it's not possible because of low-level operating system details, I
understand, and perhaps that should be documented, but the point is
that when comparing the configurability of the two systems, windows is
lagging behind the mac by leaps and bounds.
prev parent reply other threads:[~2011-10-30 1:39 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
2011-10-29 4:03 ` Jason Rumney
2011-10-30 1:39 ` Tim Visher [this message]
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=CAHa53uzx8eLD9R490ipXZokdFiwaxB908GTzR9cOQQnphNsOSw@mail.gmail.com \
--to=tim.visher@gmail.com \
--cc=9897@debbugs.gnu.org \
--cc=jasonr@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.