Path: utzoo!attcan!uunet!yale!Ram-Ashwin From: Ram-Ashwin@cs.yale.edu (Ashwin Ram) Newsgroups: comp.emacs Subject: Re: how to change backup file names? Message-ID: <47991@yale-celray.yale.UUCP> Date: 19 Jan 89 18:41:11 GMT References: <2926@uvacs.cs.Virginia.EDU> <8776@megaron.arizona.edu> Sender: root@yale.UUCP Reply-To: Ram-Ashwin@cs.yale.edu (Ashwin Ram) Organization: Computer Science, Yale University, New Haven, CT 06520-2158 Lines: 24 In-reply-to: mike@arizona.edu (Mike Coffin) In article <8776@megaron.arizona.edu>, mike@arizona.edu (Mike Coffin) writes: > From article <2926@uvacs.cs.Virginia.EDU>, by pausch@uvacs.cs.Virginia.EDU (Randy Pausch): > > Is there any way to change the way GNUemacs names backup files? > > Yes. Change the function find-backup-file-name to do whatever you > want. Hmmm... an 'apropos' on 'backup' reveals: find-backup-file-name: Find a file name for a backup file, and suggestions for deletions. Value is a list whose car is the name for the backup file and whose cdr is a list of old versions to consider deleting now. and: make-backup-file-name: Create the non-numeric backup file name for FILE. This is a separate function so you can redefine it for customization. Why are there two functions? Does one call the other? Which is the right one to redefine for customization? -- Ashwin.