Re: Pop quiz - emacs backup stopping

From: Juhan Leemet (juhan_at_logicognosis.com)
Date: 09/23/04


Date: Wed, 22 Sep 2004 20:05:04 -0200

On Wed, 22 Sep 2004 09:38:57 +0000, Kilian A. Foth wrote:

> Stefan Viljoen <rylan@intekom.co.za> wrote:
>> Hi guys
>
>> How can I get emacs to stop making backups of all edited files?
>
>> What goes into .emacs to do this?
>
> Two things:
>
> 1. You want gnu.emacs for this, not comp.os.linux.misc
>
> 2. Never, ever, turn off automatic backup creation. You WILL rue it
> bitterly one day, and don't expect any sympathy then. If you're
> bothered by ugly backup file names cluttering your beautiful
> directories, simply centralize them to a hidden directory via the
> backup-dir package.

Yah! They have saved my bacon a few times. Maybe consider running a
periodic find script (from cron?) that goes through your directory tree
and removes old core files and old emacs backups (easy to recognize?).
There might be some other cleanup things you could add there.

Personally, I prefer to run the find manually, and then (only once I've
seen the list of files) I run it again with "-exec rm {} \;" added.

> That said, you could (setq make-backup-files nil). But don't say I
> didn't warn you.

-- 
Juhan Leemet
Logicognosis, Inc.


Relevant Pages

  • Re: [Emacs] lokale version in vc nicht loeschen
    ... Ich bearbeite mit dem Emacs CVS Dateien, ... Wie kann ich dem Emacs beibringen, ... Die automatischen Backups werden aber auch offline erzeugt. ...
    (de.comp.editoren)
  • [Emacs] lokale version in vc nicht loeschen
    ... Ich bearbeite mit dem Emacs CVS Dateien, ... Wie kann ich dem Emacs beibringen, ... Die automatischen Backups werden aber auch offline erzeugt. ...
    (de.comp.editoren)
  • Re: Emacs =?iso-8859-1?Q?ver=E4ndert?= Besitzer und Gruppe einer Datei
    ... Das Standardverhalten des Emacs (und vieler ... die alte Datei zu löschen oder in ein Backup ... Ownership des Erstellers zu erstellen. ... Stell halt Backups up, wenn Du die Folgen nicht haben willst. ...
    (de.comp.editoren)
  • Re: [ABANDONING:] Re: fedora equivalent of recovery disk
    ... making backups is one of the most crucial parts of maintaining a system. ... of the many beauties i have found with using tape is that they can be used ... help microsoft stamp out piracy - give linux to a friend today. ...
    (Fedora)
  • Re: OT: Mac Newsreader?
    ... smoke, don't wear seatbelts, etc., but I still shake my head ... equipment for making backups and keeping them current. ... If you do it more regularly, you'll end up spending more time making backups than you would reinstalling everything from scratch. ...
    (rec.arts.sf.written)