all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: cabbage--- via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Cc: cabbage@use.startmail.com
Subject: Re: autorepeat behavior in emacs 28.2 running in WSL
Date: Wed, 12 Oct 2022 12:32:11 +0800	[thread overview]
Message-ID: <87wn95fyr8.fsf@yahoo.com> (raw)
In-Reply-To: <166553589931.55708.12758961715484112575@startmail.com> (cabbage's message of "Wed, 12 Oct 2022 00:51:39 -0000")

cabbage--- via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

> When I would hold down a key for probably 660 ms it would repeat for many
> minutes making emacs unresponsive. I finally tried xset r off and now, holding
> down a key still autorepeats, but doesn't make emacs unresponsive.  
>
>   
>
> Where does that come from? I might want the autorepeat behavior at some point.
> I'd like to be able to restore it in X and not have emacs go bananas.  

It comes from both Windows and X.  Windows autorepeats the keystrokes,
which are then sent to Wayland (against the Wayland spec.)  Then,
Microsoft's modified copy of Xwayland autorepeats each of those
keystrokes as well, causing the speed of autorepeat to grow increasingly
faster the longer you hold down a key.

The WSL X server is of extremely low quality and is best poked at with a
very long stick.  The longer, the better.



  reply	other threads:[~2022-10-12  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12  0:51 autorepeat behavior in emacs 28.2 running in WSL cabbage--- via Users list for the GNU Emacs text editor
2022-10-12  4:32 ` Po Lu [this message]
2022-10-14 18:27   ` cabbage--- via Users list for the GNU Emacs text editor
2022-10-14 21:02     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wn95fyr8.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=cabbage@use.startmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.