From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roy Smith Newsgroups: gmane.emacs.help Subject: Re: Making a backup file on every buffer save? Date: Mon, 2 May 2011 08:32:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5ce8f81e-e392-4675-8cd9-9dbb5afadf78@x3g2000yqj.googlegroups.com> <87zkn5dvh1.fsf@dpt-info.u-strasbg.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306268536 17471 80.91.229.12 (24 May 2011 20:22:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:22:16 +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:22:13 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 1QOy7J-0006JG-6p for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:22:13 +0200 Original-Received: from localhost ([::1]:33396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOy7I-0001Wv-ML for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:22:12 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!m4g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 66.114.87.114 Original-X-Trace: posting.google.com 1304350339 14480 127.0.0.1 (2 May 2011 15:32:19 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 2 May 2011 15:32:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m4g2000yqb.googlegroups.com; posting-host=66.114.87.114; posting-account=dAOV_goAAABEUkqpkMcBZ68KkIzfCnsO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.57 Safari/534.24, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:186775 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:81127 Archived-At: On May 2, 10:32=A0am, Alain Ketterlin wrote: > Roy Smith writes: > > The docs say: > > > "Emacs makes a backup for a file only the first time the file is > > saved from a buffer. =A0No matter how many times you subsequently save > > the file, its backup remains unchanged. =A0However, 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? =A0I'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. Oh, duh. I just didn't read far enough. Thanks for pointing that out!