From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: StrawberryTea Newsgroups: gmane.emacs.bugs Subject: bug#69107: 30.0.50; mouse movement commands exit repeat maps Date: Tue, 13 Feb 2024 13:54:45 -0600 Message-ID: <87y1bo5e5e.fsf@strawberrytea.xyz> References: <87zfw45gxd.fsf@strawberrytea.xyz> <86il2sp2jl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25762"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.8; emacs 30.0.50 Cc: 69107@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 13 21:00:37 2024 Return-path: Envelope-to: geb-bug-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 1rZyxD-0006L4-T4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Feb 2024 21:00:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZywX-0000X8-71; Tue, 13 Feb 2024 14:59:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZywT-0000Vl-Tt for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2024 14:59:46 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZywT-0001MM-Lt for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2024 14:59:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZywk-0005Dx-SO for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2024 15:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: StrawberryTea Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Feb 2024 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69107 X-GNU-PR-Package: emacs Original-Received: via spool by 69107-submit@debbugs.gnu.org id=B69107.170785439620042 (code B ref 69107); Tue, 13 Feb 2024 20:00:02 +0000 Original-Received: (at 69107) by debbugs.gnu.org; 13 Feb 2024 19:59:56 +0000 Original-Received: from localhost ([127.0.0.1]:47588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZywa-0005D3-Bs for submit@debbugs.gnu.org; Tue, 13 Feb 2024 14:59:56 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:40673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZywX-0005Cm-TR for 69107@debbugs.gnu.org; Tue, 13 Feb 2024 14:59:51 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 21B0D5C010A; Tue, 13 Feb 2024 14:59:27 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 13 Feb 2024 14:59:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= strawberrytea.xyz; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1707854367; x=1707940767; bh=jQkStGOpG+ueDtdb/6yWhxr6ApNGPuNrkdcDD9qzvSU=; b= KgJo5HB9umXqJ6a8VJ9P8XRR5XeMzAaHO+bGf+ntt9o5vvpeL8OmVO+bjp/8KzfE zV8OYpNDYZ3lrZvLX1r+ahSjyT7p9EWaEGknnnFM+vSDU5pYLnp0CXlaljKXEEHW vhTM/8tAVVMWC1pM+FviPvoTb74zmi3DnsOFrWMLMiBwp5A/kr6B8auEQoxji7mO BThZF65fVF44nsbluuP/Mh0ENXcis8nJqJQIiUiIId5thUBdT2ZgEtdw2JWpxS9U dIdlZL134R45zcWFRBB3p3q/DvQF7rLNbz/lqFIATvEQHyc9XfOXB/ErCLwncA7G fudsaBPC7MDceejBv5POdA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707854367; x=1707940767; bh=jQkStGOpG+ueDtdb/6yWhxr6ApNG PuNrkdcDD9qzvSU=; b=sZGzrM+VL844QQc8AkmMvEVyiyl7mzXuDxh3kMIHTOwr Z+CsKqUMSDzHMsP6KaxcWUNQcub7ARcP8/tV4eo9rTyVKuLYJv0rQu+qkfOGY0Zx szezzRyh2/fGjy2cAfvcUokS1j8aQZe+WvgUE9uRQFsVmnlen/nQihOTtH5XE2k6 sZpoMvGOZ3sc4SOlqFLFpFfUCBbezVL4CxayNtIbJ9umoYz078+7nsClXdJiE+a8 7MBzHTAxVgaYTrhzBt2LWD5TyD0AXgNZrrPwaOX7zjTtMi/gd7iE8pJF0RmB9Vx9 Fv7+K+6mW3lAjQChU5ZZb4/BnJ/RPFyqMfW1TSlOQw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehgddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpefhvfevuffffhgfjgfkgggtsehmtderredt reejnecuhfhrohhmpefuthhrrgifsggvrhhrhifvvggruceolhhoohhksehsthhrrgifsg gvrhhrhihtvggrrdighiiiqeenucggtffrrghtthgvrhhnpefhleelffdvieejtefgtddv gffhgeefvdetgfejfeevjeetgedukeevledvleeuhfenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlohhokhesshhtrhgrfigsvghrrhihthgv rgdrgiihii X-ME-Proxy: Feedback-ID: id85149b6:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 13 Feb 2024 14:59:26 -0500 (EST) In-reply-to: <86il2sp2jl.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279976 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks, I just finally realized that I can map mouse movement to nil. (after! lsp-ui-doc (map! :map lsp-ui-doc-mode-map =E2=80=9C=E2=80=9D nil)) I never use that feature so this worked fine for me rather than digging int= o why the events were being generated. Thank you, StrawberryTea Eli Zaretskii writes: >> From: StrawberryTea >> Date: Tue, 13 Feb 2024 12:53:18 -0600 >> >> Hi. I=E2=80=99m using LSP mode which defines a command.= I have >> noticed that in some special situation involving switching workspaces in >> Doom Emacs while using EXWM (Emacs X Window Manager), the >> command is triggered after switching workspaces which >> triggers the repeat map to exit even though the mouse wasn=E2=80=99t act= ually >> visibly moved. I think it might be reasonable to exclude mouse movement >> commands from exiting the repeat map by default or as an option. > > You can do that yourself for commands you want to repeat, can=E2=80=99t y= ou? > From the node =E2=80=9CCreating Keymaps=E2=80=9D in the ELisp Reference m= anual: > > Each command in the keymap can be marked as =E2=80=99repeatable=E2= =80=99, i.e. > usable in =E2=80=98repeat-mode=E2=80=99, by putting a =E2=80=98repea= t-map=E2=80=99 property on it, > e.g. > > (put =E2=80=99undo =E2=80=99repeat-map =E2=80=99undo-repeat-map) > > where the value of the property is the map to be used by > =E2=80=98repeat-mode=E2=80=99. > > There=E2=80=99s no way the default configuration can ever anticipate all = of > the known and unknown commands that some users could want to be > repeatable. But each user can add commands to the set of repeatable > ones by using the above technique. --=-=-=--