unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: sebyte <sdt133@netscape.net>
Subject: Re: how to stop saving these files
Date: Mon, 24 Nov 2003 19:45:49 +0000	[thread overview]
Message-ID: <1ftwb.12548$lm1.93195@wards.force9.net> (raw)
In-Reply-To: <bporis$gnb$1@mughi.cs.ubc.ca>

> emacs has been saving backup files in the same directory as the files 
> that I edit. The backup files have names like Friends.java~1.8.~. How 
> can I either
> a) stop emacs from creating theses backups at all?
> b) tell emacs to save them all in one place?

You could try simply adding this line to your .emcas :

(backup-directory-alist (quote (("." . "path/to/chosen/directory")))) 


but this is a custom-set-variable from my .emacs.

To do it using Custom, type 'M-x customize-group <RET> backup <RET>' and then 
find the backup-directory-alist variable and edit accordingly.  Ignore the bit 
about cons cell, scroll up and hit button 'set and save for future sessions' and 
you should be away.

sebyte

  parent reply	other threads:[~2003-11-24 19:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22 23:30 how to stop saving these files Lowell Kirsh
2003-11-23  7:59 ` Roodwriter
2003-11-24  8:13   ` Lowell Kirsh
2003-11-24 18:38     ` Kevin Rodgers
2003-11-24 19:45 ` sebyte [this message]
2003-11-24 22:44 ` Glenn Morris
2003-11-26 16:10 ` Lowell Gilbert

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='1ftwb.12548$lm1.93195@wards.force9.net' \
    --to=sdt133@netscape.net \
    /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).