From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65854: Multi-file replacement diff Date: Fri, 22 Sep 2023 19:06:12 +0300 Message-ID: <83jzsi5h1n.fsf@gnu.org> References: <86sf7mgd54.fsf@mail.linkov.net> <86bke943tp.fsf@mail.linkov.net> <83jzswrios.fsf@gnu.org> <86o7i7oo9t.fsf@mail.linkov.net> <86sf7g548a.fsf@mail.linkov.net> <83pm2jkhsg.fsf@gnu.org> <86msxeu1q3.fsf@mail.linkov.net> <83zg1e7jq3.fsf@gnu.org> <86o7hunqyu.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: me@eshelyaron.com, 65854@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 22 18:07:21 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 1qjigZ-00076H-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Sep 2023 18:07:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjigF-0001i4-Oy; Fri, 22 Sep 2023 12:06: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 1qjig8-0001BW-RC for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 12:06:54 -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 1qjig7-00089C-Q6 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 12:06:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjigI-0005Nf-8n for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65854 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65854-submit@debbugs.gnu.org id=B65854.169539878920641 (code B ref 65854); Fri, 22 Sep 2023 16:07:02 +0000 Original-Received: (at 65854) by debbugs.gnu.org; 22 Sep 2023 16:06:29 +0000 Original-Received: from localhost ([127.0.0.1]:37181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjifl-0005Mq-7r for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:06:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjifg-0005Mb-Te for 65854@debbugs.gnu.org; Fri, 22 Sep 2023 12:06:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjifP-0007tz-Vz; Fri, 22 Sep 2023 12:06:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=DDOyQDPHLQg6kdrzQl35eWlRM/zmieZ1px7G5wnfMcQ=; b=jyn1Xen/66eN Aj+xf31694gbpDp03HsfAqY3S7flA7Nbr5BTl6up8LE8f85SF/7WFzti3Lx0GPF0Y5Rkl+Sap+uMx 0TKyJOricG6FIMBqQnjPMYjt6U59BT39X+YOjVbRHsJCTHaUg64oIixosGAWMty5wpmBPtNA1ZKvo lVcng813YlXTfY/05xNuL+siDQcZ4uU0yY3lLSbCKuoRGuaQhsyDNOadlZ8iT2vsI7Gp/nkL9hQYe w2wGz8R/Vd+yw6BGjl44ubx58AYnMix+v8WWYM+ppRD6leYzsVGGYE7i1HzQGQGtx5uhRfAHqG5ad EI+vsi65XRz0wgo/WA9pMg==; In-Reply-To: <86o7hunqyu.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 22 Sep 2023 19:02:33 +0300) 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:271117 Archived-At: > From: Juri Linkov > Cc: me@eshelyaron.com, 65854@debbugs.gnu.org > Date: Fri, 22 Sep 2023 19:02:33 +0300 > > >> + However, when the file > >> +is not visited in a buffer, or the buffer is not modified, still read > >> +contents from the file." > > > > Seems to describe an implementation detail, and I don't think it > > should be there. E.g., what if the file visited by the buffer no > > longer exists? > > If the file visited by the buffer no longer exists, then > the standard error is signaled. Which means in that case it is better to use the buffer text, no?