unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: strange behaviour: Emacs ignoring one key on my keyboard,
@ 2022-04-14 14:17 emacsq via Users list for the GNU Emacs text editor
  2022-04-14 14:29 ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: emacsq via Users list for the GNU Emacs text editor @ 2022-04-14 14:17 UTC (permalink / raw)
  To: emacsq via Users list for the GNU Emacs text editor

Did you try bisecting the problem by going back to previous emacs git versions to identify when the problem occurs?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: strange behaviour: Emacs ignoring one key on my keyboard,
  2022-04-14 14:17 strange behaviour: Emacs ignoring one key on my keyboard, emacsq via Users list for the GNU Emacs text editor
@ 2022-04-14 14:29 ` Eric S Fraga
  2022-04-14 15:14   ` Robert Pluim
  0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2022-04-14 14:29 UTC (permalink / raw)
  To: help-gnu-emacs

On Thursday, 14 Apr 2022 at 14:17, emacsq via Users list for the GNU Emacs text editor wrote:
> Did you try bisecting the problem by going back to previous emacs git
> versions to identify when the problem occurs?

No, I did not as I have no idea when this started happening (it's a key
that I did not use for a long time).

I have, however, sort of figured out what is happening: the Windows key
acts as "super" in Emacs and it seems to do so no matter what I tell the
system via xmodmap.

So, if I type "C-h c WINDOWSKEY d", I do get "s-d undefined" so the key
is being interpreted, just not as what xev and other tools say it is
(i.e. as F20, as I defined it using xmodmap).

So, somehow, maybe, Emacs is interpreting the *keycode* instead of the
*keysym*?  Maybe something in the X11 parts of the Emacs code.
Somewhere to look, in any case, so I'm still investigating.

I have no need for a "super" key as I try to avoid all forms of key
chording as much as I can due to RSI issues.

Thank you,
eric
-- 
Eric S Fraga with org 9.5.2 in Emacs 29.0.50 on Debian 11.3




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: strange behaviour: Emacs ignoring one key on my keyboard,
  2022-04-14 14:29 ` Eric S Fraga
@ 2022-04-14 15:14   ` Robert Pluim
  2022-04-14 16:21     ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Pluim @ 2022-04-14 15:14 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: help-gnu-emacs

>>>>> On Thu, 14 Apr 2022 15:29:53 +0100, Eric S Fraga <e.fraga@ucl.ac.uk> said:

    Eric> So, somehow, maybe, Emacs is interpreting the *keycode* instead of the
    Eric> *keysym*?  Maybe something in the X11 parts of the Emacs code.
    Eric> Somewhere to look, in any case, so I'm still investigating.

    Eric> I have no need for a "super" key as I try to avoid all forms of key
    Eric> chording as much as I can due to RSI issues.

Does 'xmodmap' show that you have a modifier mapped to that key? I
think emacs recently started trying to be smarter about that.

Robert
-- 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: strange behaviour: Emacs ignoring one key on my keyboard,
  2022-04-14 15:14   ` Robert Pluim
@ 2022-04-14 16:21     ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2022-04-14 16:21 UTC (permalink / raw)
  To: Robert Pluim; +Cc: help-gnu-emacs

On Thursday, 14 Apr 2022 at 17:14, Robert Pluim wrote:
> Does 'xmodmap' show that you have a modifier mapped to that key? I
> think emacs recently started trying to be smarter about that.

Yes, it does!  Hadn't thought of that.  And, yes, doing

xmodmap -e 'clear Mod4'

fixes the problem!

Thank you,
eric

-- 
Eric S Fraga with org 9.5.2 in Emacs 29.0.50 on Debian 11.3



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-14 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-14 14:17 strange behaviour: Emacs ignoring one key on my keyboard, emacsq via Users list for the GNU Emacs text editor
2022-04-14 14:29 ` Eric S Fraga
2022-04-14 15:14   ` Robert Pluim
2022-04-14 16:21     ` Eric S Fraga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).