From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Visher Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <83hb2t9cmt.fsf@gnu.org> <87ipn8sau5.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319938872 21862 80.91.229.12 (30 Oct 2011 01:41:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2011 01:41:12 +0000 (UTC) Cc: 9897@debbugs.gnu.org To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 30 02:41:07 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKKOX-0004bc-Qs for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Oct 2011 02:41:06 +0100 Original-Received: from localhost ([::1]:40148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKKOX-0004dA-4M for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Oct 2011 21:41:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKKOT-0004cr-AH for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 21:41:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKKOS-0008Sp-8C for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 21:41:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKKOS-0008Sl-6e for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 21:41:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RKKQQ-0008MR-9f for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2011 21:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tim Visher Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Oct 2011 01:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9897-submit@debbugs.gnu.org id=B9897.131993893732089 (code B ref 9897); Sun, 30 Oct 2011 01:43:02 +0000 Original-Received: (at 9897) by debbugs.gnu.org; 30 Oct 2011 01:42:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKKPg-0008LW-Ps for submit@debbugs.gnu.org; Sat, 29 Oct 2011 21:42:17 -0400 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RKKPe-0008LO-Gc for 9897@debbugs.gnu.org; Sat, 29 Oct 2011 21:42:15 -0400 Original-Received: by iabn5 with SMTP id n5so5646901iab.3 for <9897@debbugs.gnu.org>; Sat, 29 Oct 2011 18:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=VoysGYS7kVuA8XlBzrEfFjdIUSCVIgiM/IJw/9mr8lk=; b=o0CNAhQGLouqc3Bx3xjLNqECEcvQxi4+wXp+OmpCtL3PR/56e9lh+uGxkUuL9zV7mf iBImLWX/JFk00MeW57YVK/Zm256+hfzdMKaqpXiHxM0P+dvwjXQlzSuwwY+eF6TU0tS+ m7w9k57lQZtvY2jOAGLJTjmaDu4jjET2MXlYw= Original-Received: by 10.231.8.205 with SMTP id i13mr1712417ibi.34.1319938806146; Sat, 29 Oct 2011 18:40:06 -0700 (PDT) Original-Received: by 10.231.17.194 with HTTP; Sat, 29 Oct 2011 18:39:45 -0700 (PDT) In-Reply-To: <87ipn8sau5.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 29 Oct 2011 21:43:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53313 Archived-At: On Sat, Oct 29, 2011 at 12:03 AM, Jason Rumney wrote: > Tim Visher 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-w= in.el#L182 >> >> On Windows, that list would probably look like: >> >> =C2=A0 =C2=A0 (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. >> =C2=A0 =C2=A0 (defvaralias 'pc-control-modifier 'pc-control-modifier) >> =C2=A0 =C2=A0 (defvaralias 'pc-right-control-modifier 'pc-right-control-= modifier) >> =C2=A0 =C2=A0 (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. >> =C2=A0 =C2=A0 (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.