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: Sat, 02 Jan 2021 01:04:30 -0800 Message-ID: <80o8i7676p.fsf@felesatra.moe> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33840"; mail-complaints-to="usenet@ciao.gmane.io" To: 45607@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 02 10:08:11 2021 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 1kvctP-0008jB-4f for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jan 2021 10:08:11 +0100 Original-Received: from localhost ([::1]:54018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvctO-0006Ds-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Jan 2021 04:08:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvctG-0006DW-JH for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 04:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvctG-0003mF-CC for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 04:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kvctG-0004uP-6u for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 04:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2021 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45607 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160957843718295 (code B ref -1); Sat, 02 Jan 2021 09:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jan 2021 09:07:17 +0000 Original-Received: from localhost ([127.0.0.1]:45788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvcsX-0004kx-Dj for submit@debbugs.gnu.org; Sat, 02 Jan 2021 04:07:17 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvcq0-0004JP-B6 for submit@debbugs.gnu.org; Sat, 02 Jan 2021 04:04:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvcpz-0005EP-D9 for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 04:04:39 -0500 Original-Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:43916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvcpu-0001ef-3v for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 04:04:39 -0500 Original-Received: by mail-pf1-x42a.google.com with SMTP id c12so13393131pfo.10 for ; Sat, 02 Jan 2021 01:04:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=M425tvB000HGCmb5pUTOPTQvSQIVhT14XnuKSY7W1mw=; b=LbhJYWQjQImaUGu7zvUs34SoRJTTqx/NJpZ/Iqy9tlj08I78Kb+3bkotEMCvxBKa5l r7S48UYS/s+F6azUiZIAH0a8eGP/VangB6F1NmNvPMo221ZNUvbjiCGV8VLKA6lbpBiZ ffXPbNnQgdJeic0YrgrI8SvphrVjMmmtHRUzlwDw7+kHKS8p8Awh+PvBsgANT0Qhzlor 3ldHv95P6LAXtWJAFXhBAnnS2oDm7mGwjk2r3eRPfsplXieA3+pjMg9BxA7+eWLglzWz mhUus3nnBsf4CSqqiFhFAGYlobiMVPHcWN5LODA/UZTvUSEsfnyUI3ANwYn/8SOH0J/+ vq2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=M425tvB000HGCmb5pUTOPTQvSQIVhT14XnuKSY7W1mw=; b=HozippMgQqxh4VsxMqtSnwSajKAzutR4wgFPW1SL3D3/dMiCWnHWajljDwqpGADwbk 56Nb696neO8rk56FEyu3/Sj3xmgTBDyYGUtXwZ4qPiEHd3hqBKJUCda+gndnfqYu+NE+ 4w/WqVH4X/E4v5y02PRwKJvz9BE9+MOhrpTc6GY8c+PYxlQNqC5DVsjgtaf58Jif6lxZ /MO2bq3BYD9vjglPzX6J5tfGLii+4qHC0S8CddYG99BMjRzoaB8v0CN+CfnNxCwdAFiO 3UfOP9cza48pVvLuYv07/H8Zztg4ZigNH5E4Cqm4El/zYAL7GnKfeEs9sjLFhJVr9bSh L/zw== X-Gm-Message-State: AOAM531vDyWmcd4fBLasRZkoAKfppbRpkd6IfEGde2UqzSJNVNdxUkZ2 5kdTdJm+ko7c7Gx3U5NYCgSCF4IwecXbDSLP X-Google-Smtp-Source: ABdhPJw6mkQ7EB5iQN2QGDf8dJiauLZiY2qe1Gswq61SqsEYTNUSn29NSAOmbAh5EFbCW5wJiSx8cw== X-Received: by 2002:a63:e108:: with SMTP id z8mr59989274pgh.363.1609578271884; Sat, 02 Jan 2021 01:04:31 -0800 (PST) Original-Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id nk11sm15391853pjb.26.2021.01.02.01.04.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Jan 2021 01:04:31 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=darkfeline@felesatra.moe; helo=mail-pf1-x42a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:197173 Archived-At: Interactive commands that act on the region are handled specially such that when repeated with `repeat-complex-command`, the repeated command uses the current region rather than the region used for the previous invocation of the command. `replace-string` does not respect this; it uses the previous region when repeated with `repeat-complex-command`. Note that loading `replace-string` from source (rather than byte compiled) fixes this problem. So it's probably a problem with byte compiled commands. I swear I filed a bug for this a long time ago, and I can't remember if it's a regression or it hasn't landed in a release yet. I can't find the original bug. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3) of 2020-08-28 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Arch Linux Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix