all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephan Lukits <stephan.lukits@FernUni-Hagen.de>
To: gnu-emacs-bug@moderators.isc.org
Subject: Re: <filename> changed on disk; really edit the buffer?
Date: Thu, 08 Nov 2007 16:01:36 +0100	[thread overview]
Message-ID: <fgv8a9$2tq$1@tamarack.fernuni-hagen.de> (raw)
In-Reply-To: <mailman.3057.1194380790.18990.bug-gnu-emacs@gnu.org>

Eli Zaretskii schrieb:
>> From: Stephan Lukits <stephan.lukits@FernUni-Hagen.de>
>> 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




  parent reply	other threads:[~2007-11-08 15:01 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 15:26 <filename> changed on disk; really edit the buffer? Stephan Lukits
2007-10-30 20:16 ` Eli Zaretskii
2007-10-30 20:36 ` Jason Rumney
2007-10-30 22:15 ` martin rudalics
     [not found] ` <mailman.2766.1193775394.18990.bug-gnu-emacs@gnu.org>
2007-10-31 15:28   ` Stephan Lukits
2007-10-31 20:06     ` Eli Zaretskii
     [not found]     ` <mailman.2810.1193861188.18990.bug-gnu-emacs@gnu.org>
2007-11-06 15:36       ` Stephan Lukits
2007-11-06 20:26         ` Eli Zaretskii
2007-11-06 22:03         ` martin rudalics
     [not found]         ` <mailman.3057.1194380790.18990.bug-gnu-emacs@gnu.org>
2007-11-08 15:01           ` Stephan Lukits [this message]
2007-11-08 20:46             ` Eli Zaretskii
     [not found]             ` <mailman.3145.1194554809.18990.bug-gnu-emacs@gnu.org>
2007-11-12 15:39               ` Stephan Lukits
2007-11-12 21:09                 ` Eli Zaretskii
     [not found]                 ` <mailman.3374.1194901774.18990.bug-gnu-emacs@gnu.org>
2007-11-13  9:15                   ` Stephan Lukits
2007-11-13  9:18                     ` Jason Rumney
2007-11-13 11:34                       ` Lennart Borgman (gmail)
2007-11-13  9:51                     ` martin rudalics
     [not found]                     ` <mailman.3422.1194947662.18990.bug-gnu-emacs@gnu.org>
2007-11-13 10:12                       ` Stephan Lukits
2007-11-13 14:14                         ` martin rudalics
2007-11-18 13:00                           ` Richard Stallman
2007-11-19 12:46                             ` Jonathan Goldblatt
     [not found]                               ` <E1IuKHL-000080-4R@fencepost.gnu.org>
2007-11-20  4:58                                 ` jonathangoldblatt
2007-11-21 12:03                                   ` Richard Stallman
2007-11-21 12:55                                     ` jonathangoldblatt
2007-11-22 16:21                                       ` Richard Stallman
2007-11-21 17:47                                     ` martin rudalics
2007-11-22  8:22                                       ` Richard Stallman
     [not found]                           ` <mailman.3740.1195390867.18990.bug-gnu-emacs@gnu.org>
2007-11-20 15:36                             ` Stephan Lukits
2007-11-21 12:04                               ` Richard Stallman
     [not found]                               ` <mailman.3887.1195646697.18990.bug-gnu-emacs@gnu.org>
2007-11-21 20:15                                 ` Hallvard B Furuseth
     [not found]                       ` <mailman.3424.1194948672.18990.bug-gnu-emacs@gnu.org>
2007-11-18 19:12                         ` mdaily2002
2007-11-18 19:22                           ` mdaily2002
2007-11-19  9:13                             ` martin rudalics
     [not found]         ` <mailman.3060.1194386657.18990.bug-gnu-emacs@gnu.org>
2007-11-08 15:07           ` Stephan Lukits
2007-11-08 16:21             ` martin rudalics
     [not found] ` <mailman.2769.1193782517.18990.bug-gnu-emacs@gnu.org>
2007-10-31 15:58   ` Stephan Lukits
2007-10-31 18:34     ` martin rudalics
     [not found] ` <mailman.2770.1193784516.18990.bug-gnu-emacs@gnu.org>
2007-10-31 16:01   ` Stephan Lukits
     [not found] <mailman.2764.1193769505.18990.bug-gnu-emacs@gnu.org>
2007-11-01  2:28 ` Jim Dishaw
     [not found] ` <mailman.2828.1193900584.18990.bug-gnu-emacs@gnu.org>
2007-11-06 15:37   ` Stephan Lukits

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fgv8a9$2tq$1@tamarack.fernuni-hagen.de' \
    --to=stephan.lukits@fernuni-hagen.de \
    --cc=gnu-emacs-bug@moderators.isc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.