unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Steven Arntson <steven@stevenarntson.com>
To: help-gnu-emacs@gnu.org
Subject: Re: numbered backups
Date: Tue, 20 May 2014 20:00:43 -0700	[thread overview]
Message-ID: <877g5f96p0.fsf@stevenarntson.com> (raw)
In-Reply-To: 877g5fhn75.fsf@kuiper.lan.informatimago.com

"Pascal J. Bourguignon" <pjb@informatimago.com> writes:

> Steven Arntson <steven@stevenarntson.com> writes:
>
>> I know I read how to do this somewhere, but can't find it now. I'd like
>> emacs to name my backup files not as
>>
>> file.org.~1~
>> file.org.~2~
>>
>> but rather as
>>
>> file.org.~001~
>> file.org.~002~
>>
>> is there a variable I could call up from M-x customize to influence this
>> behavior?
>
> See the variable make-backup-file-name-function 
> and the function make-backup-file-name

This looks promising, but I'm too much of a beginner to accomplish much
with it! Under "value menu" for "Make Backup File Name Function" it asks
me, "Your function: ______". I don't know what to put there to achieve
my desired result.




  reply	other threads:[~2014-05-21  3:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1717.1400638422.1147.help-gnu-emacs@gnu.org>
2014-05-21  2:37 ` numbered backups Pascal J. Bourguignon
2014-05-21  3:00   ` Steven Arntson [this message]
     [not found]   ` <mailman.1721.1400641272.1147.help-gnu-emacs@gnu.org>
2014-05-21  4:14     ` Pascal J. Bourguignon
2014-05-21 16:21       ` Steven Arntson
2014-05-21  2:13 Steven Arntson
2014-05-21 17:26 ` Michael Heerdegen
2014-05-21 18:01   ` Steven Arntson
2014-05-21 20:27     ` Michael Heerdegen
2014-05-21 22:37       ` Steven Arntson

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=877g5f96p0.fsf@stevenarntson.com \
    --to=steven@stevenarntson.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).