|
From: | Stephan Lukits |
Subject: | Re: <filename> changed on disk; really edit the buffer? |
Date: | Tue, 06 Nov 2007 16:36:31 +0100 |
User-agent: | Thunderbird 1.5.0.7 (Windows/20060909) |
Eli Zaretskii schrieb:
From: Stephan Lukits <stephan.lukits@FernUni-Hagen.de> Date: Wed, 31 Oct 2007 16:28:55 +0100Cc:every few minutes I get this annoying question: <filename> changed on disk; really edit the buffer?Thank you for your report. What file is that? Or does this happen with any file that Emacs visits?It happens with any file that Emacs visits.Can you please show the values computed by (file-attributes FILE)
Here we go. The output of "M-x eval-expression RET" and "(file-attributes "~/.emacs") RET" is (nil 1 5 5 (18224 33856) (18216 41981) (18206 2636) 3042 "-rw-rw-rw-" nil -16252 (6714 . 34723))
and by (visited-file-modtime) the latter in the buffer that visits FILE? Please do this immediately after you visit the file with "C-x C-f FILE RET".
The output of "M-x eval-expression RET" and "(visited-file-modtime) RET" is (18216 41981) immediately after "C-x C-f ~/.emacs RET" best regards Stephan
[Prev in Thread] | Current Thread | [Next in Thread] |