From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18141: 24.4.50; saving .gz file breaks file coding Date: Thu, 07 Aug 2014 08:20:06 -0400 Message-ID: References: <9pzjfrwvsl.fsf@fencepost.gnu.org> <83iom5ptwv.fsf@gnu.org> <20140806164316.GK4813@xvii.vinc17.org> <831tstplqs.fsf@gnu.org> <20140806190825.GL4813@xvii.vinc17.org> <83oavxo10t.fsf@gnu.org> <20140807003116.GM4813@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1407414089 25125 80.91.229.3 (7 Aug 2014 12:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 12:21:29 +0000 (UTC) Cc: 18141@debbugs.gnu.org, yamaoka@jpl.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 14:21:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XFMh7-0008Jk-UA for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 14:21:22 +0200 Original-Received: from localhost ([::1]:46166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFMh7-0000l4-GY for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 08:21:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFMgw-0000jo-T1 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 08:21:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFMgo-00017p-Q3 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 08:21:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFMgo-00017l-N4 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 08:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XFMgo-0004HC-1V for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Aug 2014 12:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18141 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18141-submit@debbugs.gnu.org id=B18141.140741401516358 (code B ref 18141); Thu, 07 Aug 2014 12:21:01 +0000 Original-Received: (at 18141) by debbugs.gnu.org; 7 Aug 2014 12:20:15 +0000 Original-Received: from localhost ([127.0.0.1]:33463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFMg2-0004Fl-Cp for submit@debbugs.gnu.org; Thu, 07 Aug 2014 08:20:15 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33719) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFMg0-0004FY-J1 for 18141@debbugs.gnu.org; Thu, 07 Aug 2014 08:20:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPAqyKr/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF44PaweEOASrA4NMIQ X-IPAS-Result: ArYGAIDvNVPAqyKr/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF44PaweEOASrA4NMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="82363902" Original-Received: from 192-171-34-171.cpe.pppoe.ca (HELO pastel.home) ([192.171.34.171]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Aug 2014 08:20:07 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BD98A60787; Thu, 7 Aug 2014 08:20:06 -0400 (EDT) In-Reply-To: <20140807003116.GM4813@xvii.vinc17.org> (Vincent Lefevre's message of "Thu, 7 Aug 2014 02:31:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92250 Archived-At: > Ctrl-C is safe with any correctly written software. Agreed. > It's more than 5 times as fast, thus very relevant. Agreed (I also use C-c on a regular basis to exit Emacs). > 1 GB costs 0.10 EUR per month, and I don't want to waste several > dozens of GB of backups (easily produced without clean-up). Once > becoming useless, backup files have no value. Note that in this specific case, the problem only happens if you ask Emacs to keep backups. I have set make-backup-files to nil many years ago and never looked back (all the files where it might matter are under some kind of VCS anyway). >> After r111638, the prompt is issued before backing up the file. > And that's a much more logical sequence. Indeed. The problem is that this is done by changing the moment at which the coding-system is chosen (and makes it "too early") instead of changing the moment at which the backup is made (which is the right thing to do, but requires more significant changes in the code). Stefan