From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#72437: Unexpected behavior when inserting with prefix arg in electric-pair-mode Date: Fri, 16 Aug 2024 22:22:29 +0100 Message-ID: References: <87le1edqqm.fsf@breatheoutbreathe.in> <86h6c2ug0p.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004e377e061fd38f6e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72437@debbugs.gnu.org, Joseph Turner To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 16 23:24:48 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 1sf4RE-0009aK-12 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Aug 2024 23:24:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sf4Qr-0003ia-Rg; Fri, 16 Aug 2024 17:24:25 -0400 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 1sf4Qq-0003iO-Oa for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2024 17:24:24 -0400 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 1sf4Qq-0007zh-F7 for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2024 17:24:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=V8pXj+2nftqThDfYupGDF5DzZ/lP/qIgsxg5gB+UHb8=; b=GJk8LScvSZE8bc6qZ0FMKC+bgAqo+on5TWu9RNKagZuvG2t/s57eEZ/DszmgijkU/YxMyCoyZmJrFXQustkF6xJ2//Nvw0r3ovUZXrqX9qTFfVJ/nlxTKWxP9hX4Rsv8ZBe27XN1IHDR95EMVhzCrQvEfH/k0TojFnvJGnm+JVWduG0p3RP6fhTDOHrD9sGDWxxIQoYWK7Xv2+50tFHIuOj/lsGWky8cpl3XTmNIS2Qk3iqja6Ywh+8zwprjXAZY412WhZAF6dPnKE2Mxc7+yAFRcWZ82uyFbHCxpOOXNQ7A8QB4i7dl4wLPbfqVPi1V0lTGrBB5ahehNmeowtGd1A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sf4RS-0007q5-Ea for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2024 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Aug 2024 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72437 X-GNU-PR-Package: emacs Original-Received: via spool by 72437-submit@debbugs.gnu.org id=B72437.172384346930073 (code B ref 72437); Fri, 16 Aug 2024 21:25:02 +0000 Original-Received: (at 72437) by debbugs.gnu.org; 16 Aug 2024 21:24:29 +0000 Original-Received: from localhost ([127.0.0.1]:53033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sf4Qv-0007oz-2v for submit@debbugs.gnu.org; Fri, 16 Aug 2024 17:24:29 -0400 Original-Received: from mail-oo1-f46.google.com ([209.85.161.46]:56470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sf4Qs-0007oi-Sx for 72437@debbugs.gnu.org; Fri, 16 Aug 2024 17:24:27 -0400 Original-Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-5d5c7f23f22so1448667eaf.0 for <72437@debbugs.gnu.org>; Fri, 16 Aug 2024 14:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723843363; x=1724448163; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=V8pXj+2nftqThDfYupGDF5DzZ/lP/qIgsxg5gB+UHb8=; b=R5X72uzsXxbZdu/bOmptsGVUfrozX7E3bHHxV2r1MFEleLKZgll0CtYog1FjgRhYTy +aK3rsCvoPx66hwZ44o6eERdgp6m91+Fl0ynvoa/U+TkwVRRW4psy1PiM36rEQ0O4tWe 7BvMuAp6jZtZH/VyUIEDtVsgxOb6zA7a0KXxHpnJBbKQCn8YT30sFbjKohBALvKJj7DO qewfLdiYo9UL7Ok6Pfs375WbqYYZ7AAvYPrpgeNDNpcSGf7kC7jYVDTWCP//sHJNmm7L khCJo8Dabl9cu/CnvpCN72GPS88wt6MEkliwL2+KOY8P/UsLl0rRIGgyUpDEPvR/H6Rz 6xkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723843363; x=1724448163; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V8pXj+2nftqThDfYupGDF5DzZ/lP/qIgsxg5gB+UHb8=; b=CPJqnlXBhtdvcwnwdIMV63Dt2xIsLDaLV/O+Gaf0ujs7VX8ySXzBn12ztuVv9oOGaH xWGnH2c29GyaNGtsM/wQHqf5wNy8xhKpnRWwkKAWCbgEZeieDTwPYHaRh1xT4lelHBEa ibggq9dIOf6/Z+cv1Q3FfSa1QwLJtykF5flevf7hzDI7RHG9mx+aUXC+Hjf0aat85RjU MvJhY0ywULEH8YC0Dn9Ao7WQRwawvRlBa+YYHIjT8aMHhvzG8khiURzQ57DQ6qMHOkQs sUKCPwXopRRPzQrkV9p+xzYmIKSuJFP89+r7oTwWFbWLIoW+1uWdYCIXVtSGP48LFU+4 r9nQ== X-Forwarded-Encrypted: i=1; AJvYcCX9A2Rz8nugF+NHghiyngHt/FiFPU65KAuPXAXwefbvUTPJFBnKBMxmwUL85zMwxYO2vhRtVbMiBeDXSfukz7zq8nontuI= X-Gm-Message-State: AOJu0YzSi6lG2BlcIsdB9PmMpZ/+M+3RDh2AvcLlB3Gfmw9eyVVQEKMz nhoXBslok2yc1ikVIsyjvBKaPA3Ie3LcZTIbsAiZyAnjGmoZiHOxJhdzDQarMNvvA6Dj3m8oI8W GBKxTknFrqViFlmtgNrMiFXAk3MKVpw== X-Google-Smtp-Source: AGHT+IEVyK3Lt5B3BYC6ny3D3AmdUc/ubN1lWtr8XK2HMg8pnk2NCI+o0hKmE8VUFhjA9m+SxS8KGg+V7Xu17AUa4vc= X-Received: by 2002:a05:6820:222a:b0:5da:9204:671b with SMTP id 006d021491bc7-5da98026b3fmr5859341eaf.7.1723843363090; Fri, 16 Aug 2024 14:22:43 -0700 (PDT) In-Reply-To: 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:290209 Archived-At: --0000000000004e377e061fd38f6e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Aug 14, 2024, 01:57 Stefan Monnier wrote= : > Hi Jo=C3=A3o, > > Do you have a good idea of how to make > > C-M-SPC C-2 { > > wrap the selected word within two braces? > No great ideas no. Does it even work in the non-wrapping case? The intended result is as if the command was run twice, no? So maybe try somehow that the whole thing is run twice/thrice/etc... Jo=C3=A3o --0000000000004e377e061fd38f6e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Aug 14, 2024, 01:57 Stefan Monnier <monnier@iro.umontreal.ca> wrote= :
Hi Jo=C3=A3o,<= br>
Do you have a good idea of how to make

=C2=A0 =C2=A0C-M-SPC C-2 {

wrap the selected word within two braces?

No great ideas no. Does it even wo= rk in the non-wrapping case? The intended result is as if the command was r= un twice, no? So maybe try somehow that the whole thing is run twice/thrice= /etc...

Jo=C3=A3o
<= div dir=3D"auto">
=C2=A0
--0000000000004e377e061fd38f6e--