From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13522: 24.2; save-buffer removes edited file under some conditions Date: Mon, 14 Mar 2022 14:43:14 +0100 Message-ID: <87sfrkwsy5.fsf@gnus.org> References: <87622qaszq.fsf@xvii.vinc17.org> <8735jkye2q.fsf@gnus.org> <83mthsk63c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9213"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 13522@debbugs.gnu.org, vincent@vinc17.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 14 15:46:09 2022 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 1nTlxZ-0002C2-7W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 15:46:09 +0100 Original-Received: from localhost ([::1]:33928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTlxX-0006GN-U6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Mar 2022 10:46:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTkzS-0008MT-2w for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2022 09:44:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTkzR-0002qZ-Py for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2022 09:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nTkzR-0001J3-Kr for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2022 09:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Mar 2022 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13522 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 13522-submit@debbugs.gnu.org id=B13522.16472654084971 (code B ref 13522); Mon, 14 Mar 2022 13:44:01 +0000 Original-Received: (at 13522) by debbugs.gnu.org; 14 Mar 2022 13:43:28 +0000 Original-Received: from localhost ([127.0.0.1]:44410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTkyt-0001I6-NY for submit@debbugs.gnu.org; Mon, 14 Mar 2022 09:43:27 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:42772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTkys-0001Hp-8b for 13522@debbugs.gnu.org; Mon, 14 Mar 2022 09:43:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=6p5HC5S2B+9RXBRSQmLwcRLJrnrb3RVTsBmSHiXWUx4=; b=O9HN7B/rDZDDACEFehw2FEldV/ CWA413smPxyiwFPji1+9Vad9geyu8LUjEiu4PMEiJ7PZFbsx2pV90WDoeCJx0b1KRc3+8iu8qq+G2 frSlIW3sPBfqZ/mJ5z4qvpfMBFgn7c5+cs6ljSWNOSfJAQGP82KecdBJkrgf6hE2XUw8=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nTkyi-0007C9-Gt; Mon, 14 Mar 2022 14:43:19 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVCMDimTFitl4L/ ///CA72vAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YDDg0mKrsLhn0AAAG5SURBVCjPPZBBa9tAEIWf hFfYe3KCFVIdA4XUv2JS7B5yWhmNIbq11CHVr9gcDMUny0TB9kkpspD2V3bWLh1YmI95896wwNIW J3euAripI5u30rp3IHIWm01b5R7CGj02p+QCznbq8bReuhzQAqtvpYADph0+mAbm6OHRYs1kkHvr O4u4zeih6GUidfNeZYFEw6LG8+Lpc+QqJ60NDhTzRu5BJ0mHSca5BxcMo1+x4aUch87V0csPksmq gmuKUfN9xsueGXCdbj6yUdWThEzrpD5xxYVPVDYp32Ju3VAgRFKWKTs38isCTR8UThOOWyRNH504 1w4Di6QruGhi/QeOwmSvuLll3cJZmxzG6tlU+g7XX7W2yrS7Uk9lMtQ2aOojhaG3Fs+fixb6WlK1 VmZldoXVIAxVYFa7Q2FD+YN7BCbd7fGvlDHlfmX/w+73kC69wPbcyddPAg8vZxnPAhK4R4wApAKk F1kNmgALrxnLiwXSV9/44RwgS2yuMBAHKHpAlY2h8i1jYEpak8BMzZGZV6q2sYDsUJZi9pZCPRGL +wIwIqOrTCBi+mQEYpENIsJEduYkoEKmL/QX+SqirXh/okEAAAAldEVYdGRhdGU6Y3JlYXRlADIw MjItMDMtMTRUMTM6Mzg6NDIrMDA6MDBrKBqBAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAzLTE0 VDEzOjM4OjQyKzAwOjAwGnWiPQAAAABJRU5ErkJggg== X-Now-Playing: Little Annie's _Soul Possession_: "Waiting For The Fun" In-Reply-To: <83mthsk63c.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Mar 2022 15:37:43 +0200") 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:228370 Archived-At: Eli Zaretskii writes: > Is it "C-c to kill Emacs" as in "terminate Emacs with a fatal signal", > or is it "C-x C-c" as in "exit Emacs in an orderly fashion"? > > If the former, then in general killing a program when it is in the > middle of writing files isn't guaranteed to preserve those files. It's the former (sort of). And, yes, we make no guarantees, but the present situation doesn't seem optimal. The user may well hit `C-z' at the prompt and wonder where the file disappeared to. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no