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: Fri, 28 Oct 2011 11:14:06 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1319818437 7935 80.91.229.12 (28 Oct 2011 16:13:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2011 16:13:57 +0000 (UTC) To: 9897@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 28 18:13:52 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 1RJp43-0002S1-Gs for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Oct 2011 18:13:51 +0200 Original-Received: from localhost ([::1]:52312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJp42-0005oz-VQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Oct 2011 12:13:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJowb-0002lV-0t for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 12:06:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJowZ-0000CI-Ea for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 12:06:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJowZ-0000CE-B0 for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 12:06:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RJoyQ-0004DR-2X for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 12:08: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: Fri, 28 Oct 2011 16:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131981805716157 (code B ref -1); Fri, 28 Oct 2011 16:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Oct 2011 16:07:37 +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 1RJoy0-0004CX-R5 for submit@debbugs.gnu.org; Fri, 28 Oct 2011 12:07:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RJoAI-00032b-6X for submit@debbugs.gnu.org; Fri, 28 Oct 2011 11:16:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJo8P-0007QN-QD for submit@debbugs.gnu.org; Fri, 28 Oct 2011 11:14:19 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:39149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJo8P-0007QE-OM for submit@debbugs.gnu.org; Fri, 28 Oct 2011 11:14:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJo8O-0006x5-8O for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 11:14:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJo8M-0007Pt-Id for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 11:14:16 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:53946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJo8M-0007Ph-Eo for bug-gnu-emacs@gnu.org; Fri, 28 Oct 2011 11:14:14 -0400 Original-Received: by ywa17 with SMTP id 17so4407481ywa.0 for ; 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= Original-Received: by 10.236.133.241 with SMTP id q77mr4271578yhi.117.1319814851901; Fri, 28 Oct 2011 08:14:11 -0700 (PDT) Original-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) 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-Mailman-Approved-At: Fri, 28 Oct 2011 12:07:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 28 Oct 2011 12:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Fri, 28 Oct 2011 12:13:47 -0400 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:53249 Archived-At: 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 a h 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 b o b o o * a s s M-/=20 : SPC t h a n k s ! SPC I i ' d SPC a p=20 p r e c i a t e SPC t h a t C-x o =20 =20 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 v C-x 4 C-o 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 C-c=20 C-c C-x o C-n M-> j l f / 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 C-x o M-x e m a r e p =20 =20 r e p o r t b u 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)