Received: (at 81380) by debbugs.gnu.org; 10 Jul 2026 11:17:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 10 07:17:49 2026 Received: from localhost ([127.0.0.1]:60417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wi9Er-0003rQ-7V for submit <at> debbugs.gnu.org; Fri, 10 Jul 2026 07:17:49 -0400 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]:33013) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wi9Eo-0003r6-Mt for 81380 <at> debbugs.gnu.org; Fri, 10 Jul 2026 07:17:47 -0400 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 533BA1400114; Fri, 10 Jul 2026 07:17:41 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Fri, 10 Jul 2026 07:17:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; 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=1783682261; x= 1783768661; bh=aZTYZpU9pf42idrqmrfzUkBVoc8XkzKUMkgdVmK8heI=; b=p keBKxYoH0QvLVdQXSQldBBPHHnYbgxTSGXcuLRnDLLW67eHBCUtjedprXSyMjhay khekKc7TNAFjY70vdwoeIpUsgsJU+wP5AjZP9qEkumNhfEGDg8bfeZ3f9PCdCghR A2XKs8nhvM40kDA6NL+5wIlNDgPNwhkRb8SfG7ElgnNbJQEgLo72128zBZW5UT1O ocvtM23uyHkJLpDHQSWI4sPc7u9KUgqhxPi+x72xRXdtb/N038TnsDmDpgTaVHE8 eEV7VaMiayuXq6fy9A1VJONNdSZ/crU4rMVSb+NkR/qstbMY/FPr+3WE5sAjmj3Q Qqq5wBjIwh3t6XT+Hl+tA== 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-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1783682261; x=1783768661; bh=aZTYZpU9pf42idrqmrfzUkBVoc8XkzKUMkg dVmK8heI=; b=NtYO9zWkniiQTY0yA85tYRIZWkJ+BV1eOwq8jstaikF+0SxIcJi D06AFxSTrKf0SWw/MaEVV9HEeN89PZlFdNZpjuOWL1/9OsJAb9D+UAVgU60fcKpc zHB0A4vcoFpDWqWuwZHTgc9+DXPz7J9gfd4DzN2uWZE5NY5uDpeR4r/RVENNgPwy nj5QGuqA+IGhy8iOcy5o0LkrG3nxImt/KwV0PeOHBZhrCTGh35Y87eqm5UkNCD8B dRjL2GNmMWcZMZnbMY0l86BLZqnopZzkqi5gm6aPbhzcrzeBsfz3uxlzAgH++0op J2j5zVcB7/mIRc8G1Q6eEj3eZI9dPrq9HWg== X-ME-Sender: <xms:1dRQakQlcz6ay3zIfk4xZOLiCajVsSjl7w8FDDcMTmLZKfiz3drQfg> <xme:1dRQanyVxTXD86Dm9EYzneULy1eJc9tqokTyz9bxH746BKcble5upwonNLn1gOTBt WHGfVHo7P40k-SNTPPOqoaPigQtTEXDAn3ukizAnnFXhtK0OQeK7g> X-ME-Received: <xmr:1dRQavcDB_SD7W0CfVnCsN8aNdRx895CFsTaP6l36X6EXaLftTofUf2L3m7sd4WvS543-NvdMF9k> X-ME-Proxy-Cause: dmFkZTEtrfCjBDvvb16NNsWyGPE4NJxPg+VaZ2HYK+3wQIxaKTzP8Wdcny6jUMqLmMlSFx X2rLnqp+UlTrSG+Sk7liI1MXa2SiONvJSuzvO5xmDM05lygiX2/UYb9BNauXLbS5Q/FuV+ PoJ+gGQD+CVl6MeWLXtkzHnjY6IBKb5GfPCdoCS5Jeet6aPrZinp8npewoCkkwQ+PwkVU5 p6zWg9/Of11dxBE0E1wtwLZcXmgwjZfDIuKut9AIgmpjoAJ9FuRwjdY00/mTjEsUZwxr2W X4uOtFS1dL2Ce+uWPP931lJP7nBIqK9M6CxwtwRVoMXNA6OkTPiDw4/KVhnKORjNeM6oKZ usOqBFVjNk/U+Uu//3oNqFLjN2iQVM1SJ819Qz0egGJZTyXc0nHEHi70HlX6Cuhsz/RbNj BwkOa1o3R1uhGwbLO2qoj5iJ1/wIz4cD2Ese3yjcb2TcDVBJgpoc9UrKFHUHsTE6jnsQ7l IePL9e6HkNIH6KjRFqKDbsBnY8ppCGAEHb/3f2gqLZiW/3IIFe+Iw9/TiqvtgeTSBrD38n ch1d47PejxL6vKrNiYCIfHbs1kBOiiLDjWywQHDJqhAHxhzhmzyAaRaJKDM3kSswwv9mtk s3r6zLervxh1cUAVcnc6vMr5iPiFnz+CNAy3+G01nW2T+l3AHOLrJF9IIIDg X-ME-Proxy: <xmx:1dRQajLjGjaQZU_f9zvJ3OJ3ucN_uB3xVOTHKzegn4Zkwv-hjcwpyg> <xmx:1dRQagEmcOnX3G4uXzKOvpdJYw5tN5vLZ5G9vd1wu7QN-K1C3i5txA> <xmx:1dRQatr_aKuo8gu2fYvjcF3uEehS9FF_toXEbdaUh1UPO_jjQhztJA> <xmx:1dRQapR-HxbhN-yrzB_E9NDeXh54_JkLhKNZBYfX661NR0wZDjdxPQ> <xmx:1dRQas2Cfn6l-A-e3APcnOAO7PdlYyFFxBFhpZvd0eBYsVQJV8Nr9oJN> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Jul 2026 07:17:40 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 2B0257E8956; Fri, 10 Jul 2026 12:17:40 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Joshua Murphy <joshuamurphy@HIDDEN> Subject: Re: bug#81380: [PATCH] viper-macs: Fix viper-global-execute when delete-selection-mode active In-Reply-To: <87a4rzzqpv.fsf@HIDDEN> References: <87bjchgs9x.fsf@HIDDEN> <87jyr4ifvc.fsf@HIDDEN> <87a4rzzqpv.fsf@HIDDEN> Date: Fri, 10 Jul 2026 12:17:40 +0100 Message-ID: <87ik6nksa3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81380 Cc: 81380 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Joshua Murphy [09/Jul 11:30pm GMT] wrote: >> Thanks. Could you provide a test that will fail without this patch, to >> make it easier to review for non-Vim users? > > Sure, do you want an ERT test, or just a function to test in general? An addition to test/lisp/emulation/viper-tests.el would be best. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81380; Package emacs.
Full text available.Received: (at 81380) by debbugs.gnu.org; 9 Jul 2026 23:30:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 09 19:30:23 2026 Received: from localhost ([127.0.0.1]:57064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1whyCD-0004I4-NV for submit <at> debbugs.gnu.org; Thu, 09 Jul 2026 19:30:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35909) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <joshuamurphy@HIDDEN>) id 1whyC7-0004EU-9g for 81380 <at> debbugs.gnu.org; Thu, 09 Jul 2026 19:30:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0E75B240027 for <81380 <at> debbugs.gnu.org>; Fri, 10 Jul 2026 01:30:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1783639808; bh=IJOdSlSNoxtOhLTo1fe/tdMMxiTZAvoymCQyiHlR8eY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=UD6+xYXf1lmo2wUUBa0YjQE6bnAPgdNujJl02IUCjNW8wrNrFWylebpTicXRkPS4N dYZUUBWWelWJAc5yhCZxu5OpW+CG7RsQqyXxDga/CSLs5j5R5uZzavmPpiicoqU13a VIPBtl1HgqEzZbS5qrB9jx4wbaIVJY61hoYfcWmhjoOt8r8NkKvobCV4jlcp0qmhrP BRsakKM/o196UDC+NMtklcMAKnWm2QhxsR7eFU5RuazSe9Vg/Ld8w48vupzseXs9L4 BgIvITeNXsYTxn6DzEcQtCcQ3PggyMJGHo0Y4gavU9OwA4Qqbs+TkvZ9NPYO+/G1q4 wKziMFupJd7SA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gxB5W02Qpz6tvk; Fri, 10 Jul 2026 01:30:06 +0200 (CEST) From: Joshua Murphy <joshuamurphy@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81380: [PATCH] viper-macs: Fix viper-global-execute when delete-selection-mode active In-Reply-To: <87jyr4ifvc.fsf@HIDDEN> (Sean Whitton's message of "Thu, 09 Jul 2026 12:04:07 +0100") References: <87bjchgs9x.fsf@HIDDEN> <87jyr4ifvc.fsf@HIDDEN> Date: Thu, 09 Jul 2026 23:30:07 +0000 Message-ID: <87a4rzzqpv.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81380 Cc: 81380 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Thanks. Could you provide a test that will fail without this patch, to > make it easier to review for non-Vim users? Sure, do you want an ERT test, or just a function to test in general? -- Joshua Murphy joshuamurphy@HIDDEN
bug-gnu-emacs@HIDDEN:bug#81380; Package emacs.
Full text available.Received: (at 81380) by debbugs.gnu.org; 9 Jul 2026 11:04:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 09 07:04:18 2026 Received: from localhost ([127.0.0.1]:51221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1whmYE-0005Nh-HS for submit <at> debbugs.gnu.org; Thu, 09 Jul 2026 07:04:18 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:49247) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1whmY9-0005NB-I1 for 81380 <at> debbugs.gnu.org; Thu, 09 Jul 2026 07:04:17 -0400 Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 2AD3EEC0185; Thu, 9 Jul 2026 07:04:08 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Thu, 09 Jul 2026 07:04:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=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=1783595048; x=1783681448; bh=TAXL6YUZMZ ijQe0Zss4N+fJhHs8VtpuEFWHY9zmDes8=; b=pdniiF+TOSLQu2FFIZhRNsw9GZ Qc8zGsi1CYOd34CdglQ0LNfGzPbeSO6csrqLB0SVzKwRy+uTqCYGOP9g4xlcbQqt Ru0kMi4QuO7X7vSN0kXuEXKAQpkw5Og68QPl4haVB4yy/vlKH6q5fWfAuMbTQdi+ yFfSalXNmW0d7ggWWDOGtF0feNSlUIaEml2j/8uviAiKq4ib/DHGhrlNtsCYth8f bWExy/6PQeM6MuTJkUNFzCKtCtpmQiJJWYtGIF2s1ZUhg0ww9Go/j7PVfajQgpiQ SN6R/R0cD1fic25Q9+S7tC7r2wUCp7Wo9MvxLMNCUngUaXlOc1sHnJzA1zEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1783595048; x=1783681448; bh=TAXL6YUZMZijQe0Zss4N+fJhHs8VtpuEFWH Y9zmDes8=; b=MKGD6fWJDytTmebBGZpYM1goeGsgqosvVmBid07NMUOkyE1Pyhw xWpJeKX4c1ozoPwyucNglRFUla3zrVB90RUwbB8GI5Y79L/MhLlfCocq1fy62HlN sH3VquaWF7N4ctZKI/SGx7JDZOpoNJEfE6pDF4eH2mv93as2TE+V5ZjzCVm2qqJn nh7Q95PL3ch/9+ENdwZQvXEe95lLIfraMCzVU4kRBPF8d5pnlzySAnvd7k7Xy7+j GhbS2ACeBdVSBTVCoUNzewNFK8acse6h94v0sVg/KOHxsTN5LmxmjzsHZw/8SF6R FpYoKHdNhTZG50Bttq7inp0S+2aTXq9Og4A== X-ME-Sender: <xms:KIBPap-L-dPpNIMdLbPI1-w7KUuv4dt2pxiiYl1CU1gqEFuEaXL86w> <xme:KIBPajvs2OVltZt4u-LywOrOMhdWBl2wBgmiOEbVtNTWhHORn0MyGsXRbG79L0lnk ycn5PsoJ0OaC5zviv4HA4ccT730jq76C5JDJf-S0_w2khcLPxxl1h8> X-ME-Received: <xmr:KIBPakqNRubRwBMJG6jAXVEeLFnWjccvXrdqqUZihnzFGM_XyxUNfuhw91OPeMliOgJDnvEqrupE> X-ME-Proxy-Cause: dmFkZTFvdDWig7agVa250pmChUj9yBJyV98nh9KdieQXqdOdrkV7RQrBvkTOXjq4AoHeJE b5Qyf4/X49syQAy/A6uRvdZZr1V28fXMrgO7yJN7hcFKsA1zca2RQWveMdqeUhkc8Y05Ou FZnflMoaPSBYjWMOqXaCFqSyB75xmL2Y95HLQeCkfg3xJC1H7YrXMxyL2SAjOKBHAaaXpM 62Hvwnw3ooTjfSTtb1dhcOsIfmW9O1AupBQZ1o4fwiPq+5jfJ9X6keYiyWgAg/07sJiqWK NocFKRQ8TWwO7lTmuL0h3u8MIk4VDjLoQHODXIPVWbGhP1Qazl2jlhZWolg76GTnLoU2BM fdB1VfpzM+Y0BOnBPnVkCJMBPcMsDoX12xOXyZO4QqE9Fuv7FbILIUJcjp+CmUDUDpv3G8 MZEXqAjBiT0VrlOVnNid5No6qE58BPhBBBKRUREwBv7uBQnH2EGHmj2/wzNE12WDLaW3Bz n0a8eNqjeHTlVy9XHVnDK+eZ+MQo7ErBWraVVQ7WS2fbIUyq70fEKg4BA36uWwU6Rf+TJw 2EJt0w7nCtjToB/KO1uFZzGmD5YsrkpEeaksZAVbX7tTuxRR9pTRDhzER7ham2GmkKHxMX d3wGudCxRXioxZfoVJAyJNLwJZGG6Ry3Mau0GYKHQEnwbMJHFJzSCiPvvdVQ X-ME-Proxy: <xmx:KIBPaontDANtv-QI6aVnPWxV8Z42x4MS81z6Rp0aB-FEEbu65E20fA> <xmx:KIBPagy3_JsCdtO7oGu3mB_mrL67yswPrz7yfbcFEU4lXE8Z7lqG6Q> <xmx:KIBPaomjtjuxHoN57yfRbC87y7H5IxIFW2FUFuRa3IhdbnJlfxpETA> <xmx:KIBPahdqke_0blbPn250wTfu4PZnhZD5Zy5HkXGdKq5SqZI84teZNg> <xmx:KIBPalh112eTuIZU-4vkSkYeZId1OEHYiS5bxzml9taboCUv9vFeE4fy> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Jul 2026 07:04:07 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 0F2217E7418; Thu, 09 Jul 2026 12:04:07 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Joshua Murphy <joshuamurphy@HIDDEN>, 81380 <at> debbugs.gnu.org Subject: Re: bug#81380: [PATCH] viper-macs: Fix viper-global-execute when delete-selection-mode active In-Reply-To: <87bjchgs9x.fsf@HIDDEN> References: <87bjchgs9x.fsf@HIDDEN> Date: Thu, 09 Jul 2026 12:04:07 +0100 Message-ID: <87jyr4ifvc.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 81380 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Joshua Murphy [08/Jul 8:06pm GMT] wrote: > Tags: patch > > If you try to run the last saved macro on all lines in a region using > '# g r', and you have delete-selection-mode enabled, it will > run the macro on the first line and delete the rest of the lines. > > This is because the selection is still active when trying to run the > macros, and delete-selection-mode will delete that selection when > running them, so we should deactivate the selection before running > them. Thanks. Could you provide a test that will fail without this patch, to make it easier to review for non-Vim users? -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81380; Package emacs.
Full text available.Received: (at submit) by debbugs.gnu.org; 8 Jul 2026 23:24:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 08 19:24:36 2026 Received: from localhost ([127.0.0.1]:47932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1whbd2-0004UE-ER for submit <at> debbugs.gnu.org; Wed, 08 Jul 2026 19:24:35 -0400 Received: from lists1p.gnu.org ([2001:470:142::17]:37572) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <joshuamurphy@HIDDEN>) id 1whYXz-0007Ha-UW for submit <at> debbugs.gnu.org; Wed, 08 Jul 2026 16:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <joshuamurphy@HIDDEN>) id 1whYXs-0005Jv-GN for bug-gnu-emacs@HIDDEN; Wed, 08 Jul 2026 16:07:00 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <joshuamurphy@HIDDEN>) id 1whYXp-0004MS-VD for bug-gnu-emacs@HIDDEN; Wed, 08 Jul 2026 16:06:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 53E04240027 for <bug-gnu-emacs@HIDDEN>; Wed, 8 Jul 2026 22:06:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1783541213; bh=WBPCLIp85hseC/4B00CTmrDcIquziSRq8D5+R8Jqp0k=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=HMeaGe399HarMUCxzjh8UCpp09TAB9ClawiZinHcui4Wi8qTgoBpYtxWdh0763Xb0 K31CluvfAuRiIMuI0ayBWas346pMBnwTmr0TMBG1QKVuvF1QJ7kLTgkyeEJgH45Lyr ao6PMo9Dl1SjOe+lUnOL/FvDMdrKai0GcX1pJCo+HBj+oWuCHL78720rhC1/wsM2qY biApKvIoytTy8A9P4fdxlVaG8J8a48Qqvpmw0KlfTn8/xlwrlSCCsz2b/qyNDej/6m jgIMZ0lS64B8HjY+k+p1Ve/dQ0pcHxqiFZpXNn4IdR5Xbl2hY0DwMGoSlYK2ffZUWm 6FLOBxWjG2ISA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gwTdS3BdDz9rxF for <bug-gnu-emacs@HIDDEN>; Wed, 8 Jul 2026 22:06:52 +0200 (CEST) From: Joshua Murphy <joshuamurphy@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: [PATCH] viper-macs: Fix viper-global-execute when delete-selection-mode active Date: Wed, 08 Jul 2026 20:06:53 +0000 Message-ID: <87bjchgs9x.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=joshuamurphy@HIDDEN; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Tags: patch If you try to run the last saved macro on all lines in a region using '# g r', and you have delete-selection-mode enabled, it will run the macro on the first line and delete the rest of the lines. This is because the selection is still active when trying to run the macros, and delete-selection-mode will delete that selection when running them, so we should deactivate the selection before running them. --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-viper-macs-Fix-viper-global-execute-when-delete-sele.patch From 1256eaa9e7cdc983b1325b33b716470135088385 Mon Sep 17 00:00:00 2001 From: Joshua Murphy <joshuamurphy@HIDDEN> Date: Wed, 1 Jul 2026 15:16:50 -0400 Subject: [PATCH] viper-macs: Fix viper-global-execute when delete-selection-mode active * lisp/emulation/viper-macs.el (viper-global-execute): Ensure region isn't active when running macros. --- lisp/emulation/viper-macs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emulation/viper-macs.el b/lisp/emulation/viper-macs.el index 33bdd6fccf9..9cbe2c0c3ba 100644 --- a/lisp/emulation/viper-macs.el +++ b/lisp/emulation/viper-macs.el @@ -922,6 +922,7 @@ mistakes in macro names to be passed to this function is to use (defun viper-global-execute () "Call last keyboard macro for each line in the region." (if (> (point) (mark t)) (exchange-point-and-mark)) + (deactivate-mark t) (beginning-of-line) (call-last-kbd-macro) (while (< (point) (mark t)) -- 2.54.0 --=-=-=--
Joshua Murphy <joshuamurphy@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81380; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.