X-Loop: help-debbugs@HIDDEN Subject: bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el Resent-From: Tim Visher <tim.visher@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 28 Oct 2011 16:08:01 +0000 Resent-Message-ID: <handler.9897.B.131981805716157 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 9897 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.131981805716157 (code B ref -1); Fri, 28 Oct 2011 16:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2011 16:07:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RJoy0-0004CX-R5 for submit <at> debbugs.gnu.org; Fri, 28 Oct 2011 12:07:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <tim.visher@HIDDEN>) id 1RJoAI-00032b-6X for submit <at> debbugs.gnu.org; Fri, 28 Oct 2011 11:16:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tim.visher@HIDDEN>) id 1RJo8P-0007QN-QD for submit <at> debbugs.gnu.org; Fri, 28 Oct 2011 11:14:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL,URI_NOVOWEL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:39149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <tim.visher@HIDDEN>) id 1RJo8P-0007QE-OM for submit <at> debbugs.gnu.org; Fri, 28 Oct 2011 11:14:17 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tim.visher@HIDDEN>) id 1RJo8O-0006x5-8O for bug-gnu-emacs@HIDDEN; Fri, 28 Oct 2011 11:14:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <tim.visher@HIDDEN>) id 1RJo8M-0007Pt-Id for bug-gnu-emacs@HIDDEN; Fri, 28 Oct 2011 11:14:16 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:53946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <tim.visher@HIDDEN>) id 1RJo8M-0007Ph-Eo for bug-gnu-emacs@HIDDEN; Fri, 28 Oct 2011 11:14:14 -0400 Received: by ywa17 with SMTP id 17so4407481ywa.0 for <bug-gnu-emacs@HIDDEN>; Fri, 28 Oct 2011 08:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=TOEj6QHR7u3zKymELgjbsXZzK4cyJkqoijppEh0ZQCs=; b=WiicUnncKXK/Jn5iaB5LGE5zbPC3o3iiEVVRdt0L6iRS/m1vrqgfTjcsuTHAK3xJRr OHm/YKQ4W6W/ej0Bil6YdNf/8Fciyryi+qyo1l/oa6INyNsDD0tHTRS3cOp2toOHK1DO VjG8CKvhk2iV4ywmSszZXKzRItV/USfmMBig0= Received: by 10.236.133.241 with SMTP id q77mr4271578yhi.117.1319814851901; Fri, 28 Oct 2011 08:14:11 -0700 (PDT) Received: from [10.10.10.50] ([184.77.170.154]) by mx.google.com with ESMTPS id s42sm12898974yhs.0.2011.10.28.08.14.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Oct 2011 08:14:10 -0700 (PDT) From: Tim Visher <tim.visher@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Oct 2011 11:14:06 -0400 Message-Id: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.4 (-----) X-Mailman-Approved-At: Fri, 28 Oct 2011 12:07:35 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.4 (-----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': 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. I'm mainly just reporting this glaring inequality. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/Cellar/emacs/HEAD/share/emacs/24.0.90/etc/DEBUG. In GNU Emacs 24.0.90.1 (i386-apple-darwin10.8.0, NS = apple-appkit-1038.36) of 2011-10-27 on 184-243-147-41.pools.spcsdns.net Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--prefix=3D/usr/local/Cellar/emacs/HEAD' = '--without-dbus' = '--enable-locallisppath=3D/usr/local/share/emacs/site-lisp' = '--infodir=3D/usr/local/Cellar/emacs/HEAD/share/info/emacs' '--with-ns' = '--disable-ns-self-contained' 'CC=3D/usr/bin/llvm-gcc' 'CFLAGS=3D-O3 = -march=3Dcore2 -w -pipe'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: hi-lock-mode: t recentf-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t eldoc-mode: t elisp-slime-nav-mode: t paredit-mode: t idle-highlight-mode: t textmate-mode: t glasses-mode: t whitespace-mode: t shell-dirtrack-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t ido-ubiquitous: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t hs-minor-mode: t Recent input: o t SPC s e e i n g SPC a SPC s y s t e m SPC m a i=20 l SPC i n SPC t h e SPC v a l i d SPC v a l u e s SPC=20 o f SPC t h a t SPC v a r <return> a h <return> m e=20 s s a g e - s e n d M-/ M-/ M-/ M-/ M-/ C-a C-k l o=20 l <return> b o <return> b o o * <return> a s s M-/=20 : SPC t h a n k s ! SPC I <backspace> i ' d SPC a p=20 p r e c i a t e SPC t h a t <return> C-x o <tab> <tab>=20 <tab> <tab> <tab> <tab> <tab> <tab> <tab> <return>=20 <tab> <tab> <return> q C-x o C-x o C-p C-p C-p C-p=20 C-x o C-p C-p C-p C-p C-p C-p C-p C-p C-p M-f M-f M-f=20 M-f <f1> v <return> C-x 4 C-o <return> C-f C-f M-d=20 M-d M-d m a i l - c l i e n t - s e n d M-b M-b C-h=20 C-e M-b M-f - i t C-e C-x C-e C-x C-s C-n C-a C-k C-k=20 C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k=20 C-k C-x C-s C-b C-x C-e C-x C-s C-x b <return> C-c=20 C-c C-x o C-n M-> j l f / <backspace> M-/ : M-h M-h=20 j l M-/ : SPC T h a n k s ! SPC t h a t SPC d o e s=20 SPC i t <return> C-x o M-x e m a r e p <backspace>=20 <backspace> <backspace> <backspace> <backspace> <backspace>=20 r e p o r t b u <return> Recent messages: mailclient-send-it Saving file /Users/tim/Dropbox/.emacs.d/init.el... Wrote /Users/tim/Dropbox/.emacs.d/init.el Saving file /Users/tim/Dropbox/.emacs.d/init.el... Wrote /Users/tim/Dropbox/.emacs.d/init.el mailclient-send-it (No changes need to be saved) Sending...done Mark set Using try-expand-dabbrev [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug mailclient ffap browse-url message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader em-unix em-script em-ls em-hist em-pred em-glob em-dirs em-basic em-cmpl em-term term disp-table ehelp electric em-prompt esh-opt em-banner em-alias esh-var esh-io esh-cmd esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util hippie-exp smtpmail sendmail rfc2047 rfc2045 ietf-drums mail-utils cus-edit hi-lock recentf tree-widget vc-git find-func help-mode view multi-isearch info network-stream auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util mm-util mail-prsvr password-cache starttls tls erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit eldoc elisp-slime-nav etags paredit saveplace idle-highlight-mode hideshow easymenu textmate imenu glasses whitespace solarized-light-theme solarized-definitions hl-line cus-start cus-load ansi-color shell pcomplete comint regexp-opt ring maxframe elein erc-nick-notify notify erc-goodies erc erc-backend erc-compat format-spec thingatpt pp clojure-test-mode-autoloads clojure-mode-autoloads deft-autoloads elein-autoloads erc-nick-notify-autoloads markdown-mode-autoloads marmalade-autoloads furl-autoloads maxframe-autoloads notify-autoloads slime-autoloads starter-kit-bindings-autoloads windmove starter-kit-eshell-autoloads starter-kit-lisp-autoloads elisp-slime-nav-autoloads starter-kit-autoloads server edmacro kmacro smex starter-kit-misc ido-ubiquitous cl ido paren starter-kit-defuns uniquify advice help-fns advice-preload magit-autoloads ido-ubiquitous-autoloads smex-autoloads find-file-in-project-autoloads idle-highlight-mode-autoloads paredit-autoloads textmate-autoloads package tabulated-list time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Tim Visher <tim.visher@HIDDEN> Subject: bug#9897: Acknowledgement (24.0.90; w32 control character configuration is severely lacking compared to ns-win.el) Message-ID: <handler.9897.B.131981805716157.ack <at> debbugs.gnu.org> References: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> X-Gnu-PR-Message: ack 9897 X-Gnu-PR-Package: emacs Reply-To: 9897 <at> debbugs.gnu.org Date: Fri, 28 Oct 2011 16:08:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 9897 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 9897: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9897 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 28 Oct 2011 18:50:02 +0000 Resent-Message-ID: <handler.9897.B9897.131982780130655 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tim Visher <tim.visher@HIDDEN> Cc: 9897 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 9897-submit <at> debbugs.gnu.org id=B9897.131982780130655 (code B ref 9897); Fri, 28 Oct 2011 18:50:02 +0000 Received: (at 9897) by debbugs.gnu.org; 28 Oct 2011 18:50:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RJrVB-0007yO-EM for submit <at> debbugs.gnu.org; Fri, 28 Oct 2011 14:50:01 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <eliz@HIDDEN>) id 1RJrV8-0007yE-9C for 9897 <at> debbugs.gnu.org; Fri, 28 Oct 2011 14:49:59 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LTS00300GW67Y00@HIDDEN> for 9897 <at> debbugs.gnu.org; Fri, 28 Oct 2011 20:47:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.212.197]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LTS002FBHJ5Y780@HIDDEN>; Fri, 28 Oct 2011 20:47:29 +0200 (IST) Date: Fri, 28 Oct 2011 20:47:38 +0200 From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> X-012-Sender: halo1@HIDDEN Message-id: <83hb2t9cmt.fsf@HIDDEN> References: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: Tim Visher <tim.visher@HIDDEN> > 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.
X-Loop: help-debbugs@HIDDEN Subject: bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el Resent-From: Tim Visher <tim.visher@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 28 Oct 2011 19:46:02 +0000 Resent-Message-ID: <handler.9897.B9897.13198311373070 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 9897 <at> debbugs.gnu.org Received: via spool by 9897-submit <at> debbugs.gnu.org id=B9897.13198311373070 (code B ref 9897); Fri, 28 Oct 2011 19:46:02 +0000 Received: (at 9897) by debbugs.gnu.org; 28 Oct 2011 19:45:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RJsMz-0000nT-4W for submit <at> debbugs.gnu.org; Fri, 28 Oct 2011 15:45:37 -0400 Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <tim.visher@HIDDEN>) id 1RJsMw-0000nM-IJ for 9897 <at> debbugs.gnu.org; Fri, 28 Oct 2011 15:45:35 -0400 Received: by iabn5 with SMTP id n5so4443859iab.3 for <9897 <at> debbugs.gnu.org>; Fri, 28 Oct 2011 12:43:38 -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=ZUgpFms5tqm7wF94INOV2K7v+Ze3IhOtiCNgAw8ZrI4=; b=AXUBOb9S/ziIdtBNOBRH2g2hKv+tvU9+VG+AydIC7nZXn3naAlB1QILjErG5uavkK1 Jr7j980nOyqabdUN2mnDEa3WuDE9Mf/Rx4deARO4V7TRyjdwlM5D0h734UcilduikRVN lCYWtJKG5zlm+/vH3HmAA23kDhzPL7YbWibaw= Received: by 10.231.8.205 with SMTP id i13mr9609ibi.34.1319831018094; Fri, 28 Oct 2011 12:43:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.17.194 with HTTP; Fri, 28 Oct 2011 12:43:17 -0700 (PDT) In-Reply-To: <83hb2t9cmt.fsf@HIDDEN> References: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> <83hb2t9cmt.fsf@HIDDEN> From: Tim Visher <tim.visher@HIDDEN> Date: Fri, 28 Oct 2011 15:43:17 -0400 Message-ID: <CAHa53uwhY35i7Af=+Jb0cBN6fPvTQFQ5gaMzvAy+cPd0qnku4g@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.6 (---) On Fri, Oct 28, 2011 at 2:47 PM, Eli Zaretskii <eliz@HIDDEN> wrote: >> From: Tim Visher <tim.visher@HIDDEN> >> 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: >> >> =C2=A0 =C2=A0 (if (boundp 'mac-command-modifier) (setq mac-command-modif= ier 'control)) >> =C2=A0 =C2=A0 (if (boundp 'mac-option-modifier) (setq mac-option-modifie= r 'meta)) >> =C2=A0 =C2=A0 (if (boundp 'mac-control-modifier) (setq mac-control-modif= ier '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? =C2=A0There'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?
X-Loop: help-debbugs@HIDDEN Subject: bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el Resent-From: Jason Rumney <jasonr@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 29 Oct 2011 04:06:02 +0000 Resent-Message-ID: <handler.9897.B9897.131986115714719 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tim Visher <tim.visher@HIDDEN> Cc: 9897 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> Received: via spool by 9897-submit <at> debbugs.gnu.org id=B9897.131986115714719 (code B ref 9897); Sat, 29 Oct 2011 04:06:02 +0000 Received: (at 9897) by debbugs.gnu.org; 29 Oct 2011 04:05:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RK0BB-0003pL-1e for submit <at> debbugs.gnu.org; Sat, 29 Oct 2011 00:05:57 -0400 Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <jasonrumney@HIDDEN>) id 1RK0B6-0003pC-TG for 9897 <at> debbugs.gnu.org; Sat, 29 Oct 2011 00:05:55 -0400 Received: by gyh20 with SMTP id 20so4178220gyh.3 for <9897 <at> debbugs.gnu.org>; Fri, 28 Oct 2011 21:03:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Sr1J8OQkMWhL3HDQtZpK9znCD8opKdypuHZFi+glAFs=; b=uVO4M1oxgTSa2reBuBVrDxJZIDHsR4YCXyMmwuFGvDbTCFdP/L1aihgzkPh3wAoUyz F4y8OTUOdXMyINXDpaoX3qFSkOdMZP53xjyklCL+b1TOBN5P+jyM9wOY7xNi9MxuT+GR vEroKTawDIFHCbiNsuw4Kpr4X9p/Qk2I7CtRY= Received: by 10.68.42.6 with SMTP id j6mr7762335pbl.102.1319861034058; Fri, 28 Oct 2011 21:03:54 -0700 (PDT) Received: from home.jasonrumney.net ([180.75.12.197]) by mx.google.com with ESMTPS id z3sm29277802pbu.7.2011.10.28.21.03.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Oct 2011 21:03:52 -0700 (PDT) Received: by home.jasonrumney.net (Postfix, from userid 1000) id 2DC7712C5; Sat, 29 Oct 2011 12:03:46 +0800 (MYT) From: Jason Rumney <jasonr@HIDDEN> References: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> <83hb2t9cmt.fsf@HIDDEN> <CAHa53uwhY35i7Af=+Jb0cBN6fPvTQFQ5gaMzvAy+cPd0qnku4g@HIDDEN> Date: Sat, 29 Oct 2011 12:03:46 +0800 In-Reply-To: <CAHa53uwhY35i7Af=+Jb0cBN6fPvTQFQ5gaMzvAy+cPd0qnku4g@HIDDEN> (Tim Visher's message of "Fri, 28 Oct 2011 15:43:17 -0400") Message-ID: <87ipn8sau5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.6 (---) Tim Visher <tim.visher@HIDDEN> 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) Antialiasing can be specified on a per-font level with the Windows font backends. This is documented in the Emacs manual. > (defvaralias 'pc-windows-modifier 'pc-windows-modifier) w32-lwindow-modifer > (defvaralias 'pc-right-windows-modifier 'pc-right-windows-modifier) w32-rwindow-modifier > (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 > (defvaralias 'pc-right-alt-modifier 'pc-right-alt-modifier) See above, and also w32-recognize-altgr > (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. > (defvaralias 'pc-apps-modifier 'pc-apps-modifier) w32-apps-modifier
X-Loop: help-debbugs@HIDDEN Subject: bug#9897: 24.0.90; w32 control character configuration is severely lacking compared to ns-win.el Resent-From: Tim Visher <tim.visher@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 30 Oct 2011 01:43:02 +0000 Resent-Message-ID: <handler.9897.B9897.131993893732089 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jason Rumney <jasonr@HIDDEN> Cc: 9897 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> Received: via spool by 9897-submit <at> debbugs.gnu.org id=B9897.131993893732089 (code B ref 9897); Sun, 30 Oct 2011 01:43:02 +0000 Received: (at 9897) by debbugs.gnu.org; 30 Oct 2011 01:42:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RKKPg-0008LW-Ps for submit <at> debbugs.gnu.org; Sat, 29 Oct 2011 21:42:17 -0400 Received: from mail-iy0-f172.google.com ([209.85.210.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <tim.visher@HIDDEN>) id 1RKKPe-0008LO-Gc for 9897 <at> debbugs.gnu.org; Sat, 29 Oct 2011 21:42:15 -0400 Received: by iabn5 with SMTP id n5so5646901iab.3 for <9897 <at> 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= Received: by 10.231.8.205 with SMTP id i13mr1712417ibi.34.1319938806146; Sat, 29 Oct 2011 18:40:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.17.194 with HTTP; Sat, 29 Oct 2011 18:39:45 -0700 (PDT) In-Reply-To: <87ipn8sau5.fsf@HIDDEN> References: <B1C97D9F-E705-4EE2-A434-4B085B272C0B@HIDDEN> <83hb2t9cmt.fsf@HIDDEN> <CAHa53uwhY35i7Af=+Jb0cBN6fPvTQFQ5gaMzvAy+cPd0qnku4g@HIDDEN> <87ipn8sau5.fsf@HIDDEN> From: Tim Visher <tim.visher@HIDDEN> Date: Sat, 29 Oct 2011 21:39:45 -0400 Message-ID: <CAHa53uzx8eLD9R490ipXZokdFiwaxB908GTzR9cOQQnphNsOSw@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.6 (---) On Sat, Oct 29, 2011 at 12:03 AM, Jason Rumney <jasonr@HIDDEN> wrote: > Tim Visher <tim.visher@HIDDEN> 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.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.