a question about evim

Paul Lussier p.lussier at comcast.net
Wed Jan 25 22:15:01 EST 2006


Jason Stephenson <jason at sigio.com> writes:

> Fred wrote:
>> ...
>> I use emacs extensively, and get annoyed with the backup files
>> too. So I wrote a bash script I run peroidically to copy *all* the
>> backup files in the directory tree to /tmp.
>
> All you need to get rid of the backup files in emacs is the following
> line in your .emacs file:
>
> (setq make-backup-files nil)
>
> You can also do this interactively, but the keystrokes are rather arcane. ;)

How so?  M-: (setq make-backup-files nil)

Hmm, I wonder what the difference between (setq make-backup-files nil)
and (setq version-control "never") is...

Ahh, I see.  version-control determines whether or not you get
multiple backup files with version numbering like foo.txt.~1~ and
foo.txt.~2~.  So having version-control set to nil means I can still
get foo.txt~, but won't get the version numbered files.  Setting
make-backup-files to nil means I don't even get the simple backup file.

And note that neither of these options affects auto-save, which in
most cases should *NOT* be disabled :)
-- 

Seeya,
Paul



More information about the gnhlug-discuss mailing list