From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alain Ketterlin Newsgroups: gmane.emacs.help Subject: Re: Making a backup file on every buffer save? Date: Mon, 02 May 2011 16:32:10 +0200 Organization: Universites Paris VI/Paris VII - France Message-ID: <87zkn5dvh1.fsf@dpt-info.u-strasbg.fr> References: <5ce8f81e-e392-4675-8cd9-9dbb5afadf78@x3g2000yqj.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1306268495 17178 80.91.229.12 (24 May 2011 20:21:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:21:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:21:30 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOy6b-0005nz-14 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:21:29 +0200 Original-Received: from localhost ([::1]:59170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOy6a-00009c-Ev for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:21:28 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!news.ecp.fr!jussieu.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: mob19.u-strasbg.fr Original-X-Trace: vishnu.jussieu.fr 1304346731 67631 130.79.6.148 (2 May 2011 14:32:11 GMT) Original-X-Complaints-To: usenet@vishnu.jussieu.fr Original-NNTP-Posting-Date: Mon, 2 May 2011 14:32:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:npCRNsn67sDDu3pDTiz82x2Dgi4= Original-Xref: usenet.stanford.edu gnu.emacs.help:186774 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81124 Archived-At: Roy Smith writes: > The docs say: > > "Emacs makes a backup for a file only the first time the file is > saved from a buffer. No matter how many times you subsequently save > the file, its backup remains unchanged. However, if you kill the > buffer and then visit the file again, a new backup file will be made." > > Is there any way to override this and get a backup file on every > buffer save? I'm using GNU Emacs 23.1.1. A few paragraphs later, the doc mentions that C-u C-u C-x C-s should do what you want (but I guess auto-save is supposed to solve the kind of problem you had). Or you can call make-backup explicitly. -- Alain.