From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#38867: 27.0.60; fileloop-initialize-replace misses occurrences to be replaced Date: Tue, 31 Mar 2020 18:23:54 -0400 Message-ID: <87imiki2o5.fsf@gmail.com> References: <1577941704945.15167@mit.edu> <87a746jcnu.fsf@gmail.com> <835zetc0bn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (gnu/linux) Cc: etimmons@mit.edu, 38867@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 01 00:25:15 2020 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 1jJPJr-0000C4-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Apr 2020 00:25:15 +0200 Original-Received: from localhost ([::1]:44694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJPJq-0001iN-1N for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Mar 2020 18:25:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35801) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJPJf-0001gq-Rm for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 18:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJPJe-00071x-OI for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 18:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53844) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJPJe-00071S-Jv for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 18:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJPJe-0007dg-F2 for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 18:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Mar 2020 22:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38867 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38867-submit@debbugs.gnu.org id=B38867.158569344429295 (code B ref 38867); Tue, 31 Mar 2020 22:25:02 +0000 Original-Received: (at 38867) by debbugs.gnu.org; 31 Mar 2020 22:24:04 +0000 Original-Received: from localhost ([127.0.0.1]:37157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJPIh-0007cM-I2 for submit@debbugs.gnu.org; Tue, 31 Mar 2020 18:24:03 -0400 Original-Received: from mail-qv1-f53.google.com ([209.85.219.53]:43870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJPIf-0007bo-VH; Tue, 31 Mar 2020 18:24:02 -0400 Original-Received: by mail-qv1-f53.google.com with SMTP id c28so11789018qvb.10; Tue, 31 Mar 2020 15:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=E5/4loqscnhy2+mC5T8vV/CEHtWuJki6/t2FZcdzXso=; b=nU0J0sfP0DC2GK5zhtsQQf32zoidkvCHDHatVA/ujZrHTQuvJziGW1s1d3Hpt7dJS8 irAo8kKhKxr3Ck8VZxhXyOttMGK0okBFWkk4dyfSbZjrGkA7HQrTpk6YkZnHGnXMZ9ET o6sWUG9fF9ufUW71+T29/dbyb4CLfo3ZXFGxBMky8+Mst7EEAv2385pTp0T3HyXgPWC7 +3FBfbzY7u64jhMWb4miDONbj1UFCExhd6r0Jbo5KLx6uQxtdcIsy9SZdfnFdbVUz7cO BtNWVHN9dBW9nTQRwN2n34zeouP6zEWF3LkE15XIPYYGKg7W9wgF6s2RQDiRNPTR3+Hq FENQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=E5/4loqscnhy2+mC5T8vV/CEHtWuJki6/t2FZcdzXso=; b=UZtWjrgAyK588aGoaTGLd3ieoBn5CcOrHwrTPp2ktc9YHrTgk43GnkMdjZ4QV7cD2s V3LBySWS0NQKFH+tOoicTN5lvastoOpUUFkw+t0a/imMHhsjzvho92sjDjdy8h9TxCqq vaGWBm8KOVV0pKU256XxSRzUreBr2hBRlS9KNOEQrhLze68DeGsloe07pk4fo+cLFKtA CyFNGL1Lj3LTqGqmZTZtAwrHM+ScG22Kb8V/oYlkiXqHSc1Tp2+VtNhL1Kaaoaj8rPJw 0U1blqtdO8Btwd9oa72IWZ1iXFaKtU6y4t58p7yU0ETAgCU9PoYTElFzWb2fEkcMSJen AMdg== X-Gm-Message-State: ANhLgQ2N/xGtzP0mx4Lnr0P6rFpcguK0Hkw5uMb4b/XU7VU5nReB8xSi KlQWe9ICukJO8mqfo0OiIYLeFrzv X-Google-Smtp-Source: ADFU+vu7Kbgt629Zo5LN7XSLRYS5JIYOAZ1oDGpx9nfEOR+IOqQc6GL+eYF7bRJ2QlBExXKENuQmMg== X-Received: by 2002:a0c:e810:: with SMTP id y16mr18879588qvn.198.1585693436230; Tue, 31 Mar 2020 15:23:56 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id p65sm218837qke.42.2020.03.31.15.23.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Mar 2020 15:23:55 -0700 (PDT) In-Reply-To: <835zetc0bn.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Mar 2020 16:08:28 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177931 Archived-At: tags 38867 fixed close 38867 28.1 quit Eli Zaretskii writes: >> Should this go to emacs-27 or master? The assumption that point >> would be preserved seems to be long-standing, but I guess the change >> in the default of switch-to-buffer-preserve-window-point is what >> surfaces the bug and makes it more recent... > > I think this can wait for Emacs 28, but if you disagree, please tell > why. I don't really feel strongly about it, so I've pushed to master. [1: a477a7b86b]: 2020-03-31 18:17:53 -0400 Don't lose point during fileloop replace (Bug#38867) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a477a7b86ba7c59a90b18283cc86769c27de6c7c