From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65536: 30.0.50; replace-regexp-in-string documentation does not mention it saves match data Date: Sat, 26 Aug 2023 10:40:18 +0200 Message-ID: References: <837cpjnr2b.fsf@gnu.org> <8e1911a9-1944-c018-f108-fb34323b361f@vodafonemail.de> <83il92mj20.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35227"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65536@debbugs.gnu.org, Jens Schmidt To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 26 10:41:19 2023 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 1qZor8-00090O-Pf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Aug 2023 10:41:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZoqp-00071B-GL; Sat, 26 Aug 2023 04:40:59 -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 1qZoqn-00070j-ID for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 04:40:57 -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 1qZoqn-0002MN-9n for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 04:40:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZoqs-00052g-Ag for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 04:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Aug 2023 08:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65536 X-GNU-PR-Package: emacs Original-Received: via spool by 65536-submit@debbugs.gnu.org id=B65536.169303924419350 (code B ref 65536); Sat, 26 Aug 2023 08:41:02 +0000 Original-Received: (at 65536) by debbugs.gnu.org; 26 Aug 2023 08:40:44 +0000 Original-Received: from localhost ([127.0.0.1]:41718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZoqZ-000521-MQ for submit@debbugs.gnu.org; Sat, 26 Aug 2023 04:40:43 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:61614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZoqX-00051j-2S for 65536@debbugs.gnu.org; Sat, 26 Aug 2023 04:40:41 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4ff09632194so2570137e87.2 for <65536@debbugs.gnu.org>; Sat, 26 Aug 2023 01:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693039230; x=1693644030; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zZVTTL8BKp89GbF7tKYacazq7wHu2b3w2SyiDZKyMNU=; b=ZztK5M1KuiHF11dYbbsfd5liLPZz1yiYfdgsa90DEYRXbsmQ2AxVN2MkhwTvnHf/1Z d37EUOLjKqIRNdBasZLQ6dRUlcH9CJ35QZgpezCCdA5rXCo7IKrz+n4Z+gsDpsK2ZaRo K9L0f6Yt+ukq+oxjLAbX/FWdgtZTSGsv2OQ0q8tOP7WpMZGvGLrrIbxsIROywozfcriM IgE2blNjzuFQnRvWCcM6JvGp/N199QGzak5L9qtsEN7k8vYsHnHZuX5m7fJawTEn4Ok+ GRi/eVaseKeoiNm1tYNmHW6NhfLPDqNcRKBYmFH5qwUYebMPCqCcSnFaZEHOoFirUdaC zHNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693039230; x=1693644030; 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=zZVTTL8BKp89GbF7tKYacazq7wHu2b3w2SyiDZKyMNU=; b=gMDph/XjBi+9moTLTWxm+mzFobSOlOvhSKIz4hZ9PW88B96gVN46+av3gdD5naMogG u3nyoooMMx5lMVC2nkVw5Ufth81ZZ6WSRlT+3NawUkcewudMKx5o/yi812KTh8uuvtb3 f7PIRloe25ua0nySvRRIJlvpjJyZwPLLHxKs2M2laYXClSHN7vkYFyxO/9UBx1p2KR8Q vKL009QqblarAxbKMGQfNVOPTZfWLPXwFRj2xpJDa1F/t6KWA9JlHKDagJfIq0/mjx5Q 2AJRJJ2JHzuTaxyRF+lUexPxqsypta5jz3WF8/eWN56cD7AHGaRfD46P7LOpBeDpH5CU 3iWQ== X-Gm-Message-State: AOJu0YwfMqcfbUK6cPlk2A/pAqoAe3vbphg4WtFQ53HANNaMTu2QmHTD ouKBYvxa1oYNujex9zLI2fO5rPS2Sz2oXXfpTBM= X-Google-Smtp-Source: AGHT+IGWjXvVD2QIgDkaq2aWcHi4nH046UQLeDqa1l1iVrjQVI/aIufszl8TJYzWkB08YAZqgkvKzrx/p7GnNLNo7QQ= X-Received: by 2002:a19:7617:0:b0:4fd:fd97:a77b with SMTP id c23-20020a197617000000b004fdfd97a77bmr13621757lff.50.1693039229770; Sat, 26 Aug 2023 01:40:29 -0700 (PDT) In-Reply-To: <83il92mj20.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:268490 Archived-At: Eli Zaretskii writes: > I think it's okay to leave things as they are. > > Stefan, WDYT? We do not want to change replace-regexp-in-string's behavior. This goes without saying IMO, and needs no documentation changes. I also see nothing highly surprising or unusual about it saving match data. Interested users can easily read the code to see if it does, just like Jens did. So I also think it's fine not to change anything here, on balance.