all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kester Clegg <kester@cs.york.ac.uk>
Subject: Re: Coping with backup~ file proliferation
Date: 03 Dec 2002 15:56:34 +0000	[thread overview]
Message-ID: <yqrsmxfumdp.fsf@cs.york.ac.uk> (raw)
In-Reply-To: mailman.1038929045.22581.help-gnu-emacs@gnu.org

Jérôme Marant   <marant.logatique@fr.thalesgroup.com> writes:

[...]

> >I use Emacs for all my text editing, and I like it a lot, but one
> >thing that gets on my nerves is when my directories become littered
> >with backup files (like foo~).  How can I reduce the numbers of calls
> >to

[...]

> 
> (setq make-backup-files nil)
> 

Or you can stick files of a type into one place, or put all your backups
in one place:

backup-directory-alist

Documentation:
Alist of filename patterns and backup directory names.
Each element looks like (REGEXP . DIRECTORY).  Backups of files with
names matching REGEXP will be made in DIRECTORY.  DIRECTORY may be
relative or absolute.  If it is absolute, so that all matching files
are backed up into the same directory, the file names in this
directory will be the full name of the file backed up with all
directory separators changed to `!' to prevent clashes.  This will not
work correctly if your filesystem truncates the resulting name.

For the common case of all backups going into one directory, the alist
should contain a single element pairing "." with the appropriate
directory name.

-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************

  parent reply	other threads:[~2002-12-03 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-03 14:59 Coping with backup~ file proliferation ginak
2002-12-03 15:23 ` Jérôme Marant
     [not found] ` <mailman.1038929045.22581.help-gnu-emacs@gnu.org>
2002-12-03 15:56   ` Kester Clegg [this message]
2002-12-03 16:16     ` ginak
2002-12-07  3:13 ` Miles Bader

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yqrsmxfumdp.fsf@cs.york.ac.uk \
    --to=kester@cs.york.ac.uk \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.