From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Change backup system Date: Mon, 28 Jul 2008 22:18:15 +0200 Message-ID: <87bq0h2260.fsf@tux.homenetwork> References: <3d30c6e7-d266-4b5b-a397-b9180a0acd88@y21g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217276493 5518 80.91.229.12 (28 Jul 2008 20:21:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 20:21:33 +0000 (UTC) Cc: Florian Lindner , help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 22:22:22 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KNZEV-0003d5-AU for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 22:22:15 +0200 Original-Received: from localhost ([127.0.0.1]:35684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZDb-0002Qr-8H for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 16:21:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KNZDE-0002ND-0P for help-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:20:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KNZDC-0002JA-DL for help-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:20:55 -0400 Original-Received: from [199.232.76.173] (port=38316 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNZDC-0002Ih-2t for help-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:20:54 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.168]:50030) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KNZDB-000662-Pe for help-gnu-emacs@gnu.org; Mon, 28 Jul 2008 16:20:54 -0400 Original-Received: by ug-out-1314.google.com with SMTP id l31so74683ugc.48 for ; Mon, 28 Jul 2008 13:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=IH4WQyS4HpGLGOKI9V5Q3gJj5pLdnW2Bt7Kod10JngQ=; b=p65fckVJbycApH+s84XnW8TE1/pOiYdLa9/dOSmDcg0v2WAQ9Rt3UlF8UeRUhq9oTi sT6d7nMwpTj4CPdbzUtCD055xQ+I06Mm47aEkCJgeVEQnyglaOlp4/ohNkbm5r3fBJPl OJaI9l/ep7b04POkw0g9t7Z8fh9AqLO7h5gtM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=oq5iVOkaFvENKKOQ7yq1c3ylIBBUx/A64nGmyg03t91QBofdG5t1vhvXI3zQcjtUV6 POG7wvZXlpML2aPSG0GIqB1AnepSTcF9JWzw5KfyG1e/Y8VpQPfQfyECADVSOm9AobRx JdUm0z0JbIRKwF7YbJpCMgAlrzXkBZqPohp34= Original-Received: by 10.67.29.4 with SMTP id g4mr2563494ugj.73.1217276452003; Mon, 28 Jul 2008 13:20:52 -0700 (PDT) Original-Received: from tux.homenetwork ( [77.197.77.194]) by mx.google.com with ESMTPS id s1sm418246uge.20.2008.07.28.13.20.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 28 Jul 2008 13:20:50 -0700 (PDT) In-Reply-To: (Peter Dyballa's message of "Mon, 28 Jul 2008 21:57:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56001 Archived-At: Peter Dyballa writes: > Am 28.07.2008 um 21:00 schrieb Florian Lindner: > >> Can I configure Emacs like that? > > (setq auto-save-interval 125) > ;; Backups to central location > (setq make-backup-files t ; backup my files > backup-by-copying t ; don't clobber sym-links > ; backup-directory-alist '(("." . (concat (user-emacs- > directory "/Sicherungen")))) ; don't litter > delete-old-versions t > kept-new-versions 6 > kept-old-versions 2 > version-control t ; use versioned backups > vc-make-backup-files t ; make backups for cvs projects > vc-follow-symlinks t) > (setq backup-directory-alist '(("." . "~/.emacs.d/ > Sicherungen"))) ;don't litter And when you /su::/etc (for example) if you add that lines: ,---- | (setq tramp-backup-directory-alist backup-directory-alist) | (setq auto-save-file-name-transforms nil) `---- when you edit files in /etc you will have also the backups in your `backup-directory-alist' directory. -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France