From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: autorepeat behavior in emacs 28.2 running in WSL Date: Wed, 12 Oct 2022 12:32:11 +0800 Message-ID: <87wn95fyr8.fsf@yahoo.com> References: <166553589931.55708.12758961715484112575@startmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12317"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: cabbage@use.startmail.com To: cabbage--- via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 06:32:59 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiTQP-0002yi-S1 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 06:32:57 +0200 Original-Received: from localhost ([::1]:53202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiTQO-0004zK-D7 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 00:32:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiTPu-0004zB-9H for help-gnu-emacs@gnu.org; Wed, 12 Oct 2022 00:32:26 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:45408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiTPs-0003GG-LX for help-gnu-emacs@gnu.org; Wed, 12 Oct 2022 00:32:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665549141; bh=PUMlS4pvESw8+xkAJt2PxMk4IE6f9itgbFFw617g0IQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=o6LnZq9FhqlM7PRiD8RDpnpXqw1JCHygeW1G92JrN6+JfC9+YA0ayFdSXzkV1+FH7opwlWvaZYxrB3aApzA6QGMxaYzqHWph0/sadxm9o1udFP/FiteWM9lbMFsF1ADFecoggZ8OBSm6OsdcTMyzacl7CvkYqssmVkY5qRyakohZLZXzb3BtC6C6G1D968YiHIhbMFh2UbGWHAcJdVbGwO40hibhMqoBezBiEWRYBaBC0CaE56EexXMJ4AVu0ddxAUszmoJ3wPop4K/e1K9RTgZOX0vQsi1HeJrF82NrEPbtXzFXNUuhTLZiVwJy4L57Db13wx9t+1wkJLEjgFLeZg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665549141; bh=Ft4nYzRSTIlXxVuj3W9Jp3NMNMszjqKbxgWUqrFCEQp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=sXCi5MmVdg4icv2RX1BnTuDegaJRvgXgDoIliRPkx6spCPdQ9dwnbba2h7oUpC/cHGf/GR0x0e1dkFrvj9WfUHg+6MTlCmmk6G0QajkF+ip07l/ZQJ2aSeYqk135pYnfBFxe5eEe+ueH3Do44D6VX3tm0dtCBcozYBAv02d4llIp6Sjpf0vBuoC0DRvGeim2aCMhh8tZZ+bTlNmGSP+E4o5j91xB6vJAgv19KdxLyhGsvPJWjGW11Svvulb9S82yK+mDEAB99bXgycT5IbdFL6844Jcd2PUJVzZPloQI6k3lI8jQ/qMqvzloUbgdXqe1xbit2majtk89RBeK4Au4Dg== X-YMail-OSG: naz.8ScVM1knw.jhrZniLGsFLfbY1C80IhSrrARA7PnwhZWB9LYpBC3Dw5UMYA3 kh1HktJddKqYnDsvobDCNx._tVJ1S09PqtnKDAbzqdlCUbfLdFMVBHbViuYTFFimV9_HDqc62K8g mZwWIM7.k0zsMqYTQlpTXnwK2SzmbpRlGHuKJgpCkgp__R_5tLvsMxefhgcx4Bp2W8rPg2.d6xo6 3QhfFenc9cUOhOyzohRqguv7viT8JtM1WGPH94fTm_UVJF7j_LTABFDOvpIVqBI2H6PMmI6ikdo. qB7rHSBbgxdcPmlLbzBeceavTp.iF3DxTgQTKf3BYknSlvXIL6o9Nz4a4y3fTKviMaZTjRlTB7Qn JIPgbvP.r6rKgL0RkjL0p66T8lDJP308qIax4Fsy.39CnLToIgZBnK7Wk_LA_VQBziL4o2Vla.Z7 O8lKFq_dPtX1FCYYKmQ7y65T0zM_czonGY4Mgu3lH0Bf5B76NfPoXhuDb1Kn4pxm6wHESZrBE_oA qCYsVxCteMeAhpSaJn56w2WEPC7nL71Z81DYPp71Yjc9rrH7Y78LqBy1QO0Yg_arcfT52iDCGgdo ElZMYqivZU4Sk9mLgCeM56Gxxi35DB4BTcbrTA_3.FZMbeG8.3QYizHMPYK2t6jo_KHSSlJiOuL7 TUL5EVWzUPSVLY8LkhITpzHHj2rpvzRPQ9TmkQiMPo1i_CkpsC_bkxPoYzKYrNsewWDoYcsAtY3C UfY95oqSeyQJPa6Drwzcg37U6YXH.A2iqTwQ5rD6W37k1PUP2uqZN_v5JoJYaEuREXaAftg5ZPqy XZWzvUIrySE0vAbhah4bGcutn2b.ALAZ7iO.LcxrCk X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Wed, 12 Oct 2022 04:32:21 +0000 Original-Received: by hermes--production-sg3-785466d859-8rptm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ddf9f861f868c56c7ad30460fec956a1; Wed, 12 Oct 2022 04:32:16 +0000 (UTC) In-Reply-To: <166553589931.55708.12758961715484112575@startmail.com> (cabbage's message of "Wed, 12 Oct 2022 00:51:39 -0000") X-Mailer: WebService/1.1.20740 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.33; envelope-from=luangruo@yahoo.com; helo=sonic313-10.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139844 Archived-At: cabbage--- via Users list for the GNU Emacs text editor 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.