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#18336: 24.4.50; When editing externally changed file, Emacs asks too many questions Date: Sun, 01 Mar 2020 11:26:23 -0500 Message-ID: <86v9nooxcg.fsf@gmail.com> References: <87mwaq74xg.fsf@fencepost.gnu.org> <87h7z86hs9.fsf@stefankangas.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="128297"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: David Kastrup , 18336@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 01 17:27:13 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 1j8RQv-000XIR-5U for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Mar 2020 17:27:13 +0100 Original-Received: from localhost ([::1]:49664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8RQu-0000t4-8l for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Mar 2020 11:27:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52012) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8RQl-0000sp-JO for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 11:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8RQk-0004Fa-Ib for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 11:27:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8RQk-0004FO-Ec for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 11:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8RQk-00076d-BU for bug-gnu-emacs@gnu.org; Sun, 01 Mar 2020 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Mar 2020 16:27: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.158307999927278 (code B ref 18336); Sun, 01 Mar 2020 16:27:02 +0000 Original-Received: (at 18336) by debbugs.gnu.org; 1 Mar 2020 16:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:36882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8RQN-00075u-7M for submit@debbugs.gnu.org; Sun, 01 Mar 2020 11:26:39 -0500 Original-Received: from mail-qt1-f180.google.com ([209.85.160.180]:41886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8RQL-00075Z-2k for 18336@debbugs.gnu.org; Sun, 01 Mar 2020 11:26:38 -0500 Original-Received: by mail-qt1-f180.google.com with SMTP id l21so5747516qtr.8 for <18336@debbugs.gnu.org>; Sun, 01 Mar 2020 08:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=WFqYHD9F4COJGxV1jAU91zPGasnVhWi4kbtv2ecA4M0=; b=LCgKLNhdV0b3DHb2/KIwWNFjK0csnGQk4PkzzjuIAzYjyPjCPXscQDFHvAmunsKitO BfiKLr2cacDfebcEYdi7091HzyI3WcHc3uuNAzWJxHEU5F9NlLzyOFESya22IaBvJqYx zEZhzjS9ELYEZyoziJDfR1HB9Q8v9V8TCEoKnUkWrEDJvFdF3uuDFs0jXY84pJl2XmDd kL7HQXSXj46b8y4mmHuqlHdhBVe+l7K0dbb6kpSNJBPOuj5Mi2+XAu7XJcRJmXIvOli0 dulUSC+Rjol4vC2NzmKQOiEqC76ql02wreo/3nl3MlrOpqdTact3xJYxjnoHDc+IQ7kM ERqQ== 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:in-reply-to:references :user-agent:date:message-id:mime-version; bh=WFqYHD9F4COJGxV1jAU91zPGasnVhWi4kbtv2ecA4M0=; b=O+fzNc/Vwcn9h+eM4yzIpMerGGv6UUyymnHZqWk0tNjKiIceGOlUq8hF3tjwT7rgJK oBy6ovyulTPhjzy6yRMhY23F32hwIqGSpNLY+6fZ818eepb9MHr59UCtxKW1VUaG9kmU rVHt7Tv8lVTuIC51iV8jPS8BX3nQQTBsiNPHyyo/Ol4cKzEsmXfuS2YKJXDDewyLeIpS Xe4NoJZMvy6ez3ogZq1MsdEq5OiMjYeTkXOCaqdHUbSRi2izya/k6u7reYnMQxLABKW7 +QgJbyFAxg+Ker50rfXfdJm6l4rKVxtSePIYS9WzrOWG+xkkyI49XVsx7/KOgNF6m0ZR KHIQ== X-Gm-Message-State: APjAAAV4izhMXVYtw2MYQDdH66ZbgdZwwhbglB4YLJaCVn1N6BoKSfYj zPRyv+6lrOJL/PYdHxISySgIeTmBr14= X-Google-Smtp-Source: APXvYqxccQCUNQSRqD6tLBZgs60xM7RNChATvQTxa2pdfz7vGDaxt9nwShvXWJ68iU/5xgMmRyWAlA== X-Received: by 2002:ac8:1205:: with SMTP id x5mr12160447qti.238.1583079991176; Sun, 01 Mar 2020 08:26:31 -0800 (PST) Original-Received: from LAPTOP-5NDQIUP9 (cbl-45-2-119-47.yyz.frontiernetworks.ca. [45.2.119.47]) by smtp.gmail.com with ESMTPSA id a18sm7615136qkg.48.2020.03.01.08.26.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Mar 2020 08:26:30 -0800 (PST) In-Reply-To: <87h7z86hs9.fsf@stefankangas.se> (Stefan Kangas's message of "Sun, 01 Mar 2020 01:27:34 +0100") 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:176727 Archived-At: Stefan Kangas writes: > David Kastrup writes: >> It does not make sense at all for Emacs to ask >> >> smob-convert.sh changed on disk; really edit the buffer? (y, n, r or C-h) y >> >> as a reply to me typing C-x C-s since C-x C-s is _not_ a request to edit >> the buffer. It is a request to save the file _after_ editing the >> buffer, and I already discussed the consequences of editing and saving >> with Emacs previously. > Maybe something has changed since you reported this, because I'm > seeing the following messages: > > (New file) > Saving file /tmp/foo.txt... > Wrote /tmp/foo.txt > foo.txt 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. > Saving file /tmp/foo.txt... > foo.txt has changed since visited or saved. Save anyway? (y or n) y > > This makes a lot of sense to me. The prompts are really about two > different things, which seems to now be fully clear. > > Given the above, I don't see any need to do any further changes here. > I'll close this bug in a couple of weeks unless there is more to > discuss. I would agree with you that the second question is now more clear, but I think the first question shouldn't be asked in this case, since there was no edit attempt (as described in the original report).