Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: tlug: file names that end with ~



>>>>> "Jim" == Jim Schweizer <schweiz@example.com> writes:

    Jim> Hi all, On 14-May-98 Jonathan Byrne - 3Web wrote:
    >> Are file names that end with a ~ leftover auto-save data from
    >> emacs/mule?

    Jim> Yes. (and xemacs)

    >> If so, why does it does it leave them behind, and why can't I
    >> seem to find any information on how to disable this most
    >> annoying of all features?

    Jim> If you do find the answer to disabling this, I'd love to hear
    Jim> about it. In the mean time:

    Jim> rm -i `find . -name \*~ 2>/dev/null`

    Jim> should take care of them:-)

M-x aproros auto

If you set auto-save-default in your .emacs to nil is won't save by
default:

M-x describe-variable auto-save-default

auto-save-default's value is 
t

Documentation:
*Non-nil says by default do auto-saving of every file-visiting buffer.

Although the files are sometimes annoying. I have found it much more
annoying to have wiped out a file by mistake and not have any backup.

Ignore the above, I think the parameter you really want is:

backup-inhibited's value is 
nil

Documentation:
Non-nil means don't make a backup, regardless of the other parameters.
This variable is intended for use by making it local to a buffer.
But it is local only if you make it local.


The auto-save is just that, it just flushes to disk. The backup
parameters are what make the ~ files, I think. Do a M-x apropos backup
and you see what you can do. 

You can do this from the "Help -> Customize -> Specific Group 'backup'
as well.

I have not tried any of this, you just got me curious....

Andy
--------------------------------------------------------------
Next Nomikai: 15 May Fri, 19:30 Tengu TokyoEkiMae 03-3275-3691
Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30
Featuring Stone and Turnbull on .rpm and .deb packages
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links