From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#18336: 24.4.50; When editing externally changed file, Emacs asks too many questions Date: Mon, 02 Mar 2020 10:04:06 +0100 Message-ID: <87tv373z7d.fsf@stefankangas.se> References: <87mwaq74xg.fsf@fencepost.gnu.org> <87h7z86hs9.fsf@stefankangas.se> <86v9nooxcg.fsf@gmail.com> <87tv38kp33.fsf@fencepost.gnu.org> <83sgisypbd.fsf@gnu.org> <87pndwklz6.fsf@fencepost.gnu.org> <83o8tgyn1k.fsf@gnu.org> <874kv83pg7.fsf@fencepost.gnu.org> <83lfokylpp.fsf@gnu.org> <87r1yb8kbv.fsf@gmail.com> <87wo8340ct.fsf@stefankangas.se> <838skjyw3t.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="75904"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: dak@gnu.org, npostavs@gmail.com, 18336@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 02 10:05:12 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 1j8h0i-000Jap-8q for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Mar 2020 10:05:12 +0100 Original-Received: from localhost ([::1]:56982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8h0g-0002CQ-US for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Mar 2020 04:05:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42579) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8h0Z-0002CI-Ti for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2020 04:05:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8h0Y-0001uL-RD for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2020 04:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8h0Y-0001uC-Nt for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2020 04:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8h0Y-0008U2-JR for bug-gnu-emacs@gnu.org; Mon, 02 Mar 2020 04:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Mar 2020 09:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18336 X-GNU-PR-Package: emacs Original-Received: via spool by 18336-submit@debbugs.gnu.org id=B18336.158313985532507 (code B ref 18336); Mon, 02 Mar 2020 09:05:02 +0000 Original-Received: (at 18336) by debbugs.gnu.org; 2 Mar 2020 09:04:15 +0000 Original-Received: from localhost ([127.0.0.1]:37294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8gzn-0008SF-7l for submit@debbugs.gnu.org; Mon, 02 Mar 2020 04:04:15 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:33672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8gzl-0008Rw-WE for 18336@debbugs.gnu.org; Mon, 02 Mar 2020 04:04:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JaanQFb8ZBtBCxv+4JpCkWSKMe4xV99A012ZFP+Fdrc=; b=rtzxsfqjlcZv9WLSJnvc5wzGpb +AuRzLIEThWme+Pthhndml+fbKiyn6UhDvdJ/EZ3vWCiKvA2BsicJNsttoQ67seOnsQONigrLWf2q 1vF2ND/xifKze7lRfZKzT6lTtowPNLYCyLD+O19epIawygpCKkm0ITHnbiORDW1m/ccQ/ZWdU0mmQ mjL/Bb0Cpe5NjNbTgoUa1toxKbOxBFL+AlJj2a9mKKyiYUa2hsyjvV512wJQpnNROR6zSGe/OslFl gqTpKsFccdSxuRJCLxrV+0dI//9McoDxm7eLPQKAD7AI61FIn5+etW0M67kBa7fVeIqZrZunEScL4 Ywjuzx3A==; Original-Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:45832 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1j8gzg-000wds-6V; Mon, 02 Mar 2020 04:04:08 -0500 In-Reply-To: <838skjyw3t.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 02 Mar 2020 10:55:18 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se 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:176761 Archived-At: Eli Zaretskii writes: >> From: Stefan Kangas >> Cc: Eli Zaretskii , David Kastrup , 18336@debbugs.gnu.org >> Date: Mon, 02 Mar 2020 09:39:14 +0100 >> >> 0. emacs -Q >> 1. C-x C-f /tmp/moo.txt RET >> 2. abc C-x C-s >> 3. From terminal: echo "foo" >> /tmp/moo.txt >> 4. type something, get these messages: >> moo.txt changed on disk; really edit the buffer? (y, n, r or C-h) y >> 5. Answer 'y', save the file, get: >> - do you really want to save? [not logged] >> - moo.txt changed on disk; really edit the buffer? (y, n, r or C-h) y > > First, this is not what David reported, see his description up-thread. Isn't it? He described: [Original change behind Emacs' back, the trying to edit buffer] smobs.cc changed on disk; really edit the buffer? (y, n, r or C-h) y File on disk now will become a backup file if you save these changes. [So far so good. Now pressing C-x C-s] Saving file /usr/local/tmp/lilypond/lily/smobs.cc... [That message is ok] smobs.cc changed on disk; really edit the buffer? (y, n, r or C-h) y [That question is ludicrous. I am saving the file, not editing it.] I don't think I see what the difference is from what I reported. (Or maybe my description wasn't clear?) > And second: are you saying you get the question > > do you really want to save? [not logged] > > right after "C-x C-s", then the question > > moo.txt changed on disk; really edit the buffer? (y, n, r or C-h) > > right after Emacs says "Wrote moo.txt"? That is, you didn't do > anything after saving to get the last prompt? Yes. Best regards, Stefan Kangas