From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sebyte Newsgroups: gmane.emacs.help Subject: Re: how to stop saving these files Date: Mon, 24 Nov 2003 19:45:49 +0000 Organization: Customer of PlusNet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1ftwb.12548$lm1.93195@wards.force9.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069704063 7424 80.91.224.253 (24 Nov 2003 20:01:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2003 20:01:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 24 21:01:01 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOMtI-0002g2-00 for ; Mon, 24 Nov 2003 21:01:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AONpZ-0004MQ-LZ for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Nov 2003 16:01:13 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!landlord!wards.force9.net.POSTED!not-for-mail User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Forwarded: for smolny.plus.com via NNTP Proxy Original-Lines: 20 Original-NNTP-Posting-Host: 212.159.3.244 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: wards.force9.net 1069703229 212.159.3.244 (Mon, 24 Nov 2003 19:47:09 GMT) Original-NNTP-Posting-Date: Mon, 24 Nov 2003 19:47:09 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:118603 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14546 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14546 > 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 backup ' 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