From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#18141: 24.4.50; saving .gz file breaks file coding Date: Thu, 7 Aug 2014 16:23:39 +0200 Message-ID: <20140807142338.GA5034@xvii.vinc17.org> References: <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; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1407421484 26473 80.91.229.3 (7 Aug 2014 14:24:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 14:24:44 +0000 (UTC) Cc: 18141@debbugs.gnu.org, yamaoka@jpl.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 16:24:37 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 1XFOc7-00006G-CJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 16:24:19 +0200 Original-Received: from localhost ([::1]:46790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFOc6-000206-V0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 10:24:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFObx-0001yz-OU for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 10:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFObq-00063e-SL for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 10:24:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFObq-00063Y-Ow for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 10:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XFObq-0007W0-DR for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 10:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Aug 2014 14:24:02 +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.140742142428863 (code B ref 18141); Thu, 07 Aug 2014 14:24:02 +0000 Original-Received: (at 18141) by debbugs.gnu.org; 7 Aug 2014 14:23:44 +0000 Original-Received: from localhost ([127.0.0.1]:34089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFObY-0007VS-3e for submit@debbugs.gnu.org; Thu, 07 Aug 2014 10:23:44 -0400 Original-Received: from ioooi.vinc17.net ([92.243.22.117]:54251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFObU-0007VF-Ni for 18141@debbugs.gnu.org; Thu, 07 Aug 2014 10:23:41 -0400 Original-Received: from smtp-xvii.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by ioooi.vinc17.net (Postfix) with ESMTPSA id 57BA862F; Thu, 7 Aug 2014 16:23:39 +0200 (CEST) Original-Received: by xvii.vinc17.org (Postfix, from userid 1000) id 17A3A21A07C; Thu, 7 Aug 2014 16:23:39 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6361-vl-r59709 (2014-07-25) 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:92258 Archived-At: On 2014-08-07 08:20:06 -0400, Stefan Monnier wrote: > > 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. It also depends on the file system. This is rather strange. > 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). I also wonder whether I should set make-backup-files to nil, for the same reason. I very rarely look in my backup directory. > >> 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). OK. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)