From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72437: Unexpected behavior when inserting with prefix arg in electric-pair-mode Date: Wed, 14 Aug 2024 07:39:27 -0400 Message-ID: References: <87le1edqqm.fsf@breatheoutbreathe.in> <86h6c2ug0p.fsf@gnu.org> <86a5htvclm.fsf@gnu.org> <86zfpttpfl.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15473"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 72437@debbugs.gnu.org, Eli Zaretskii , joseph@breatheoutbreathe.in To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 14 13:40:42 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 1seCMp-0003nG-Jc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Aug 2024 13:40:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seCMh-0008Vt-Np; Wed, 14 Aug 2024 07:40:31 -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 1seCMe-0008Vg-4q for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 07:40:28 -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 1seCMd-0000lE-An for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 07:40:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=jb5FlDYAUMTaXYB5FoScirfY8miRA0JGCsJmJOHf9mc=; b=F3MAXrVIMKByBo4BZy+qYXyJFxPy3I+Q8kzHh2TWCiQPT5EhHgEagrc/pB6ilxCtY9i6+KkysS85AZUO7ENmOcTuNSGn1xAwu1gHNSaYHx5Ut4lTydrY8md1yAUhnNzWKBX9lQbn9lMrdPLiNJGWtLKnOLoU9Flv4ClF2uOIX4jVj9ZdxoBw/aTXtX8bRZSVOpLcLisw8ZFT98/zSGBSr8oQozpe3neGmaRl9vj5c3FgSVjl8FGyZoZTA8uUliSDofPcuWYhyOm2Tmv+q66TWCudhlhJBCjL2rjl/ofNhNVN6pKjY5OaKonDugMi8H1qz04K9gtry0cQrXRS0zfp0Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1seCNC-0001DC-0W for bug-gnu-emacs@gnu.org; Wed, 14 Aug 2024 07:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Aug 2024 11:41:01 +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.17236356124584 (code B ref 72437); Wed, 14 Aug 2024 11:41:01 +0000 Original-Received: (at 72437) by debbugs.gnu.org; 14 Aug 2024 11:40:12 +0000 Original-Received: from localhost ([127.0.0.1]:46342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seCMN-0001Bs-UU for submit@debbugs.gnu.org; Wed, 14 Aug 2024 07:40:12 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:35530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1seCMM-0001Bd-JC for 72437@debbugs.gnu.org; Wed, 14 Aug 2024 07:40:10 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7944B10005D; Wed, 14 Aug 2024 07:39:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1723635569; bh=9Cn61FRob82rg+7Xyo66SS38EXL1sh3jniSQVj4wnGE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ektEJIVZQVywM276fF94fwKQuyDQd99MVt7W3yyYO5Me/LRgWDnhtVVV74taDx9XG il07cjU/SufBCh3VaR1RW6RmlYuX6lvDmLLbI8v6ZaUcu6TXt7fYkyns240JkV06yQ keM2HnkunsGeo3cuZFFKj4GzyFgT6aPM58FxRM3Ezt4brhEBU3xeWJKNEivY2BmmpC q7K0vG5v8ldWyHBbj9tkbtvsrKNU03QpOTF6g23MAs3YHNzDsGMSyd5q63yTJEFxuy TKacm0wyZNjVUj1HVStsam10NNs5SdNmRa3esOejNRapEw5OeI8n9oLYQY3KFCseTH 3OVD11lIquxSg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 693A5100042; Wed, 14 Aug 2024 07:39:29 -0400 (EDT) Original-Received: from pastel (unknown [216.154.9.87]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 362A212065C; Wed, 14 Aug 2024 07:39:29 -0400 (EDT) In-Reply-To: (Eshel Yaron's message of "Wed, 14 Aug 2024 07:07:23 +0200") 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:290131 Archived-At: > In case you missed it, the patch I shared upthread might give you > some ideas. It implements the requested behavior, safely, I think. > So I would just ask Joseph to try it out for a while and see if it > works as expected and if any other issues crop up :) I missed that, indeed, sorry. Then maybe we should just push it to `master` (with appropriate regression test(s)). Stefan