From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aura Kelloniemi Newsgroups: gmane.emacs.bugs Subject: bug#22566: 24.5; Make shift key translation a customizable feature Date: Fri, 05 Feb 2016 17:40:31 +0200 Message-ID: <877fijxj0w.fsf@sange.fi> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454686955 21199 80.91.229.3 (5 Feb 2016 15:42:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 15:42:35 +0000 (UTC) To: 22566@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 16:42:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRiWZ-00040N-Mn for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 16:42:19 +0100 Original-Received: from localhost ([::1]:48974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiWZ-0007cx-2N for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Feb 2016 10:42:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiWN-0007Uj-T6 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:42:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRiWI-0005Uv-Mz for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:42:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiWI-0005Ur-J8 for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRiWI-0006tX-Eb for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aura Kelloniemi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Feb 2016 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22566 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.145468686326426 (code B ref -1); Fri, 05 Feb 2016 15:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2016 15:41:03 +0000 Original-Received: from localhost ([127.0.0.1]:34567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRiVK-0006s9-W6 for submit@debbugs.gnu.org; Fri, 05 Feb 2016 10:41:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36703) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRiVJ-0006rZ-QY for submit@debbugs.gnu.org; Fri, 05 Feb 2016 10:41:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRiVD-0005KB-C3 for submit@debbugs.gnu.org; Fri, 05 Feb 2016 10:40:56 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiVD-0005K7-6i for submit@debbugs.gnu.org; Fri, 05 Feb 2016 10:40:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiVB-0006Km-Kh for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:40:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRiV6-0005Jc-RB for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:40:53 -0500 Original-Received: from smtp-78.nebula.fi ([83.145.220.78]:48967 helo=smtp.nebula.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiV6-0005Ip-Dh for bug-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:40:48 -0500 Original-Received: from solaria (xdsl-176-187.nblnetworks.fi [217.30.176.187]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.nebula.fi (Postfix) with ESMTPS id DB25CD00FFE for ; Fri, 5 Feb 2016 17:40:36 +0200 (EET) User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:112498 Archived-At: Some people consider the shift translation done by Emacs to be a misfeature. I agree with them. This is because when I accidentally press a key combination which is not bound to any command, I would like to receive an error message rather than running another command which I did not intend to run. There is a long discussion about this issue at: http://unix.stackexchange.com/questions/25649/is-it-possible-to-stop-emacs-from-down-translating-my-key-chords I wish that shift translation would be made a customizable feature. It causes me a lot of trouble because I'm testing new key mappings for the linux console (I'm making the shifted function keys to work in it) and shift translation in Emacs makes it harder to tell if Emacs got the information about used shift state right or not. (And no, Emacs does not always report that a key is shift-translated. E.g. when I press d , I get " runs the command down-list" instead of " (translated from ) runs the command down-list".) Thank you for your time! In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LC_COLLATE: C value of $LANG: fi_FI.UTF-8 locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: minibuffer-electric-default-mode: t icomplete-mode: t diff-auto-refine-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 buffer-read-only: t column-number-mode: t line-number-mode: t Recent messages: w3m init file loaded Loading term/xterm...done runs the command forward-sexp [2 times] is undefined runs the command beginning-of-defun Entering debugger... beginning-of-buffer End of buffer Mark set runs the command beginning-of-buffer customize-apropos: No customizable group, face, or option matching (shift translation) Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail apropos cus-edit mule-util help-mode debug xterm w3m-filter w3m browse-url doc-view jka-compr dired image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util recentf tree-widget haskell-interactive-mode haskell-presentation-mode haskell-collapse haskell-process haskell-session url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core gnus-util time-date url-vars json haskell-navigate-imports haskell-compile haskell-cabal haskell-utils haskell-mode haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme rx haskell-align-imports haskell-compat haskell-complete-module noutline outline flymake etags compile comint ring dabbrev ansi-color haskell-customize minibuf-eldef ido icomplete company pcase cus-start cus-load notmuch hl-line notmuch-message notmuch-maildir-fcc notmuch-hello edmacro kmacro wid-edit notmuch-tree notmuch-parser notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-address notmuch-wash diff-mode easy-mmode coolj notmuch-query goto-addr thingatpt icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag crm notmuch-lib advice notmuch-version cl gv cl-loaddefs cl-lib message idna format-spec rfc822 mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec smime password-cache dig mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr dired-single align info easymenu package epg-config server tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 248314 12028) (symbols 48 34301 0) (miscs 40 52 175) (strings 32 64995 9219) (string-bytes 1 1799366) (vectors 16 25718) (vector-slots 8 561196 8681) (floats 8 160 192) (intervals 56 265 0) (buffers 960 13) (heap 1024 27864 941)) -- Aura