unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: Florian Lindner <Florian.Lindner@xgm.de>, help-gnu-emacs@gnu.org
Subject: Re: Change backup system
Date: Mon, 28 Jul 2008 22:18:15 +0200	[thread overview]
Message-ID: <87bq0h2260.fsf@tux.homenetwork> (raw)
In-Reply-To: <E5098B1D-BAB4-4D68-B2B3-8F64C78D9510@Web.DE> (Peter Dyballa's message of "Mon, 28 Jul 2008 21:57:05 +0200")

Peter Dyballa <Peter_Dyballa@Web.DE> 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




  reply	other threads:[~2008-07-28 20:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28 19:00 Change backup system Florian Lindner
2008-07-28 19:20 ` Evans Winner
2008-07-28 19:57 ` Peter Dyballa
2008-07-28 20:18   ` Thierry Volpiatto [this message]
2008-07-29  9:29 ` Xah
2008-07-29 18:12   ` Florian Lindner

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=87bq0h2260.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=Florian.Lindner@xgm.de \
    --cc=Peter_Dyballa@Web.DE \
    --cc=help-gnu-emacs@gnu.org \
    /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).