From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#45607: 27.1; compiled replace-string breaks repeat-complex-command Date: Thu, 9 Jun 2022 01:39:01 -0700 Message-ID: References: <80o8i7676p.fsf@felesatra.moe> <87czfkir6n.fsf@gnus.org> <86r1402un1.fsf@mail.linkov.net> <83pmjk5miq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008d235b05e0ffc13f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37048"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 45607@debbugs.gnu.org, Juri Linkov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 09 10:40:49 2022 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 1nzDii-0009Xc-N4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 10:40:48 +0200 Original-Received: from localhost ([::1]:37714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzDih-0005oW-FL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 04:40:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzDi2-0005lf-En for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 04:40:38 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzDhy-0001a4-J4 for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 04:40:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzDhy-0004wV-EI for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 04:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jun 2022 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45607-submit@debbugs.gnu.org id=B45607.165476396018931 (code B ref 45607); Thu, 09 Jun 2022 08:40:02 +0000 Original-Received: (at 45607) by debbugs.gnu.org; 9 Jun 2022 08:39:20 +0000 Original-Received: from localhost ([127.0.0.1]:44932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzDhH-0004vH-Oe for submit@debbugs.gnu.org; Thu, 09 Jun 2022 04:39:20 -0400 Original-Received: from mail-oa1-f51.google.com ([209.85.160.51]:43999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzDhF-0004v3-Ue for 45607@debbugs.gnu.org; Thu, 09 Jun 2022 04:39:18 -0400 Original-Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-fe023ab520so6978052fac.10 for <45607@debbugs.gnu.org>; Thu, 09 Jun 2022 01:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zWiLtvwYtuCRHkg2sdrrG6mxZFb995xFB1bUKvbGg5Q=; b=NnGP2JCWeT+31rC3qt0FofDe5WcVOpt/RISFRO4i4J8Iy+pVkPnGTbHafcJpHYP6ug +wA8SngRhuacdSqfi4wEo0yfHZXcDccDPV/LtbRGIfhUf62jrCH1sM0rjsB4a4airBEL CDUxSZIwizzePVX7FuyOsu4EfkEg31pRyQc2IBkor/68g0TGoADiPUNCZ9o8PisFzPn7 LkuMdOVQjX3gEocLXGtXCeagE3vp2Z7Hja25y911KP5WwHy+kXed/K9NTjXUGmkliWzp E+MrH0vzmaM6Ebfb0dnLpdBILMIheARxbLjtlXZ2DOv5sGroTuZ0EdleyAU6JDcQ7b0P K0ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zWiLtvwYtuCRHkg2sdrrG6mxZFb995xFB1bUKvbGg5Q=; b=mLz47dORyqgsIgxB/2SUtXbJauZyz4qo02zAlgbS8WVY6ZCTxxNxpDLdEOEhB4xoqO RIvOxQdCrSvyQsFjg2+oXsga+hyGXt4dWH42lv08tcuiUNbQpP5pNGopk+qzMy0MBTi2 /tlVDtVSEHU5ARAn1wBpIEFt4DckswtjSKRcLH3j2e5Nk4o7cTeccvBL8S0Uiu4KVCV1 R7INUKGMkRIjhYGrto2qJUtHK+qicdAP+YrjzJpqxgGYfNhisIXK8spggnojImCW7Gb9 Ga5VnhbJHOeUFVPQio7ipKnPT9fz1e3ILbMrUclNFQQ8kf1xaTlihfqDebQzxX3kKhYo 22PQ== X-Gm-Message-State: AOAM531wEuTvbOxyElGtDROgEeX+WaUYQhVw+1/YEOGtfq5fbciWNS9o l7P1jgU7xLmMdY1I2kF87v4IURch1uUi75pPRyqavQ== X-Google-Smtp-Source: ABdhPJxsN5nFTHN18gWx6b5F1LVg9luky/2FMZUE0/VhhU8kXiYQJKJJS9AZDij5zOFgZpB75l7T/69fYa9MlrYg/Kk= X-Received: by 2002:a05:6870:c390:b0:f1:6a3a:227b with SMTP id g16-20020a056870c39000b000f16a3a227bmr1093383oao.142.1654763952081; Thu, 09 Jun 2022 01:39:12 -0700 (PDT) In-Reply-To: <83pmjk5miq.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" Xref: news.gmane.io gmane.emacs.bugs:234027 Archived-At: --0000000000008d235b05e0ffc13f Content-Type: text/plain; charset="UTF-8" On Tue, Jun 7, 2022 at 11:58 AM Eli Zaretskii wrote: > > Cc: 45607@debbugs.gnu.org, Allen Li > > From: Juri Linkov > > Date: Tue, 07 Jun 2022 21:40:58 +0300 > > > > > Does anybody know of a more general solution to this? > > > > This feature is broken by design as I explained in > > https://debbugs.gnu.org/45617#17 > > It isn't broken, you just expect it to do some magic that it never > meant to do. > > As in many other cases, the perfect is the enemy of the good here. > I think it's reasonable to consider the different behavior of evaled vs compiled to be a bug. Which one is correct can be debated, but the fact that they're different is a bug. Would you disagree? --0000000000008d235b05e0ffc13f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jun 7, 2022 at 11:58 AM Eli Zaretskii <eliz@gnu.org> wrote:
> Cc= : 45607@debbugs.= gnu.org, Allen Li <darkfeline@felesatra.moe>
> From: Juri Linkov <juri@linkov.net>
> Date: Tue, 07 Jun 2022 21:40:58 +0300
>
> > Does anybody know of a more general solution to this?
>
> This feature is broken by design as I explained in
> https://debbugs.gnu.org/45617#17

It isn't broken, you just expect it to do some magic that it never
meant to do.

As in many other cases, the perfect is the enemy of the good here.

I think it's reasonable to consider the differen= t behavior of evaled vs compiled to be a bug.=C2=A0 Which one is correct ca= n be debated, but the fact that they're different is a bug.=C2=A0 Would= you disagree?=C2=A0
--0000000000008d235b05e0ffc13f--