From: Roy Smith <roy@panix.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Making a backup file on every buffer save?
Date: Mon, 2 May 2011 08:32:19 -0700 (PDT) [thread overview]
Message-ID: <ff406a1b-3e68-4bfc-8fe8-f25d7d58bb73@m4g2000yqb.googlegroups.com> (raw)
In-Reply-To: 87zkn5dvh1.fsf@dpt-info.u-strasbg.fr
On May 2, 10:32 am, Alain Ketterlin <al...@dpt-info.u-strasbg.fr>
wrote:
> Roy Smith <r...@panix.com> 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.
Oh, duh. I just didn't read far enough. Thanks for pointing that
out!
prev parent reply other threads:[~2011-05-02 15:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 14:17 Making a backup file on every buffer save? Roy Smith
2011-05-02 14:32 ` Alain Ketterlin
2011-05-02 15:32 ` Roy Smith [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff406a1b-3e68-4bfc-8fe8-f25d7d58bb73@m4g2000yqb.googlegroups.com \
--to=roy@panix.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).