GNU bug report logs - #38948
26.3; Can't use shortcuts that combine shift and meta keys

Previous Next

Package: emacs;

Reported by: Daniel Salfrán <danielsalfran <at> gmail.com>

Date: Sun, 5 Jan 2020 17:31:02 UTC

Severity: normal

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38948 in the body.
You can then email your comments to 38948 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38948; Package emacs. (Sun, 05 Jan 2020 17:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Salfrán <danielsalfran <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 05 Jan 2020 17:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Salfrán <danielsalfran <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; Can't use shortcuts that combine shift and meta keys
Date: Sun, 5 Jan 2020 16:25:29 +0100
One of the "shift" or "meta" keys is being dropped when used in a
shortcut combination that includes both

For example the following lines are defined in my emacs config:

    (global-set-key (kbd "M-S->") 'end-of-buffer)
    (global-set-key (kbd "M-S-<right>") 'mark-word-right)

and according to the "describe-key" command they are, respectively,
interpreted as:

    1. M-.
    2. <right> (translated from <S-right>)

My keyboard's configuration is standard US English


In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
 of 2019-08-29 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12006000
System Description:     Arch Linux

Recent messages:
Auto-saving...done
Auto-saving...done
Buffer *unsent mail to bug-gnu-emacs <at> gnu.org* modified; kill anyway? (y or n) y
Mark set
mark-word-right
Type "q" in help window to restore its previous buffer.
Quit [2 times]
Mark saved where search started
 [2 times]
C-c C-g is undefined

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  diff-auto-refine-mode: t
  global-emojify-mode: t
  emojify-mode: t
  pyvenv-mode: t
  TeX-PDF-mode: t
  TeX-source-correlate-mode: t
  shell-dirtrack-mode: t
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-mode: t
  tabbar-mwheel-mode: t
  tabbar-mode: t
  show-smartparens-global-mode: t
  show-smartparens-mode: t
  helm-mode: t
  recentf-mode: t
  async-bytecomp-package-mode: t
  helm--remap-mouse-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  company-quickhelp-mode: t
  company-quickhelp-local-mode: t
  global-company-mode: t
  company-mode: t
  save-place-mode: t
  desktop-save-mode: t
  display-time-mode: t
  global-auto-revert-mode: t
  icomplete-mode: t
  delete-selection-mode: t
  pallet-mode: t
  org-cdlatex-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
/home/daniel/.emacs.d/.cask/26.3/elpa/cask-20191004.1155/cask-bootstrap
hides /usr/share/emacs/site-lisp/cask/cask-bootstrap
/home/daniel/.emacs.d/.cask/26.3/elpa/cask-20191004.1155/cask hides
/usr/share/emacs/site-lisp/cask/cask
/home/daniel/.emacs.d/.cask/26.3/elpa/auth-source-pass-20191126.1242/auth-source-pass
hides /usr/share/emacs/26.3/lisp/auth-source-pass

Features:
(shadow sort bbdb-message mail-extr emacsbug sendmail helm-command
helm-elisp helm-eval edebug cl-print debug misearch multi-isearch winner
helm-x-files helm-for-files helm-bookmark helm-adaptive helm-info
bookmark pp helm-external helm-net browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util
mailcap eieio-opt tabify semantic/tag-file org-rmail org-mhe org-irc
org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo
gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047
rfc2045 ietf-drums mail-utils mm-util mail-prsvr org-docview doc-view
jka-compr org-bibtex org-bbdb org-w3m ledger-mode ledger-check
ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile
ledger-occur ledger-fonts ledger-fontify ledger-state ledger-complete
ledger-schedule ledger-init ledger-xact ledger-post ledger-exec
ledger-navigate ledger-context ledger-commodities ledger-regex sh-script
smie executable semantic/db-file data-debug cedet-files
semantic/wisent/python semantic/decorate/include semantic/db-find
semantic/db-ref semantic/decorate/mode semantic/decorate pulse
semantic/dep semantic/wisent/python-wy semantic/wisent
semantic/wisent/wisent flycheck rainbow-delimiters vc-git diff-mode
reftex-auc cdlatex texmathp tex-buf font-latex tex-mode bibtex
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-cmake
company-xcode company-clang company-semantic company-eclim
company-template company-bbdb emojify apropos tar-mode ht init
exec-path-from-shell spaceline-config spaceline-segments spaceline
powerline powerline-separators color powerline-themes
spacemacs-dark-theme spacemacs-common js2-mode smartparens-javascript js
sgml-mode dom cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs imenu use-package-delight
use-package-ensure use-package-core smartparens-html web-mode disp-table
highlight-indentation company-capf help-fns radix-tree elpy elpy-rpc
pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-mode esh-util elpy-shell elpy-profile
elpy-django elpy-refactor smartparens-python python tramp-sh tramp
tramp-compat tramp-loaddefs trampver ucs-normalize parse-time ido grep
files-x etags cus-edit cus-start cus-load zotelo company-auctex reftex
reftex-loaddefs reftex-vars r-autoyas ess-site ess-toolbar ess-jags-d
ess-bugs-d ess-bugs-l essd-els ess-stata-mode ess-stata-lang make-regexp
ess-sas-d ess-sas-l ess-sas-a ess-sp6-d ess-julia julia-mode
smartparens-latex latex latex-flymake tex-ispell tex-style tex dbus xml
crm julia-mode-latexsubs ess-r-mode ess-r-flymake flymake-proc flymake
warnings ess-r-xref xref ess-trns ess-r-package shell ess-r-completion
ess-roxy ess-r-syntax ess-rd hideshow ess-s-lang ess-help ess-mode
ess-inf project ess-tracebug smartparens-ess ess ess-utils ess-custom
compile semantic/db-mode semantic/db eieio-base semantic/idle
semantic/ctxt semantic/sb speedbar sb-image dframe semantic/sort
semantic/format ezimage semantic/tag-ls semantic/find
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet ob-ditaa ob-latex ob-R bbdb bbdb-site
timezone epa-file epa epg tabbar smartparens-config smartparens-org
smartparens-text smartparens multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more thingatpt
mc-cycle-cursors mc-edit-lines multiple-cursors-core rect ace-jump-mode
helm-mode helm-files helm-buffers helm-occur helm-tags helm-locate
helm-grep helm-regexp helm-utils helm-help helm-types recentf
tree-widget wid-edit helm-config helm-easymenu async-bytecomp helm
helm-source helm-multi-match helm-lib async cl-extra yasnippet elec-pair
help-mode derived dired+ image-dired image-mode image-file dired-x
dired-aux dired-sidebar face-remap dired-subtree dired-hacks-utils
subr-x dired dired-loaddefs company-quickhelp pos-tip company pcase
saveplace desktop frameset time autorevert filenotify icomplete delsel
pallet tex-site edmacro kmacro rx cl info cask cask-bootstrap
package-recipe-mode package-build-badges package-build package-recipe
eieio-compat json map lisp-mnt shut-up epl git commander f dash s
org-element avl-tree generator org advice org-macro org-footnote
org-pcomplete pcomplete org-list org-faces org-entities noutline outline
easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob
ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval
org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs finder-inf package easymenu epg-config url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded 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 threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 969711 335711)
 (symbols 48 74483 9)
 (miscs 40 686 2038)
 (strings 32 272606 87397)
 (string-bytes 1 7535857)
 (vectors 16 133698)
 (vector-slots 8 3677157 256002)
 (floats 8 616 1497)
 (intervals 56 5635 4222)
 (buffers 992 45))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38948; Package emacs. (Sun, 05 Jan 2020 18:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 38948 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Salfrán <danielsalfran <at> gmail.com>
Cc: 38948 <at> debbugs.gnu.org
Subject: Re: bug#38948: 26.3;
 Can't use shortcuts that combine shift and meta keys
Date: Sun, 05 Jan 2020 20:24:10 +0200
> From: Daniel Salfrán <danielsalfran <at> gmail.com>
> Date: Sun, 5 Jan 2020 16:25:29 +0100
> 
> One of the "shift" or "meta" keys is being dropped when used in a
> shortcut combination that includes both
> 
> For example the following lines are defined in my emacs config:
> 
>     (global-set-key (kbd "M-S->") 'end-of-buffer)
>     (global-set-key (kbd "M-S-<right>") 'mark-word-right)
> 
> and according to the "describe-key" command they are, respectively,
> interpreted as:
> 
>     1. M-.
>     2. <right> (translated from <S-right>)

Is that a GUI session or a text-mode (a.k.a. "TTY") session?




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Mon, 06 Jan 2020 17:32:02 GMT) Full text and rfc822 format available.

Notification sent to Daniel Salfrán <danielsalfran <at> gmail.com>:
bug acknowledged by developer. (Mon, 06 Jan 2020 17:32:02 GMT) Full text and rfc822 format available.

Message #13 received at 38948-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Salfrán <danielsalfran <at> gmail.com>
Cc: 38948-done <at> debbugs.gnu.org
Subject: Re: bug#38948: 26.3;
 Can't use shortcuts that combine shift and meta keys
Date: Mon, 06 Jan 2020 19:31:06 +0200
> From: Daniel Salfrán <danielsalfran <at> gmail.com>
> Date: Mon, 6 Jan 2020 18:15:23 +0100
> 
> I fixed my error. It wasn't related to emacs after all. There was a
> weird "toggle" behavior set when pressing alt and shift together. I
> found the solution here:
> https://askubuntu.com/questions/506620/alt-shift-not-work
> 
> Regardless, thanks for looking into this

Thanks, I'm therefore closing the bug.

> On Sun, Jan 5, 2020 at 10:47 PM Daniel Salfrán <danielsalfran <at> gmail.com> wrote:
> >
> > It is a GUI session running on GNOME in Arch Linux
> >
> > On Sun, Jan 5, 2020 at 7:24 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > >
> > > > From: Daniel Salfrán <danielsalfran <at> gmail.com>
> > > > Date: Sun, 5 Jan 2020 16:25:29 +0100
> > > >
> > > > One of the "shift" or "meta" keys is being dropped when used in a
> > > > shortcut combination that includes both
> > > >
> > > > For example the following lines are defined in my emacs config:
> > > >
> > > >     (global-set-key (kbd "M-S->") 'end-of-buffer)
> > > >     (global-set-key (kbd "M-S-<right>") 'mark-word-right)
> > > >
> > > > and according to the "describe-key" command they are, respectively,
> > > > interpreted as:
> > > >
> > > >     1. M-.
> > > >     2. <right> (translated from <S-right>)
> > >
> > > Is that a GUI session or a text-mode (a.k.a. "TTY") session?
> >
> >
> >
> > --
> 
> 
> 
> --
> 




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Feb 2020 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.