bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Stephan Lukits
Subject: Re: <filename> changed on disk; really edit the buffer?
Date: Thu, 08 Nov 2007 16:01:36 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Eli Zaretskii schrieb:
From: Stephan Lukits <address@hidden>
Date: Tue, 06 Nov 2007 16:36:31 +0100
Cc:
"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"

I'm stumped: the times are identical -- (18216 41981) in both cases.

Didn't you say that Emacs bitches about file being modified
immediately after you "C-x C-f" the file?

I said in http://groups.google.de/group/gnu.emacs.bug/msg/7c8c4bd5e77eb306

  "every few minutes I get this annoying question:
   <filename> changed on disk; really edit the buffer?

   I'm absolutely sure that no other program is using
   this file."


If it takes some time for it to complain, please wait until it
complains and evaluate these two expression then.

O.k.
After opening the file I get the attributes

(nil 1 5 5 (18227 8016) (18227 8016) (18206 2636) 3066 "-rw-rw-rw-" nil -16252 (6714 . 34723))

and nothing else happens.  Then I write a few words, wait until Emacs
does "Auto-saving..." and with the next character I try to type I get
the loved question:
".emacs changed on disk; really edit the buffer? (y, n, r or C-h)"

visited-file-modtime gives me then:
(18227 8016)

until next Tuesday, best regards
Stephan




reply via email to

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