From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephan Lukits Newsgroups: gmane.emacs.bugs Subject: Re: changed on disk; really edit the buffer? Date: Thu, 08 Nov 2007 16:01:36 +0100 Organization: FernUni Hagen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194534100 10214 80.91.229.12 (8 Nov 2007 15:01:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2007 15:01:40 +0000 (UTC) To: gnu-emacs-bug@moderators.isc.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 08 16:01:44 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iq8sy-0002g3-Ly for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2007 16:01:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iq8sn-0005ib-9q for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Nov 2007 10:01:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iq8s3-0005XV-Al for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2007 10:00:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iq8s1-0005VF-3k for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2007 10:00:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iq8s0-0005V3-T3 for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2007 10:00:36 -0500 Original-Received: from moderators.individual.net ([130.133.4.7]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iq8s0-0003Lv-7C for bug-gnu-emacs@gnu.org; Thu, 08 Nov 2007 10:00:36 -0500 Original-Received: from cl-mailhost.fernuni-hagen.de ([132.176.114.188]) by moderators.individual.net (Exim 4.67) for gnu-emacs-bug@moderators.isc.org with esmtp (envelope-from ) id <1Iq8rz-00054P-20>; Thu, 08 Nov 2007 16:00:35 +0100 Original-Received: from tamarack.fernuni-hagen.de ([132.176.114.82]) by cl-mailhost.FernUni-Hagen.de with esmtp (Exim 4.24) id 1Iq8ry-0005Qj-QR for gnu-emacs-bug@moderators.isc.org; Thu, 08 Nov 2007 16:00:34 +0100 Original-Received: from tamarack.fernuni-hagen.de (localhost [127.0.0.1]) by tamarack.fernuni-hagen.de (8.12.10+Sun/8.12.5) with ESMTP id lA8F0Qmr003007 for ; Thu, 8 Nov 2007 16:00:26 +0100 (CET) Original-Received: (from news@localhost) by tamarack.fernuni-hagen.de (8.12.10+Sun/8.12.5/Submit) id lA8F0PkK003004 for gnu-emacs-bug@moderators.isc.org; Thu, 8 Nov 2007 16:00:25 +0100 (CET) Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 65 Original-NNTP-Posting-Host: stz-eschw-67.fernuni-hagen.de Original-X-Trace: tamarack.fernuni-hagen.de 1194534025 3002 132.176.141.67 (8 Nov 2007 15:00:25 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: Thu, 8 Nov 2007 15:00:25 +0000 (UTC) User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: X-prewhitelist: your reply will pass through without greylisting X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16939 Archived-At: Eli Zaretskii schrieb: >> From: Stephan Lukits >> 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: 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