[Top][All Lists]

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

Re: <filename> changed on disk; really edit the buffer?

From: martin rudalics
Subject: Re: <filename> changed on disk; really edit the buffer?
Date: Mon, 19 Nov 2007 10:13:34 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Actually it didn't work.  The only solution I found that seems to work
is to turn auto-save-default to nil, with the caveat that that gets
rid of auto-saving.  It looks like emacs auto-saves every 300
characters you type into the file; hence this is why it thinks the
file has changed on disk.

Please do two things:

(1) Emacs should not try to overwrite the actual file when autosaving.
For Stephan it was sufficient to leave `auto-save-visited-file-name' at
its default value nil.  Hence, make sure that the value of this variable
is nil.  If Emacs still overwrites the file you're editing there must be
some other reason.  Also, tell us all your customizations containing an
`auto-save-...' prefix.

(2) Post here the values of (file-attributes file) where file is the
name of the file visited by your buffer, and (visited-file-modtime) and
(verify-visited-file-modtime (current-buffer)) bothe evaluated in that
buffer.  Please evaluate these expressions twice: Once immediately after
visiting the file and a second time when Emacs asks you about autosaving.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]